1 #if !defined(PETSCDMPLEXTYPES_H) 2 #define PETSCDMPLEXTYPES_H 3 4 /*E 5 DMPlexShape - The domain shape used for automatic mesh creation. 6 7 Existing shapes include 8 $ DM_SHAPE_BOX - The tensor product of intervals in dimension d 9 $ DM_SHAPE_BOX_SURFACE - The surface of a box in dimension d+1 10 $ DM_SHAPE_BALL - The d-dimensional ball 11 $ DM_SHAPE_SPHERE - The surface of the (d+1)-dimensional ball 12 $ DM_SHAPE_CYLINDER - The tensor product of the interval and disk 13 14 Level: beginner 15 16 .seealso: DMPlexGetCellRefiner(), DMPlexSetCellRefiner(), DMRefine(), DMPolytopeType 17 E*/ 18 typedef enum {DM_SHAPE_BOX, DM_SHAPE_BOX_SURFACE, DM_SHAPE_BALL, DM_SHAPE_SPHERE, DM_SHAPE_CYLINDER, DM_SHAPE_UNKNOWN} DMPlexShape; 19 PETSC_EXTERN const char * const DMPlexShapes[]; 20 21 #endif 22