Function t8_geom_compute_linear_axis_aligned_geometry(t8_eclass_t, const double *, const double *, const size_t, double *)

Function Documentation

void t8_geom_compute_linear_axis_aligned_geometry(t8_eclass_t tree_class, const double *tree_vertices, const double *ref_coords, const size_t num_coords, double *out_coords)

Compute the linear, axis-aligned geometry of a tree at a given reference coordinate. This function is faster than t8_geom_compute_linear_geometry, but only works for axis-aligned trees of T8_ECLASS_LINE, T8_ECLASS_QUAD and T8_ECLASS_HEX.

Parameters:
  • tree_class[in] The eclass of the tree.

  • tree_vertices[in] Array with the tree vertex coordinates.

  • ref_coords[in] The reference coordinates of the point.

  • num_coords[in] Number of points to evaluate.

  • out_coords[out] The output coordinates.