#include "petscdmplex.h" PetscErrorCode DMPlexSnapToGeomModel(DM dm, PetscInt p, const PetscScalar mcoords[], PetscScalar gcoords[])Not collective
dm | - The DMPlex object | |
p | - The mesh point | |
mcoords | - A coordinate point lying on the mesh point |
gcoords | - The closest coordinate point on the geometry model associated with 'p' to the given point |
Note: Returns the original coordinates if no geometry model is found. Right now the only supported geometry model is EGADS.