Actual source code: mfregis.c
1: #define PETSCMAT_DLL
3: #include ../src/mat/impls/mffd/mffdimpl.h
6: EXTERN PetscErrorCode MatMFFDCreate_DS(MatMFFD);
7: EXTERN PetscErrorCode MatMFFDCreate_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), MatMFFDCreate(),
22: MatMFFDSetType()
23: @*/
24: PetscErrorCode MatMFFDRegisterAll(const char *path)
25: {
29: MatMFFDRegisterAllCalled = PETSC_TRUE;
31: MatMFFDRegisterDynamic(MATMFFD_DS,path,"MatMFFDCreate_DS",MatMFFDCreate_DS);
32: MatMFFDRegisterDynamic(MATMFFD_WP,path,"MatMFFDCreate_WP",MatMFFDCreate_WP);
33: return(0);
34: }