petsc-3.14.6 2021-03-30
Report Typos and Errors

DMPlexCheckSkeleton

Check that each cell has the correct number of vertices

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexCheckSkeleton(DM dm, PetscInt cellHeight)

Input Parameters

dm - The DMPlex object
cellHeight - Normally 0

Notes

This is a useful diagnostic when creating meshes programmatically. Currently applicable only to homogeneous simplex or tensor meshes.

For the complete list of DMPlexCheck* functions, see DMSetFromOptions().

See Also

DMCreate(), DMSetFromOptions()

Level

developer

Location

src/dm/impls/plex/plex.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages