2: #include <petsc/private/isimpl.h>
3: PETSC_EXTERN PetscErrorCode ISCreate_General(IS);
4: PETSC_EXTERN PetscErrorCode ISCreate_Stride(IS);
5: PETSC_EXTERN PetscErrorCode ISCreate_Block(IS);
7: /*@C
8: ISRegisterAll - Registers all of the index set components in the IS package.
10: Not Collective
12: Level: advanced
14: .keywords: IS, register, all
15: .seealso: ISRegister()
16: @*/
17: PetscErrorCode ISRegisterAll(void)
18: {
22: if (ISRegisterAllCalled) return(0);
23: ISRegisterAllCalled = PETSC_TRUE;
25: ISRegister(ISGENERAL, ISCreate_General);
26: ISRegister(ISSTRIDE, ISCreate_Stride);
27: ISRegister(ISBLOCK, ISCreate_Block);
28: return(0);
29: }