xref: /petsc/include/petscdmplextypes.h (revision 8999bf5398bc5cae87660315545a969de80d89b1)
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