xref: /petsc/include/petscdmplextypes.h (revision 1c6b1c55be879010da6afe086428f4b7cde27a38)
1 #if !defined(PETSCDMPLEXTYPES_H)
2 #define PETSCDMPLEXTYPES_H
3 
4 /*E
5   DMPlexCellType - Common mesh celltypes
6 
7   Level: beginner
8 
9   Plex can handle any cell shape, but sometimes we have to determine things about a mesh that the user
10   does not specify, and for this we have to make assumptions about the mesh. One very common assumption
11   is that all cells in the mesh take a certain form. For example, in order to interpolate a mesh (create
12   edges and faces automatically) we might assume that all cells are simples, or are tensor product cells.
13 
14 .seealso: DMDASetBoundaryType(), DMDACreate1d(), DMDACreate2d(), DMDACreate3d(), DMDACreate()
15 E*/
16 typedef enum {DM_PLEX_CELLTYPE_SIMPLEX, DM_PLEX_CELLTYPE_TENSOR, DM_PLEX_CELLTYPE_UNKNOWN} DMPlexCellType;
17 
18 #endif
19