Commits

Anonymous committed d8e6e14

TSSDC: Add SDC Methods to petscts.h.

Comments (0)

Files changed (1)

include/petscts.h

 .seealso: TSSDCSetType(), TS, TSSDC
 J*/
 typedef enum {GAUSS_LEGENDRE=1,GAUSS_LOBATTO=2,CLENSHAW_CURTIS=3} TSSDCType;
+typedef enum {EXPLICIT=1,IMPLICIT=2,IMEX=3} TSSDCMethod;
 PETSC_EXTERN const char *const TSSDCTypes[];
+PETSC_EXTERN const char *const TSSDCMethods[];
 PETSC_EXTERN PetscErrorCode TSSDCGetType(TS ts,TSSDCType*);
 PETSC_EXTERN PetscErrorCode TSSDCSetType(TS ts,TSSDCType);
+PETSC_EXTERN PetscErrorCode TSSDCGetMethod(TS ts,TSSDCMethod*);
+PETSC_EXTERN PetscErrorCode TSSDCSetMethod(TS ts,TSSDCMethod);
 PETSC_EXTERN PetscErrorCode TSSDCSetNumNodes(TS,PetscInt);
 PETSC_EXTERN PetscErrorCode TSSDCGetNumNodes(TS,PetscInt*);
 PETSC_EXTERN PetscErrorCode TSSDCSetNumIterations(TS,PetscInt);