# PetscDualSpaceGetAllData
Get all quadrature nodes from this space, and the matrix that sends quadrature node values to degree-of-freedom values 
## Synopsis
```
#include "petscfe.h" 
PetscErrorCode PetscDualSpaceGetAllData(PetscDualSpace sp, PetscQuadrature *allNodes, Mat *allMat)
```

## Input Parameter

- ***sp -*** The dualspace



## Output Parameters

- ***allNodes -*** A `PetscQuadrature` object containing all evaluation nodes
- ***allMat -*** A `Mat` for the node-to-dof transformation





## See Also
 `PetscQuadrature`, `PetscDualSpace`, `PetscDualSpaceCreate()`, `Mat`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/dualspace/interface/dualspace.c.html#PetscDualSpaceGetAllData">src/dm/dt/dualspace/interface/dualspace.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/dualspace/impls/lagrange/tutorials/ex1.c.html">src/dm/dt/dualspace/impls/lagrange/tutorials/ex1.c.html</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/dualspace/interface/dualspace.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)  
