1 #include <petsc/private/characteristicimpl.h>  /*I "petsccharacteristic.h" I*/
2 
3 PETSC_EXTERN PetscErrorCode CharacteristicCreate_DA(Characteristic);
4 
5 /*@C
6   CharacteristicRegisterAll - Registers all of the Krylov subspace methods in the Characteristic package.
7 
8   Not Collective
9 
10   Level: advanced
11 
12 .seealso:  CharacteristicRegisterDestroy()
13 @*/
CharacteristicRegisterAll(void)14 PetscErrorCode CharacteristicRegisterAll(void)
15 {
16   PetscErrorCode ierr;
17 
18   PetscFunctionBegin;
19   if (CharacteristicRegisterAllCalled) PetscFunctionReturn(0);
20   CharacteristicRegisterAllCalled = PETSC_TRUE;
21 
22   ierr = CharacteristicRegister(CHARACTERISTICDA,  CharacteristicCreate_DA);CHKERRQ(ierr);
23   PetscFunctionReturn(0);
24 }
25