#include "petscts.h" PetscErrorCode TSDiscGradUseGonzalez(TS ts,PetscBool flg)Not Collective
ts | - timestepping context | |
flg | - PETSC_TRUE to use the Gonzalez term |
-ts_discgrad_gonzalez <flg> | - use the Gonzalez term for the discrete gradient formulation |