# PetscQuadratureExpandComposite
Return a quadrature over the composite element, which has the original quadrature in each subelement 
## Synopsis
```
#include "petscdt.h" 
PetscErrorCode PetscQuadratureExpandComposite(PetscQuadrature q, PetscInt numSubelements, const PetscReal v0[], const PetscReal jac[], PetscQuadrature *qref)
```
Not collective


## Input Parameters

- ***q -*** The original `PetscQuadrature`
- ***numSubelements -*** The number of subelements the original element is divided into
- ***v0 -*** An array of the initial points for each subelement
- ***jac -*** An array of the Jacobian mappings from the reference to each subelement



## Output Parameters

- ***dim -*** The dimension



## Note
Together v0 and jac define an affine mapping from the original reference element to each subelement


## Fortran Note
Not available from Fortran




## See Also
 `PetscQuadrature`, `PetscFECreate()`, `PetscSpaceGetDimension()`, `PetscDualSpaceGetDimension()`

## Level
intermediate

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/interface/dt.c)


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