PetscFECreateCellGeometry#

Populates the arrays in a PetscFEGeom for a single reference cell of a PetscFE.

Synopsis#

Not Collective

Input Parameters#

  • fe - the PetscFE whose dual-space DM provides the reference cell

  • quad - the quadrature at which to evaluate the geometry, or NULL to use the PetscFE’s own quadrature

Output Parameter#

  • cgeom - the PetscFEGeom populated with reference-cell coordinates, Jacobians, inverse Jacobians, and their determinants

Notes#

This does not create cgeom, it allocates the arrays within one

Free the storage with PetscFEDestroyCellGeometry().

See Also#

PetscFE, PetscFEGeom, PetscFEDestroyCellGeometry(), PetscFEGetQuadrature(), DMPlexComputeCellGeometryFEM()

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