Function t8_forest_element_coordinate
Defined in File t8_forest_geometrical.h
Function Documentation
-
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 the forest’s cmesh.
- Parameters:
forest – [in] The forest.
ltree_id – [in] The forest local id of the tree in which the element is.
element – [in] The element.
corner_number – [in] The corner number, in Z-order, of the vertex which should be computed.
coordinates – [out] On input an allocated array to store 3 doubles, on output the x, y and z coordinates of the vertex.