#include "petscdmplex.h" #include "petscdmlabel.h" PetscErrorCode DMPlexFilter(DM dm, DMLabel cellLabel, PetscInt value, DM *subdm)
dm | - The original mesh | |
cellLabel | - The DMLabel marking cells contained in the new mesh | |
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().