petsc-3.7.5 2017-01-01
Report Typos and Errors

DMPlexInvertCell

This flips tetrahedron and hexahedron orientation since Plex stores them internally with outward normals. Other cells are left untouched.

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexInvertCell(PetscInt dim, PetscInt numCorners, int cone[])

Input Parameters

numCorners - The number of vertices in a cell
cone - The incoming cone

Output Parameter

cone -The inverted cone (in-place)

See Also

DMPlexGenerate()

Level:developer
Location:
src/dm/impls/plex/plexgenerate.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages