#include "petscdmplex.h" PetscErrorCode DMPlexGetSimplexOrBoxCells(DM dm, PetscInt height, PetscInt *cStart, PetscInt *cEnd)
dm | - The DMPlex object | |
height | - The cell height in the Plex, 0 is the default |
cStart | - The first "normal" cell | |
cEnd | - The upper bound on "normal"" cells |
Note: This just gives the first range of cells found. If the mesh has several cell types, it will only give the first.