:orphan: # PetscFEDestroy Destroys a `PetscFE` object ## Synopsis ``` #include "petscfe.h" PetscErrorCode PetscFEDestroy(PetscFE *fem) ``` Collective ## Input Parameter - ***fem -*** the `PetscFE` object to destroy ## See Also `PetscFE`, `PetscFEView()` ## Level beginner ## Location src/dm/dt/fe/interface/fe.c ## Examples src/dm/dt/dualspace/impls/lagrange/tutorials/ex2.c
src/dm/field/tutorials/ex1.c
src/dm/impls/plex/tutorials/ex8.c
src/dm/impls/swarm/tutorials/ex1.c
src/dm/impls/swarm/tutorials/ex1f90.F90
src/snes/tutorials/ex12.c
src/snes/tutorials/ex13.c
src/snes/tutorials/ex17.c
src/snes/tutorials/ex20.c
src/snes/tutorials/ex23.c
src/snes/tutorials/ex24.c
## Implementations PetscFEDestroy_Basic in src/dm/dt/fe/impls/basic/febasic.c
PetscFEDestroy_Composite in src/dm/dt/fe/impls/composite/fecomposite.c
PetscFEDestroy_OpenCL in src/dm/dt/fe/impls/opencl/feopencl.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/fe/interface/fe.c) [Index of all FE routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)