Actual source code: isregall.c
petsc-3.3-p7 2013-05-11
2: #include <petsc-private/isimpl.h> /*I "petscis.h" I*/
3: EXTERN_C_BEGIN
4: extern PetscErrorCode ISCreate_General(IS);
5: extern PetscErrorCode ISCreate_Stride(IS);
6: extern PetscErrorCode ISCreate_Block(IS);
7: EXTERN_C_END
11: /*@C
12: ISRegisterAll - Registers all of the index set components in the IS package.
14: Not Collective
16: Input parameter:
17: . path - The dynamic library path
19: Level: advanced
21: .keywords: IS, register, all
22: .seealso: ISRegister(), ISRegisterDestroy(), ISRegisterDynamic()
23: @*/
24: PetscErrorCode ISRegisterAll(const char path[])
25: {
29: ISRegisterAllCalled = PETSC_TRUE;
31: ISRegisterDynamic(ISGENERAL, path, "ISCreate_General", ISCreate_General);
32: ISRegisterDynamic(ISSTRIDE, path, "ISCreate_Stride", ISCreate_Stride);
33: ISRegisterDynamic(ISBLOCK, path, "ISCreate_Block", ISCreate_Block);
34: return(0);
35: }