29 #ifndef T8_FOREST_GEOMETRICAL_H
30 #define T8_FOREST_GEOMETRICAL_H
32 #include <sc_statistics.h>
68 const double *ref_coords,
const size_t num_coords,
double *coords_out,
69 const double *stretch_factors);
85 const double *ref_coords,
const size_t num_coords,
double *coords_out);
This structure is private to the implementation.
Definition: t8_forest_types.h:69
int32_t t8_locidx_t
A type for processor-local indexing.
Definition: t8.h:89
We define the coarse mesh of trees in this file.
struct t8_element t8_element_t
Opaque structure for a generic element, only used as pointer.
Definition: t8_element.h:42
double t8_forest_element_face_area(t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, int face)
Compute the area of an element's face if a geometry for this tree is registered in the forest's cmesh...
Definition: t8_forest_cxx.cxx:723
double t8_forest_element_volume(t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element)
Compute the volume of an element if a geometry for this tree is registered in the forest's cmesh.
Definition: t8_forest_cxx.cxx:556
double t8_forest_element_diam(t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element)
Compute the diameter of an element if a geometry for this tree is registered in the forest's cmesh.
Definition: t8_forest_cxx.cxx:436
void t8_forest_element_face_centroid(t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, int face, double centroid[3])
Compute the vertex coordinates of the centroid of an element's face if a geometry for this tree is re...
Definition: t8_forest_cxx.cxx:806
void t8_forest_element_from_ref_coords_ext(t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, const double *ref_coords, const size_t num_coords, double *coords_out, const double *stretch_factors)
Compute the coordinates of a point inside an element inside a tree.
Definition: t8_forest_cxx.cxx:395
void t8_forest_element_centroid(t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, double *coordinates)
Compute the coordinates of the centroid of an element if a geometry for this tree is registered in th...
Definition: t8_forest_cxx.cxx:473
void t8_forest_element_from_ref_coords(t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, const double *ref_coords, const size_t num_coords, double *coords_out)
Compute the coordinates of a point inside an element inside a tree.
Definition: t8_forest_cxx.cxx:428
void t8_forest_element_coordinate(t8_forest_t forest, t8_locidx_t ltree_id, const t8_element_t *element, int corner_number, double *coordinates)
Compute the coordinates of a given vertex of an element if a geometry for this tree is registered in ...
Definition: t8_forest_cxx.cxx:370
void t8_forest_element_face_normal(t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, int face, double normal[3])
Compute the normal vector of an element's face if a geometry for this tree is registered in the fores...
Definition: t8_forest_cxx.cxx:922