Actual source code: mocregis.c

petsc-3.13.6 2020-09-29
Report Typos and Errors
  1:  #include <petsc/private/characteristicimpl.h>

  3: PETSC_EXTERN PetscErrorCode CharacteristicCreate_DA(Characteristic);

  5: /*@C
  6:   CharacteristicRegisterAll - Registers all of the Krylov subspace methods in the Characteristic package.

  8:   Not Collective

 10:   Level: advanced

 12: .seealso:  CharacteristicRegisterDestroy()
 13: @*/
 14: PetscErrorCode CharacteristicRegisterAll(void)
 15: {

 19:   if (CharacteristicRegisterAllCalled) return(0);
 20:   CharacteristicRegisterAllCalled = PETSC_TRUE;

 22:   CharacteristicRegister(CHARACTERISTICDA,  CharacteristicCreate_DA);
 23:   return(0);
 24: }