#include /*I "petsccharacteristic.h" I*/ PETSC_EXTERN PetscErrorCode CharacteristicCreate_DA(Characteristic); /*@C CharacteristicRegisterAll - Registers all of the Krylov subspace methods in the Characteristic package. Not Collective Level: advanced .keywords: Characteristic, register, all .seealso: CharacteristicRegisterDestroy() @*/ PetscErrorCode CharacteristicRegisterAll(void) { PetscErrorCode ierr; PetscFunctionBegin; if (CharacteristicRegisterAllCalled) PetscFunctionReturn(0); CharacteristicRegisterAllCalled = PETSC_TRUE; ierr = CharacteristicRegister(CHARACTERISTICDA, CharacteristicCreate_DA);CHKERRQ(ierr); PetscFunctionReturn(0); }