TSDiscGradUseGonzalez#
Sets discrete gradient formulation with or without additional conservative terms. Without the flag, the discrete gradients timestepper is just backwards Euler
Synopsis#
#include "petscts.h"
PetscErrorCode TSDiscGradUseGonzalez(TS ts, PetscBool flg)
Not Collective
Input Parameters#
ts - timestepping context
flg -
PETSC_TRUE
to use the Gonzalez term
Options Database Key#
-ts_discgrad_gonzalez
- use the Gonzalez term for the discrete gradient formulation
See Also#
Level#
Intermediate
Location#
Implementations#
TSDiscGradUseGonzalez_DiscGrad in src/ts/impls/implicit/discgrad/tsdiscgrad.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages