:orphan:
# PetscQuadratureDestroy
Destroys a `PetscQuadrature` object
## Synopsis
```
#include "petscdt.h"
PetscErrorCode PetscQuadratureDestroy(PetscQuadrature *q)
```
Collective
## Input Parameter
- ***q -*** The `PetscQuadrature` object
## See Also
`PetscQuadrature`, `PetscQuadratureCreate()`, `PetscQuadratureGetData()`
## Level
beginner
## Location
src/dm/dt/interface/dt.c
## Examples
src/dm/field/tutorials/ex1.c
src/ksp/ksp/tutorials/ex35.cxx
src/ksp/ksp/tutorials/ex36.cxx
src/ksp/ksp/tutorials/ex70.c
---
[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](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)