FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
FEAT::Geometry::MeshQualityHeuristic< Shape_ > Struct Template Reference

Helper class for computing heuristic mesh quality. More...

#include <mesh_quality_heuristic.hpp>

Static Public Member Functions

template<typename IdxType_ , typename VtxType_ >
static VtxType_::CoordType compute (const IdxType_ &idx, const VtxType_ &vtx)
 Computes minimum cell quality. More...
 
static String description ()
 Returns a descriptive String. More...
 

Detailed Description

template<typename Shape_>
struct FEAT::Geometry::MeshQualityHeuristic< Shape_ >

Helper class for computing heuristic mesh quality.

Template Parameters
Shape_Shape of the cells to compute the quality for

The exact type of quality indicator depends on this. This class is an empty generic template, all implementations are specializations in Shape_.

Author
Jordi Paul

Definition at line 28 of file mesh_quality_heuristic.hpp.

Member Function Documentation

◆ compute()

template<typename Shape_ >
template<typename IdxType_ , typename VtxType_ >
static VtxType_::CoordType FEAT::Geometry::MeshQualityHeuristic< Shape_ >::compute ( const IdxType_ &  idx,
const VtxType_ &  vtx 
)
static

Computes minimum cell quality.

Template Parameters
IdxType_The index set type
VtxType_The vertex set type
Parameters
[in]idxThe vertex at cell index set of the mesh.
[in]idxThe vertex set of the mesh.
Returns
A value between 0 and 1, 0 meaning degenerated cells and 1 means only pretty cells.

Referenced by FEAT::Control::Meshopt::MeshoptControlBase< DomainControl_ >::compute_mesh_quality().

◆ description()

template<typename Shape_ >
static String FEAT::Geometry::MeshQualityHeuristic< Shape_ >::description ( )
inlinestatic

Returns a descriptive String.

Returns
What quality indicator the class computes as String.

Definition at line 35 of file mesh_quality_heuristic.hpp.


The documentation for this struct was generated from the following file: