Variable t8_element_centroid_ref_coords

Variable Documentation

const double t8_element_centroid_ref_coords[T8_ECLASS_COUNT][3] = {{0, 0, 0}, {0.5, 0, 0}, {0.5, 0.5, 0}, {2. / 3., 1. / 3., 0}, {0.5, 0.5, 0.5}, {0.75, 0.25, 0.5}, {2. / 3., 1. / 3., 0.5}, {0.6, 0.6, 0.2}}

This array holds the reference coordinates of the centroid of each element. It can e.g. be used with the t8_scheme::element_get_reference_coords function. Usage: t8_element_centroid_ref_coords[eclass][dimension]