t8
UNKNOWN
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
|
This header provides the C interface to create a linear geometry. More...
#include <t8.h>
#include <t8_geometry/t8_geometry.h>
#include <t8_geometry/t8_geometry_with_vertices.h>
Go to the source code of this file.
Functions | |
t8_geometry_c * | t8_geometry_linear_new (int dim) |
Create a new linear geometry of a given dimension. More... | |
void | t8_geometry_linear_destroy (t8_geometry_c **geom) |
Destroy a linear geometry that was created with t8_geometry_linear_new. More... | |
This header provides the C interface to create a linear geometry.
void t8_geometry_linear_destroy | ( | t8_geometry_c ** | geom | ) |
Destroy a linear geometry that was created with t8_geometry_linear_new.
[in,out] | geom | A linear geometry. Set to NULL on output. |
t8_geometry_c* t8_geometry_linear_new | ( | int | dim | ) |
Create a new linear geometry of a given dimension.
The geometry is only all tree types and as many vertices as the tree type has. The vertices are saved via the t8_cmesh_set_tree_vertices function. Sets the dimension and the name to "t8_geom_linear_{dim}"
[in] | dim | 0 <= dimension <= 3. The dimension. |