29 #ifndef __GEOMETRIC_METRICS_2_H__
30 #define __GEOMETRIC_METRICS_2_H__
58 virtual double maxValue()
const {
return 1.0; }
61 virtual double minValue()
const {
return 0.0; }
87 virtual void compute(
double atts[])
const;
111 virtual void compute(
double atts[])
const;
Geo_Metric_Base_2()
Constructor.
An adaptor for enumerating node IDs of an element.
2D Aspect Ratios Metric Class
virtual void compute(double atts[]) const
Calculate scaled R/r and R/l.
Vector_n max(const Array_n_const &v1, const Array_n_const &v2)
double maxValue() const
The maximum value for this metric.
double minValue() const
The minimum value for this metric.
2D Max and Min Angle Metric Class
2D Geometric Metric Base Class
double minValue() const
The minimum value for this metric.
void compute_angles(double &min, double &max) const
Compute the min and max angles.
virtual void compute(double atts[]) const
Calculate max and min angles.
virtual double minValue() const
The minimum value for this metric.
virtual void initialize(Vector_3< double > n[], int type)
Initialize a 2D Geometric Metric.
#define MOP_END_NAMESPACE
Angle_Metric_2()
Initialize a 2D Angle Metric.
Vector_n min(const Array_n_const &v1, const Array_n_const &v2)
Aspect_Metric_2()
Initialize an Aspect Ratio Metric.
double maxValue() const
The maximum value for this metric.
#define MOP_BEGIN_NAMESPACE
virtual double maxValue() const
The maximum value for this metric.
The Metric Base Class, from which algebraic and geometric metric clases are derived.
void compute_aspects(double &R, double &r, double &l) const
Compute the circumradius, inradius, and shortest edge length.