26 for (std::size_t k(0); k < nElements; k++)
28 Element const& elem(*elements[k]);
30 std::vector<MathLib::Point3d*> pnts(n_nodes);
31 std::copy_n(elem.
getNodes(), n_nodes, pnts.begin());
Calculation of a minimum bounding sphere for a vector of points.
Definition of the Node class.
Definition of the RadiusEdgeRatioMetric class.
double getRadius() const
Returns the radius of the sphere.
std::vector< double > _element_quality_metric
virtual Node *const * getNodes() const =0
Get array of element nodes.
virtual unsigned getNumberOfBaseNodes() const =0
std::vector< Element * > const & getElements() const
Get the element-vector for the mesh.
std::size_t getNumberOfElements() const
Get the number of elements.
std::pair< double, double > computeSqrEdgeLengthRange(Element const &element)
Compute the minimum and maximum squared edge length for this element.
void calculateQuality() override
Calculates the quality metric for each element of the mesh.