26 for (std::size_t k(0); k < nElements; k++)
30 std::vector<MathLib::Point3d*> pnts(n_nodes);
31 std::copy_n(elem.
getNodes(), n_nodes, pnts.begin());
33 auto const& [min, max] = computeSqrEdgeLengthRange(elem);
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.
virtual unsigned getNumberOfBaseNodes() const =0
virtual Node *const * getNodes() const =0
Get array of element nodes.
std::vector< Element * > const & getElements() const
Get the element-vector for the mesh.
std::size_t getNumberOfElements() const
Get the number of elements.