# DMMoabFEMCreateQuadratureDefault
Create default quadrature rules for integration over an element with a given dimension and polynomial order (deciphered from number of element vertices). 
## Synopsis
```
#include "petscdt.h" 
#include "petscdmmoab.h"   
PetscErrorCode DMMoabFEMCreateQuadratureDefault(const PetscInt dim, const PetscInt nverts, PetscQuadrature *quadrature)
```

## Input Parameters


- ***PetscInt  dim   -*** the element dimension (1=EDGE, 2=QUAD/TRI, 3=HEX/TET)
- ***PetscInt nverts -*** the number of vertices in the physical element



## Output Parameter

- ***PetscQuadrature quadrature -*** the quadrature object with default settings to integrate polynomials defined over the element





## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/moab/dmmbfem.cxx.html#DMMoabFEMCreateQuadratureDefault">src/dm/impls/moab/dmmbfem.cxx</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex35.cxx.html">src/ksp/ksp/tutorials/ex35.cxx.html</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex36.cxx.html">src/ksp/ksp/tutorials/ex36.cxx.html</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/moab/dmmbfem.cxx)


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