# 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
 `PetscDualSpace`, `PetscDualSpaceLagrangeSetUseMoments()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c.html#PetscDualSpaceLagrangeGetUseMoments">src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c.html#PetscDualSpaceLagrangeGetUseMoments_Lagrange">PetscDualSpaceLagrangeGetUseMoments_Lagrange in src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c</A><BR>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
