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 methods in the `Characteristic` package. 7 8 Not Collective 9 10 Level: advanced 11 12 .seealso: [](ch_ts), `CharacteristicRegisterDestroy()` 13 @*/ CharacteristicRegisterAll(void)14PetscErrorCode CharacteristicRegisterAll(void) 15 { 16 PetscFunctionBegin; 17 if (CharacteristicRegisterAllCalled) PetscFunctionReturn(PETSC_SUCCESS); 18 CharacteristicRegisterAllCalled = PETSC_TRUE; 19 20 PetscCall(CharacteristicRegister(CHARACTERISTICDA, CharacteristicCreate_DA)); 21 PetscFunctionReturn(PETSC_SUCCESS); 22 } 23