3D Algebraic Metric Base Class More...
#include <Algebraic_Metrics_3.h>
Public Member Functions | |
Alg_Metric_Base_3 () | |
Constructor. More... | |
virtual | ~Alg_Metric_Base_3 () |
Virtual Destructor. More... | |
virtual void | initialize (Vector_3< double > n[], int type) |
Initialize a 3D Algebraic Metric. More... | |
virtual void | initialize (Element_node_enumerator &ene) |
virtual double | maxValue () const |
The maximum value for this metric. More... | |
virtual double | minValue () const |
The minimum value for this metric. More... | |
Public Member Functions inherited from Metric | |
Metric () | |
virtual | ~Metric () |
virtual void | compute (double atts[]) const =0 |
Compute the value of this metric. More... | |
Protected Member Functions | |
double | compute_size (double ref_voume=1.) const |
Compute the size metric. More... | |
double | compute_shape () const |
Compute the shape metric. More... | |
double | compute_skew () const |
Compute the skew metric. More... | |
Protected Attributes | |
double | alpha [8] |
J_Matrix | A [8] |
Matrix | L [8] |
int | type_ |
Friends | |
std::ostream & | operator<< (std::ostream &, const Alg_Metric_Base_3 &) |
3D Algebraic Metric Base Class
This class is the base class for the implementation of the specific 3D algebraic metrics defined by Patrick Knupp in "Aglebraic Mesh Quality Metrics for Unstructured Initial Meshes"
Definition at line 42 of file Algebraic_Metrics_3.h.
|
inline |
|
inlinevirtual |
Virtual Destructor.
Although the destructor does nothing, this member function must be declared since the class has other virtual functions.
Definition at line 55 of file Algebraic_Metrics_3.h.
|
protected |
Compute the shape metric.
Definition at line 141 of file Algebraic_Metrics_3.C.
References NTS::abs(), denom, i, Mesquite::pow(), and sqrt().
|
protected |
Compute the size metric.
ref_area | the ideal area for this element. |
Definition at line 122 of file Algebraic_Metrics_3.C.
References i.
|
protected |
Compute the skew metric.
Definition at line 158 of file Algebraic_Metrics_3.C.
References NTS::abs(), denom, i, Mesquite::pow(), and sqrt().
|
virtual |
Initialize a 3D Algebraic Metric.
n[] | Ordered set of nodal coordinates. |
type | Element type: TET or QUAD |
Implements Metric.
Definition at line 82 of file Algebraic_Metrics_3.C.
Referenced by main().
|
virtual |
Implements Metric.
Definition at line 40 of file Algebraic_Metrics_3.C.
|
inlinevirtual |
The maximum value for this metric.
Implements Metric.
Definition at line 67 of file Algebraic_Metrics_3.h.
Referenced by main().
|
inlinevirtual |
The minimum value for this metric.
Implements Metric.
Definition at line 70 of file Algebraic_Metrics_3.h.
Referenced by main().
|
friend |
Definition at line 199 of file Algebraic_Metrics_3.C.
|
protected |
Definition at line 88 of file Algebraic_Metrics_3.h.
Referenced by operator<<().
|
protected |
Definition at line 87 of file Algebraic_Metrics_3.h.
Referenced by operator<<().
|
protected |
Definition at line 89 of file Algebraic_Metrics_3.h.
Referenced by operator<<().
|
protected |
Definition at line 90 of file Algebraic_Metrics_3.h.
Referenced by operator<<().