#include "petscfe.h" PetscErrorCode PetscFEGeomGetPoint(PetscFEGeom *geom, PetscInt c, PetscInt p, const PetscReal pcoords[], PetscFEGeom *pgeom)
geom | - PetscFEGeom object | |
c | - The cell | |
p | - The point | |
pcoords | - The reference coordinates of point p, or NULL |
pgeom | - The geometry of cell 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.
In the affine case, pgeom must have storage for the integration point coordinates in pgeom->v if pcoords is passed in.