2D Aspect Ratios Metric Class More...
#include <Geometric_Metrics_2.h>
Public Member Functions | |
Aspect_Metric_2 () | |
Initialize an Aspect Ratio Metric. More... | |
virtual void | compute (double atts[]) const |
Calculate scaled R/r and R/l. More... | |
double | maxValue () const |
The maximum value for this metric. More... | |
double | minValue () const |
The minimum value for this metric. More... | |
Public Member Functions inherited from Geo_Metric_Base_2 | |
Geo_Metric_Base_2 () | |
Constructor. More... | |
virtual void | initialize (Vector_3< double > n[], int type) |
Initialize a 2D Geometric Metric. More... | |
virtual void | initialize (Element_node_enumerator &ene) |
Public Member Functions inherited from Metric | |
Metric () | |
virtual | ~Metric () |
Additional Inherited Members | |
Protected Member Functions inherited from Geo_Metric_Base_2 | |
void | compute_angles (double &min, double &max) const |
Compute the min and max angles. More... | |
void | compute_aspects (double &R, double &r, double &l) const |
Compute the circumradius, inradius, and shortest edge length. More... | |
Protected Attributes inherited from Geo_Metric_Base_2 | |
Vector_3< double > | v [4] |
int | type_ |
2D Aspect Ratios Metric Class
Definition at line 97 of file Geometric_Metrics_2.h.
|
inline |
|
virtual |
Calculate scaled R/r and R/l.
atts[] | R/r placed in atts[0], R/l in atts[1] |
Note that R/r and R/l are only implemented for simplical elements. This method will return -1 for both metrics if used on a quadrilateral.
Implements Metric.
Definition at line 120 of file Geometric_Metrics_2.C.
Referenced by main().
|
virtual |
The maximum value for this metric.
Reimplemented from Geo_Metric_Base_2.
Definition at line 133 of file Geometric_Metrics_2.C.
Referenced by main().
|
virtual |
The minimum value for this metric.
Reimplemented from Geo_Metric_Base_2.
Definition at line 137 of file Geometric_Metrics_2.C.
Referenced by main().