1: #include <petsc/private/characteristicimpl.h> 3: PETSC_EXTERN PetscErrorCode CharacteristicCreate_DA(Characteristic); 5: /*@C 6: CharacteristicRegisterAll - Registers all of the methods in the `Characteristic` package. 8: Not Collective 10: Level: advanced 12: .seealso: [](chapter_ts), `CharacteristicRegisterDestroy()` 13: @*/ 14: PetscErrorCode CharacteristicRegisterAll(void) 15: { 16: if (CharacteristicRegisterAllCalled) return 0; 17: CharacteristicRegisterAllCalled = PETSC_TRUE; 19: CharacteristicRegister(CHARACTERISTICDA, CharacteristicCreate_DA); 20: return 0; 21: }