1*26bd1501SBarry Smith #if !defined(PETSCDMPLEXTYPES_H) 2*26bd1501SBarry Smith #define PETSCDMPLEXTYPES_H 386fe8405SMatthew G. Knepley 486fe8405SMatthew G. Knepley /*E 586fe8405SMatthew G. Knepley DMPlexCellType - Common mesh celltypes 686fe8405SMatthew G. Knepley 786fe8405SMatthew G. Knepley Level: beginner 886fe8405SMatthew G. Knepley 986fe8405SMatthew G. Knepley Plex can handle any cell shape, but sometimes we have to determine things about a mesh that the user 1086fe8405SMatthew G. Knepley does not specify, and for this we have to make assumptions about the mesh. One very common assumption 1186fe8405SMatthew G. Knepley is that all cells in the mesh take a certain form. For example, in order to interpolate a mesh (create 1286fe8405SMatthew G. Knepley edges and faces automatically) we might assume that all cells are simples, or are tensor product cells. 1386fe8405SMatthew G. Knepley 1486fe8405SMatthew G. Knepley .seealso: DMDASetBoundaryType(), DMDACreate1d(), DMDACreate2d(), DMDACreate3d(), DMDACreate() 1586fe8405SMatthew G. Knepley E*/ 1686fe8405SMatthew G. Knepley typedef enum {DM_PLEX_CELLTYPE_SIMPLEX, DM_PLEX_CELLTYPE_TENSOR, DM_PLEX_CELLTYPE_UNKNOWN} DMPlexCellType; 1786fe8405SMatthew G. Knepley 1886fe8405SMatthew G. Knepley #endif 19