:orphan:
# PetscDualSpaceLagrangeGetUseMoments
Get the flag for using moment functionals
## Synopsis
```
#include "petscfe.h"
PetscErrorCode PetscDualSpaceLagrangeGetUseMoments(PetscDualSpace sp, PetscBool *useMoments)
```
Not Collective
## Input Parameter
- ***sp -*** The `PetscDualSpace`
## Output Parameter
- ***useMoments -*** Moment flag
## See Also
`PETSCDUALSPACELAGRANGE`, `PetscDualSpace`, `PetscDualSpaceLagrangeSetUseMoments()`
## Level
advanced
## Location
src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c
## Implementations
PetscDualSpaceLagrangeGetUseMoments_Lagrange in src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c)
[Index of all DUALSPACE routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)