28 #ifndef T8_GEOMETRY_HELPERS_H
29 #define T8_GEOMETRY_HELPERS_H
35 void t8_geom_compute_linear_geometry (
t8_eclass_t tree_class,
38 const double *ref_coords,
39 double out_coords[3]);
50 const double *corner_values,
52 int interpolation_dim,
53 double *evaluated_function);
63 const double *tree_vertices,
64 int face_index,
int dim,
65 double *face_vertices);
75 const double *tree_vertices,
76 int edge_index,
int dim,
77 double *edge_vertices);
This is the administrative header file for t8code.
enum t8_eclass t8_eclass_t
This enumeration contains all possible element classes.
void t8_geom_get_face_vertices(t8_eclass_t tree_class, const double *tree_vertices, int face_index, int dim, double *face_vertices)
Copies the vertex coordinates of a tree face in zorder into a separate array.
Definition: t8_geometry_helpers.c:172
void t8_geom_linear_interpolation(const double *coefficients, const double *corner_values, int corner_value_dim, int interpolation_dim, double *evaluated_function)
Interpolates linearly between 2, bilinearly between 4 or trilineraly between 8 points.
Definition: t8_geometry_helpers.c:28
void t8_geom_get_edge_vertices(t8_eclass_t tree_class, const double *tree_vertices, int edge_index, int dim, double *edge_vertices)
Copies the vertex coordinates of a tree edge in zorder into a separate array.
Definition: t8_geometry_helpers.c:190