Actual source code: mfregis.c
petsc-3.3-p7 2013-05-11
2: #include <../src/mat/impls/mffd/mffdimpl.h> /*I "petscmat.h" I*/
4: EXTERN_C_BEGIN
5: extern PetscErrorCode MatCreateMFFD_DS(MatMFFD);
6: extern PetscErrorCode MatCreateMFFD_WP(MatMFFD);
7: EXTERN_C_END
11: /*@C
12: MatMFFDRegisterAll - Registers all of the compute-h in the MatMFFD package.
14: Not Collective
16: Level: developer
18: .keywords: MatMFFD, register, all
20: .seealso: MatMFFDRegisterDestroy(), MatMFFDRegisterDynamic), MatCreateMFFD(),
21: MatMFFDSetType()
22: @*/
23: PetscErrorCode MatMFFDRegisterAll(const char *path)
24: {
28: MatMFFDRegisterAllCalled = PETSC_TRUE;
30: MatMFFDRegisterDynamic(MATMFFD_DS,path,"MatCreateMFFD_DS",MatCreateMFFD_DS);
31: MatMFFDRegisterDynamic(MATMFFD_WP,path,"MatCreateMFFD_WP",MatCreateMFFD_WP);
32: return(0);
33: }