2: #include <../src/mat/impls/mffd/mffdimpl.h>
4: PETSC_EXTERN PetscErrorCode MatCreateMFFD_DS(MatMFFD);
5: PETSC_EXTERN PetscErrorCode MatCreateMFFD_WP(MatMFFD);
7: /*@C
8: MatMFFDRegisterAll - Registers all of the compute-h in the MatMFFD package.
10: Not Collective
12: Level: developer
14: .keywords: MatMFFD, register, all
16: .seealso: MatMFFDRegisterDestroy(), MatMFFDRegister(), MatCreateMFFD(),
17: MatMFFDSetType()
18: @*/
19: PetscErrorCode MatMFFDRegisterAll(void)
20: {
24: if (MatMFFDRegisterAllCalled) return(0);
25: MatMFFDRegisterAllCalled = PETSC_TRUE;
27: MatMFFDRegister(MATMFFD_DS,MatCreateMFFD_DS);
28: MatMFFDRegister(MATMFFD_WP,MatCreateMFFD_WP);
29: return(0);
30: }