Actual source code: isregall.c

petsc-3.5.2 2014-09-08
Report Typos and Errors
  2: #include <petsc-private/isimpl.h>     /*I  "petscis.h"  I*/
  3: PETSC_EXTERN PetscErrorCode ISCreate_General(IS);
  4: PETSC_EXTERN PetscErrorCode ISCreate_Stride(IS);
  5: PETSC_EXTERN PetscErrorCode ISCreate_Block(IS);

  9: /*@C
 10:   ISRegisterAll - Registers all of the index set components in the IS package.

 12:   Not Collective

 14:   Level: advanced

 16: .keywords: IS, register, all
 17: .seealso:  ISRegister(), ISRegisterDestroy()
 18: @*/
 19: PetscErrorCode  ISRegisterAll(void)
 20: {

 24:   ISRegisterAllCalled = PETSC_TRUE;

 26:   ISRegister(ISGENERAL, ISCreate_General);
 27:   ISRegister(ISSTRIDE,  ISCreate_Stride);
 28:   ISRegister(ISBLOCK,   ISCreate_Block);
 29:   return(0);
 30: }