Revision 96cd9590182192387d171208b1d1e4a39b220612 authored by Lars Bilke on 04 March 2021, 12:52:59 UTC, committed by Lars Bilke on 04 March 2021, 12:52:59 UTC
1 parent 6b3b0bd
ElementSizeMetric.h
/**
* \file
* \author Karsten Rink
* \date 2011-03-17
* \brief Implementation of the AreaMetric class.
*
* \copyright
* Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#pragma once
#include "ElementQualityMetric.h"
namespace MeshLib
{
/**
* Calculates the quality of mesh elements based on length/area/volume
*/
class ElementSizeMetric : public ElementQualityMetric
{
public:
explicit ElementSizeMetric(Mesh const& mesh);
~ElementSizeMetric() override = default;
void calculateQuality() override;
private:
std::size_t calc1dQuality();
std::size_t calc2dQuality();
std::size_t calc3dQuality();
};
} // namespace MeshLib
Computing file changes ...