PetscFEDestroyCellGeometry — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscFEDestroyCellGeometry

Free the arrays inside a `PetscFEGeom` allocated by `PetscFECreateCellGeometry()`.

## Synopsis

    #include "petscfe.h"
    PetscErrorCode PetscFEDestroyCellGeometry(PetscFE fe, PetscFEGeom *cgeom)

Not Collective

## Input Parameters

- fe - the `PetscFE` (unused, kept for API symmetry with `PetscFECreateCellGeometry()`)

- cgeom - the `PetscFEGeom` whose owned arrays should be freed

## See Also

`PetscFE`, `PetscFEGeom`, `PetscFECreateCellGeometry()`

## Level

developer

## Location

src/dm/dt/fe/interface/fe.c

Index of all FE routines
Table of Contents for all manual pages
Index of all manual pages