|
| t8_geometry_with_vertices (int dimension, std::string name) |
|
virtual | ~t8_geometry_with_vertices () |
| The destructor. More...
|
|
virtual void | t8_geom_load_tree_data (t8_cmesh_t cmesh, t8_gloidx_t gtreeid) |
| Update a possible internal data buffer for per tree data. More...
|
|
virtual bool | t8_geom_tree_negative_volume () const |
| Check if the currently active tree has a negative volume. More...
|
|
t8_geometry_type_t | t8_geom_get_type () const |
| Get the type of this geometry. More...
|
|
| t8_geometry (int dim, std::string name) |
|
virtual | ~t8_geometry () |
| The destructor. More...
|
|
virtual void | t8_geom_evaluate (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const double *ref_coords, const size_t num_coords, double *out_coords) const =0 |
| Maps points in the reference space \( [0,1]^\mathrm{dim} \to \mathbb{R}^3 \). More...
|
|
virtual void | t8_geom_evaluate_jacobian (t8_cmesh_t cmesh, t8_gloidx_t gtreeid, const double *ref_coords, const size_t num_coords, double *jacobian) const =0 |
| Compute the jacobian of the t8_geom_evaluate map at a point in the reference space \( [0,1]^\mathrm{dim} \). More...
|
|
virtual void | t8_geom_point_batch_inside_element (t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, const double *points, const int num_points, int *is_inside, const double tolerance) const |
| Query whether a batch of points lies inside an element. More...
|
|
int | t8_geom_get_dimension () const |
| Get the dimension of this geometry. More...
|
|
const std::string | t8_geom_get_name () const |
| Get the name of this geometry. More...
|
|
const size_t | t8_geom_get_hash () const |
|
|
t8_gloidx_t | active_tree |
|
t8_eclass_t | active_tree_class |
|
const double * | active_tree_vertices |
|
int | dimension |
| The dimension of reference space for which this is a geometry.
|
|
std::string | name |
| The name of this geometry.
|
|
size_t | hash |
| The hash of the name of this geometry.
|
|
◆ ~t8_geometry_with_vertices()
virtual t8_geometry_with_vertices::~t8_geometry_with_vertices |
( |
| ) |
|
|
inlinevirtual |
The destructor.
It does nothing but has to be defined since we may want to delete geometry that is actually inherited and providing an implementation for the destructor ensures that the destructor of the child class will be executed.
◆ t8_geom_get_type()
Get the type of this geometry.
- Returns
- The type.
Implements t8_geometry.
◆ t8_geom_load_tree_data()
Update a possible internal data buffer for per tree data.
This function is called before the first coordinates in a new tree are evaluated. In this implementation we use it to load the tree's vertex coordinates and class to the internal member variables active_tree_class and active_tree_vertices.
- Parameters
-
[in] | cmesh | The cmesh. |
[in] | gtreeid | The global tree. |
Implements t8_geometry.
Reimplemented in t8_geometry_lagrange, and t8_geometry_cad.
◆ t8_geom_tree_negative_volume()
bool t8_geometry_with_vertices::t8_geom_tree_negative_volume |
( |
| ) |
const |
|
virtual |
Check if the currently active tree has a negative volume.
- Returns
- True (non-zero) if the currently loaded tree has a negative volume. 0 otherwise.
Reimplemented from t8_geometry.
Reimplemented in t8_geometry_linear_axis_aligned.
The documentation for this struct was generated from the following files: