PetscFEGeomGetCellPoint — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscFEGeomGetCellPoint

Get the cell geometry for face `c` at point `p` as a `PetscFEGeom`

## Synopsis

    #include "petscfe.h"
    PetscErrorCode PetscFEGeomGetCellPoint(PetscFEGeom *geom, PetscInt c, PetscInt p, PetscFEGeom *pgeom)

## Input Parameters

- geom - `PetscFEGeom` object

- c - The face

- p - The point

## Output Parameter

- pgeom - The cell geometry of face `c` at point `p`

## Note

For affine geometries, this only copies to pgeom at point 0. Since we copy pointers into `pgeom`, nothing needs to be done with it afterwards.

## See Also

`PetscFEGeom()`, `PetscFEGeomRestoreChunk()`, `PetscFEGeomCreate()`

## Level

intermediate

## Location

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

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