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