2D Algebraic Metric Base Class More...
#include <Algebraic_Metrics_2.h>
Public Member Functions | |
Alg_Metric_Base_2 () | |
Constructor. More... | |
virtual | ~Alg_Metric_Base_2 () |
Virtual Destructor. More... | |
virtual void | initialize (Vector_3< double > n[], int type) |
Initialize a 2D 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_area=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 [4] |
J_Matrix | A [4] |
Matrix | L [4] |
int | type_ |
Friends | |
std::ostream & | operator<< (std::ostream &, const Alg_Metric_Base_2 &) |
2D Algebraic Metric Base Class
This class is the base class for the implementation of the specific 2D algebraic metrics defined by Patrick Knupp in "Aglebraic Mesh Quality Metrics for Unstructured Initial Meshes"
Definition at line 42 of file Algebraic_Metrics_2.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_2.h.
|
protected |
Compute the shape metric.
Definition at line 117 of file Algebraic_Metrics_2.C.
References denom, i, and sqrt().
|
protected |
Compute the size metric.
ref_area | the ideal area for this element. |
Definition at line 104 of file Algebraic_Metrics_2.C.
|
protected |
Compute the skew metric.
Definition at line 135 of file Algebraic_Metrics_2.C.
References denom, i, and sqrt().
|
virtual |
Initialize a 2D Algebraic Metric.
n[] | Ordered set of nodal coordinates. |
type | Element type: TRI or QUAD |
Implements Metric.
Definition at line 79 of file Algebraic_Metrics_2.C.
Referenced by main().
|
virtual |
Implements Metric.
Definition at line 40 of file Algebraic_Metrics_2.C.
References A, COM_assertion_msg, i, j, n, and v.
|
inlinevirtual |
The maximum value for this metric.
Implements Metric.
Definition at line 67 of file Algebraic_Metrics_2.h.
Referenced by main().
|
inlinevirtual |
The minimum value for this metric.
Implements Metric.
Definition at line 70 of file Algebraic_Metrics_2.h.
Referenced by main().
|
friend |
Definition at line 175 of file Algebraic_Metrics_2.C.
|
protected |
Definition at line 88 of file Algebraic_Metrics_2.h.
Referenced by operator<<().
|
protected |
Definition at line 87 of file Algebraic_Metrics_2.h.
Referenced by operator<<().
|
protected |
Definition at line 89 of file Algebraic_Metrics_2.h.
Referenced by operator<<().
|
protected |
Definition at line 90 of file Algebraic_Metrics_2.h.
Referenced by operator<<().