https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 1aaaaa410656a0ccfd4ae296529ce34fbce35a25 authored by Christoph Lehmann on 13 January 2023, 15:49:40 UTC
Merge branch 'separate-file-for-loc-asm-creation' into 'master'
Tip revision: 1aaaaa4
RadiusEdgeRatioMetric.h
/**
 * \file
 * \author Karsten Rink
 * \date   2014-09-02
 * \brief  Definition of the RadiusEdgeRatioMetric 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 ratio between
 * radius of the smallest enclosing sphere and the shortest element edge
 */
struct RadiusEdgeRatioMetric final : public ElementQualityMetric
{
    using ElementQualityMetric::ElementQualityMetric;

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