Actual source code: mfregis.c

  1: #define PETSCMAT_DLL

 3:  #include ../src/mat/impls/mffd/mffdimpl.h

  6: EXTERN PetscErrorCode  MatCreateMFFD_DS(MatMFFD);
  7: EXTERN PetscErrorCode  MatCreateMFFD_WP(MatMFFD);

 12: /*@C
 13:   MatMFFDRegisterAll - Registers all of the compute-h in the MatMFFD package.

 15:   Not Collective

 17:   Level: developer

 19: .keywords: MatMFFD, register, all

 21: .seealso:  MatMFFDRegisterDestroy(), MatMFFDRegisterDynamic), MatCreateMFFD(), 
 22:            MatMFFDSetType()
 23: @*/
 24: PetscErrorCode  MatMFFDRegisterAll(const char *path)
 25: {

 29:   MatMFFDRegisterAllCalled = PETSC_TRUE;

 31:   MatMFFDRegisterDynamic(MATMFFD_DS,path,"MatCreateMFFD_DS",MatCreateMFFD_DS);
 32:   MatMFFDRegisterDynamic(MATMFFD_WP,path,"MatCreateMFFD_WP",MatCreateMFFD_WP);
 33:   return(0);
 34: }