# TSDiscGradIsGonzalez
Checks flag for whether to use additional conservative terms in discrete gradient formulation for `TSDISCGRAD` 
## Synopsis
```
#include "petscts.h"   
PetscErrorCode TSDiscGradIsGonzalez(TS ts, PetscBool *gonzalez)
```
Not Collective


## Input Parameter

- ***ts -*** timestepping context



## Output Parameter

- ***gonzalez -*** `PETSC_TRUE` when using the Gonzalez term





## See Also
 [](chapter_ts), `TSDISCGRAD`, `TSDiscGradUseGonzalez()`, `TSDISCGRAD`

## Level
Advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/implicit/discgrad/tsdiscgrad.c.html#TSDiscGradIsGonzalez">src/ts/impls/implicit/discgrad/tsdiscgrad.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/implicit/discgrad/tsdiscgrad.c.html#TSDiscGradIsGonzalez_DiscGrad">TSDiscGradIsGonzalez_DiscGrad in src/ts/impls/implicit/discgrad/tsdiscgrad.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/impls/implicit/discgrad/tsdiscgrad.c)


[Index of all TS routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
