https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: ecd25f3de340c24a3bd7fc6fe8167793a635850f authored by Christoph Lehmann on 16 February 2023, 13:25:34 UTC
Merge branch 'fix-point-heat-source-notebook-type-setting' into 'master'
Tip revision: ecd25f3
EdgeRatioMetric.h
/**
 * \file
 * \author Thomas Fischer
 * \date   2011-03-03
 * \brief  Definition of the EdgeRatioMetric 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"
#include "MathLib/Point3d.h"

namespace MeshLib
{

/**
 * Calculates the quality of mesh elements based on the ratio between shortest and longest edge of an element
 */
struct EdgeRatioMetric final : public ElementQualityMetric
{
    using ElementQualityMetric::ElementQualityMetric;

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