29 #ifndef __ALGEBRAIC_METRICS_3_H__
30 #define __ALGEBRAIC_METRICS_3_H__
43 friend std::ostream &
operator<<(std::ostream &,
67 virtual double maxValue()
const {
return 1.0; }
70 virtual double minValue()
const {
return 0.0; }
104 virtual void compute(
double atts[])
const;
121 virtual void compute(
double atts[])
const;
141 virtual void compute(
double atts[])
const;
158 virtual void compute(
double atts[])
const;
175 virtual void compute(
double atts[])
const;
double compute_size(double ref_voume=1.) const
Compute the size metric.
virtual void compute(double atts[]) const
Calculate the metric value on this element.
An adaptor for enumerating node IDs of an element.
friend std::ostream & operator<<(std::ostream &, const Alg_Metric_Base_3 &)
virtual void compute(double atts[]) const
Calculate the metric value on this element.
virtual void compute(double atts[]) const
Calculate the metric value on this element.
virtual void compute(double atts[]) const
Calculate the metric value on this element.
Size_Skew_Metric_3(double r_vol)
Construct a 3D Size-Skew metric.
3D Size-Shape Metric Class
double compute_skew() const
Compute the skew metric.
Size_Metric_3(double r_vol)
Construct a 3D Size metric.
Shape_Metric_3()
Construct a 3D Shape metric.
3D Algebraic Metric Base Class
virtual void initialize(Vector_3< double > n[], int type)
Initialize a 3D Algebraic Metric.
3D Size-Skew Metric Class
Alg_Metric_Base_3()
Constructor.
#define MOP_END_NAMESPACE
virtual ~Alg_Metric_Base_3()
Virtual Destructor.
virtual void compute(double atts[]) const
Calculate the metric value on this element.
Skew_Metric_3()
Construc a 3D Skew Metric.
#define MOP_BEGIN_NAMESPACE
double compute_shape() const
Compute the shape metric.
Size_Shape_Metric_3(double r_vol)
Construct a 3D Size-Shape metric.
The Metric Base Class, from which algebraic and geometric metric clases are derived.
virtual double maxValue() const
The maximum value for this metric.
virtual double minValue() const
The minimum value for this metric.