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>
#include <t8_schemes/t8_default/t8_default_line/t8_dline.h>
#include <t8_schemes/t8_default/t8_default_tri/t8_dtri.h>
Go to the source code of this file.
Data Structures | |
struct | t8_dprism |
Macros | |
#define | T8_DPRISM_CHILDREN 8 |
The number of children that a prism is refined into. | |
#define | T8_DPRISM_FACES 5 |
The number of faces of a prism. | |
#define | T8_DPRISM_CORNERS 6 |
The number of corners of a triangle. | |
#define | T8_DPRISM_MAXLEVEL 21 |
The maximum refinement level allowed for a prism. | |
#define | T8_DPRISM_ROOT_LEN (1 << (T8_DPRISM_MAXLEVEL)) |
The length of the root prism in integer coordinates. | |
#define | T8_DPRISM_LEN(l) (1 << (T8_DPRISM_MAXLEVEL - (l))) |
The length of a prism at a given level in integer coordinates. | |
#define | T8_DPRISM_ROOT_BY_QUAD_ROOT (1 << (P4EST_QMAXLEVEL - T8_DPRISM_MAXLEVEL)) |
The length of a prism divided by the length of a Quad. More... | |
#define | T8_DPRISM_ROOT_BY_DTRI_ROOT (1 << (T8_DTRI_MAXLEVEL - T8_DPRISM_MAXLEVEL)) |
The length of a prism divided by the length of a triangle. More... | |
#define | T8_DPRISM_ROOT_BY_DLINE_ROOT (1 << (T8_DLINE_MAXLEVEL - T8_DPRISM_MAXLEVEL)) |
The length of a prism divided by the length of a line. More... | |
Typedefs | |
typedef int32_t | t8_dprism_coord_t |
typedef struct t8_dprism | t8_dprism_t |
TODO: document this.
#define T8_DPRISM_ROOT_BY_DLINE_ROOT (1 << (T8_DLINE_MAXLEVEL - T8_DPRISM_MAXLEVEL)) |
The length of a prism divided by the length of a line.
This is useful to convert boundary coordinates from prism to triangle.
#define T8_DPRISM_ROOT_BY_DTRI_ROOT (1 << (T8_DTRI_MAXLEVEL - T8_DPRISM_MAXLEVEL)) |
The length of a prism divided by the length of a triangle.
This is useful to convert boundary coordinates from prism to triangle.
#define T8_DPRISM_ROOT_BY_QUAD_ROOT (1 << (P4EST_QMAXLEVEL - T8_DPRISM_MAXLEVEL)) |
The length of a prism divided by the length of a Quad.
This is useful to convert boundary coordinates from prism to quad.