#include "petscdmplex.h" #include "petscdmlabel.h" PetscErrorCode DMPlexCreateSubmesh(DM dm, DMLabel vertexLabel, PetscInt value, DM *subdm)
dm | - The original mesh | |
vertexLabel | - The DMLabel marking vertices contained in the surface | |
value | - The label value to use |
Note: This function produces a DMLabel mapping original points in the submesh to their depth. This can be obtained using DMPlexGetSubpointMap().
Level:developer
Location:src/dm/impls/plex/plexsubmesh.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages