Actual source code: mocregis.c

petsc-3.11.4 2019-09-28
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: .keywords: Characteristic, register, all

 14: .seealso:  CharacteristicRegisterDestroy()
 15: @*/
 16: PetscErrorCode CharacteristicRegisterAll(void)
 17: {

 21:   if (CharacteristicRegisterAllCalled) return(0);
 22:   CharacteristicRegisterAllCalled = PETSC_TRUE;

 24:   CharacteristicRegister(CHARACTERISTICDA,  CharacteristicCreate_DA);
 25:   return(0);
 26: }