t8
1.2.0
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
|
TODO: document this. More...
#include <t8.h>
Go to the source code of this file.
Data Structures | |
struct | t8_dtet |
This data type stores a tetrahedron. More... | |
Macros | |
#define | T8_DTET_CHILDREN 8 |
The number of children that a tetrahedron is refined into. | |
#define | T8_DTET_FACES 4 |
The number of faces of a tetrahedron. | |
#define | T8_DTET_FACE_CHILDREN 4 |
The number of children that a face is refined to. | |
#define | T8_DTET_CORNERS 4 |
The number of corners of a tetrahedron. | |
#define | T8_DTET_MAXLEVEL 21 |
The maximum refinement level allowed for a tetrahedron. More... | |
#define | T8_DTET_ROOT_LEN (1 << (T8_DTET_MAXLEVEL)) |
The length of the root tetrahedron in integer coordinates. | |
#define | T8_DTET_LEN(l) (1 << (T8_DTET_MAXLEVEL - (l))) |
The length of a tetrahedron at a given level in integer coordinates. | |
#define | T8_DTET_NUM_TYPES 6 |
The number of types of a tetrahedron. | |
#define | T8_DTRI_ROOT_BY_DTET_ROOT (1 << (T8_DTRI_MAXLEVEL - T8_DTET_MAXLEVEL)) |
The length of a triangle divided by the length of a tet. More... | |
Typedefs | |
typedef int8_t | t8_dtet_type_t |
The type of a tetrahedron designates its position relative to the surrounding cube. | |
typedef int32_t | t8_dtet_coord_t |
The coordinates of a tetrahedron are integers relative to the maximum refinement. | |
typedef struct t8_dtet | t8_dtet_t |
This data type stores a tetrahedron. | |
TODO: document this.
#define T8_DTET_MAXLEVEL 21 |
The maximum refinement level allowed for a tetrahedron.
Must be smaller or equal to T8_DTRI_MAXLEVEL.
#define T8_DTRI_ROOT_BY_DTET_ROOT (1 << (T8_DTRI_MAXLEVEL - T8_DTET_MAXLEVEL)) |
The length of a triangle divided by the length of a tet.
This is useful to convert boundary coordinates from tet to tri.