TSDGType#
Selects the discrete-gradient flavor used by TSDISCGRAD when integrating gradient-system ODEs
Synopsis#
#include <petscts.h>
typedef enum {
TS_DG_GONZALEZ,
TS_DG_AVERAGE,
TS_DG_NONE
} TSDGType;
Values#
TS_DG_GONZALEZ- Gonzalez’s mid-point-style discrete gradientTS_DG_AVERAGE- average vector field (AVF) discrete gradientTS_DG_NONE- do not apply a discrete gradient correction; the integrator falls back to a standard mid-point rule
See Also#
TS, TSDISCGRAD, TSDiscGradSetType(), TSDiscGradGetType(), TSDiscGradSetFormulation()
Level#
advanced
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages