35 #define T8_DTET_CHILDREN 8
38 #define T8_DTET_FACES 4
41 #define T8_DTET_FACE_CHILDREN 4
44 #define T8_DTET_CORNERS 4
48 #define T8_DTET_MAXLEVEL 21
51 #define T8_DTET_ROOT_LEN (1 << (T8_DTET_MAXLEVEL))
54 #define T8_DTET_LEN(l) (1 << (T8_DTET_MAXLEVEL - (l)))
57 #define T8_DTET_NUM_TYPES 6
61 #define T8_DTRI_ROOT_BY_DTET_ROOT (1 << (T8_DTRI_MAXLEVEL - T8_DTET_MAXLEVEL))
72 #ifdef T8_ENABLE_DEBUG
This data type stores a tetrahedron.
Definition: t8_dtet.h:71
t8_dtet_coord_t y
The y integer coordinate of the anchor node.
Definition: t8_dtet.h:83
t8_dtet_coord_t z
The z integer coordinate of the anchor node.
Definition: t8_dtet.h:84
t8_dtet_coord_t x
The x integer coordinate of the anchor node.
Definition: t8_dtet.h:82
int8_t level
The refinement level of the tetrahedron relative to the root at level 0.
Definition: t8_dtet.h:77
t8_dtet_type_t type
Type of the tetrahedron in 0, ..., 5.
Definition: t8_dtet.h:80
This is the administrative header file for t8code.
int32_t t8_dtet_coord_t
The coordinates of a tetrahedron are integers relative to the maximum refinement.
Definition: t8_dtet.h:67
int8_t t8_dtet_type_t
The type of a tetrahedron designates its position relative to the surrounding cube.
Definition: t8_dtet.h:64
struct t8_dtet t8_dtet_t
This data type stores a tetrahedron.