t8
1.2.0
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
|
TODO: comment. More...
Go to the source code of this file.
Macros | |
#define | T8_MPI_ELEMENT_SHAPE_TYPE |
The MPI datatype used for t8_element_shape_t. More... | |
#define | T8_ELEMENT_SHAPE_MAX_FACES 6 |
The maximum number of boundary faces an element class can have. | |
#define | T8_ELEMENT_SHAPE_MAX_CORNERS 8 |
The maximum number of cornes a 3-dimensional element class can have. | |
Typedefs | |
typedef t8_eclass_t | t8_element_shape_t |
Type definition for the geometric shape of an element. More... | |
Functions | |
int | t8_element_shape_num_faces (int element_shape) |
The number of codimension-one boundaries of an element class. | |
int | t8_element_shape_max_num_faces (int element_shape) |
For each dimension the maximum possible number of faces of an element_shape of that dimension. | |
int | t8_element_shape_num_vertices (int element_shape) |
The number of vertices of an element class. | |
int | t8_element_shape_vtk_type (int element_shape) |
The vtk cell type for the element_shape. | |
int | t8_element_shape_vtk_corner_number (int element_shape, int index) |
Maps the t8code corner number of the element to the vtk corner number. | |
const char * | t8_element_shape_to_string (int element_shape) |
For each element_shape, the name of this class as a string. | |
int | t8_element_shape_compare (t8_element_shape_t element_shape1, t8_element_shape_t element_shape2) |
Compare two element_shapees of the same dimension as necessary for face neighbor orientation. More... | |
Variables | |
const int | t8_element_shape_max_num_corner [T8_ECLASS_MAX_DIM+1] |
TODO: comment.
#define T8_MPI_ELEMENT_SHAPE_TYPE |
The MPI datatype used for t8_element_shape_t.
typedef t8_eclass_t t8_element_shape_t |
Type definition for the geometric shape of an element.
Currently the possible shapes are the same as the possible element classes. I.e. T8_ECLASS_VERTEX, T8_ECLASS_TET, etc...
int t8_element_shape_compare | ( | t8_element_shape_t | element_shape1, |
t8_element_shape_t | element_shape2 | ||
) |
Compare two element_shapees of the same dimension as necessary for face neighbor orientation.
The implemented order is Triangle < Square in 2D and Tet < Hex < Prism < Pyramid in 3D.
[in] | element_shape1 | The first element_shape to compare. |
[in] | element_shape2 | The second element_shape to compare. |