https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: ecc479762b0e9f3239436c2c70f96f4365a162a1 authored by Christoph Lehmann on 13 April 2023, 08:54:40 UTC
Merge branch 'matrix-output' into 'master'
Tip revision: ecc4797
SizeDifferenceMetric.h
/**
 * \file
 * \author Karsten Rink
 * \date   2015-03-24
 * \brief  Definition of the SizeDifferenceMetric class.
 *
 * \copyright
 * Copyright (c) 2012-2023, 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.
 */
struct SizeDifferenceMetric final : public ElementQualityMetric
{
    using ElementQualityMetric::ElementQualityMetric;

    void calculateQuality() override;
};
}  // namespace MeshLib
back to top