DMPolytopeType#

This describes the polytope represented by each cell.

Synopsis#

While most operations only need the topology information in the DMPLEX, we must sometimes have the user specify a polytope. For instance, when interpolating from a cell-vertex mesh, the type of polytope can be ambiguous. Also, DMPLEX allows different symmetries of a prism cell with the same constituent points. Normally these types are automatically inferred and the user does not specify them.

See Also#

DM Basics, DM, DMPlexComputeCellTypes()

Level#

beginner

Location#

include/petscdmtypes.h

Examples#

src/dm/impls/plex/tutorials/ex11.c

Examples#

src/dm/impls/plex/tutorials/ex11.c

Examples#

src/ts/tutorials/ex11_sa.c

Examples#

src/dm/impls/plex/tutorials/ex11.c

Examples#

src/snes/tutorials/ex69.c
src/snes/tutorials/ex26.c
src/snes/tutorials/ex20.c
src/ts/tutorials/ex30.c
src/dm/impls/swarm/tutorials/ex1.c
src/snes/tutorials/ex24.c
src/ts/tutorials/ex76.c
src/ts/tutorials/ex77.c
src/snes/tutorials/ex36.c
src/dm/impls/plex/tutorials/ex11.c


Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages