Actual source code: mfregis.c

petsc-3.5.4 2015-05-23
Report Typos and Errors
  2: #include <../src/mat/impls/mffd/mffdimpl.h>   /*I  "petscmat.h"   I*/

  4: PETSC_EXTERN PetscErrorCode MatCreateMFFD_DS(MatMFFD);
  5: PETSC_EXTERN PetscErrorCode MatCreateMFFD_WP(MatMFFD);

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

 12:   Not Collective

 14:   Level: developer

 16: .keywords: MatMFFD, register, all

 18: .seealso:  MatMFFDRegisterDestroy(), MatMFFDRegister(), MatCreateMFFD(),
 19:            MatMFFDSetType()
 20: @*/
 21: PetscErrorCode  MatMFFDRegisterAll(void)
 22: {

 26:   MatMFFDRegisterAllCalled = PETSC_TRUE;

 28:   MatMFFDRegister(MATMFFD_DS,MatCreateMFFD_DS);
 29:   MatMFFDRegister(MATMFFD_WP,MatCreateMFFD_WP);
 30:   return(0);
 31: }