Revision 17a2a33724c2d2c51cdb2b5038f47babb8611a29 authored by Dmitry Yu. Naumov on 08 March 2021, 12:34:36 UTC, committed by Dmitry Yu. Naumov on 08 March 2021, 12:34:36 UTC
GMSH2OGS; extract boundary meshes See merge request ogs/ogs!3482
SizeDifferenceMetric.h
/**
* \file
* \author Karsten Rink
* \date 2015-03-24
* \brief Definition of the SizeDifferenceMetric 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 the difference of element
* size in comparison to the size of its neighbors.
*/
class SizeDifferenceMetric : public ElementQualityMetric
{
public:
explicit SizeDifferenceMetric(Mesh const& mesh);
~SizeDifferenceMetric() override = default;
void calculateQuality() override;
};
} // namespace MeshLib
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...