20 std::vector<Element*>
const& elements)
22 std::vector<double> element_edge_lengths(elements.size());
23 for (
auto const element : elements)
27 auto const& [min_edge_length, max_edge_length] =
29 (void)min_edge_length;
31 element_edge_lengths[element->getID()] = std::sqrt(max_edge_length);
34 return element_edge_lengths;
Definition of the Element class.
Definition of the Node class.
std::vector< double > getMaxiumElementEdgeLengths(std::vector< Element * > const &elements)
Returns the maximum lengths of the edges for each element.
std::pair< double, double > computeSqrEdgeLengthRange(Element const &element)
Compute the minimum and maximum squared edge length for this element.