Date: 2022-03-31T04:46:57+00:00

Actual source code: mfregis.c

      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: .seealso:  MatMFFDRegisterDestroy(), MatMFFDRegister(), MatCreateMFFD(),
     15:            MatMFFDSetType()
     16: @*/
     17: PetscErrorCode  MatMFFDRegisterAll(void)
     18: {
     19:   if (MatMFFDRegisterAllCalled) return 0;
     20:   MatMFFDRegisterAllCalled = PETSC_TRUE;

     22:   MatMFFDRegister(MATMFFD_DS,MatCreateMFFD_DS);
     23:   MatMFFDRegister(MATMFFD_WP,MatCreateMFFD_WP);
     24:   return 0;
     25: }