#include "petscdmplex.h" #include "petscfe.h" PetscErrorCode DMPlexCoordinatesToReference(DM dm, PetscInt cell, PetscInt numPoints, const PetscReal realCoords[], PetscReal refCoords[])Not collective
dm | - The mesh, with coordinate maps defined either by a PetscDS for the coordinate DM (see DMGetCoordinateDM()) or implicitly by the coordinates of the corner vertices of the cell: as an affine map for simplicial elements, or as a multilinear map for tensor-product elements | |
cell | - the cell whose map is used. | |
numPoints | - the number of points to locate | |
realCoords | - (numPoints x coordinate dimension) array of coordinates (see DMGetCoordinateDim()) |