3D Aspect Ratios Metric Class More...
#include <Geometric_Metrics_3.h>
Public Member Functions | |
Aspect_Metric_3 () | |
Initialize a 3D Aspect Metric. More... | |
virtual void | compute (double atts[]) const |
Calculate the metric value on this element. More... | |
double | maxValue () const |
Get the maximum value for this metric. More... | |
double | minValue () const |
Get the minimum value for this metric. More... | |
void | getAspects (double &R, double &r, double &l) |
Get the geometric aspects. More... | |
Public Member Functions inherited from Geo_Metric_Base_3 | |
Geo_Metric_Base_3 () | |
virtual | ~Geo_Metric_Base_3 () |
virtual void | initialize (Vector_3< double > n[], int type) |
Initialize a 3D Geometric Metric by nodal coords and element type. More... | |
virtual void | initialize (Element_node_enumerator &ene) |
Initialize a 3D Geometric Metric by Element_node_enumerator. More... | |
Public Member Functions inherited from Metric | |
Metric () | |
virtual | ~Metric () |
Additional Inherited Members | |
Protected Member Functions inherited from Geo_Metric_Base_3 | |
void | compute_angles (double &min, double &max) const |
Compute min and max dihedral angles. More... | |
void | compute_aspects (double &R, double &r, double &l) const |
Compute circumradius, inradius, and shortest edge length. More... | |
Protected Attributes inherited from Geo_Metric_Base_3 | |
std::vector< Vector_3< double > > | v |
int | _type |
const COM::Pane * | _ene_pane |
int | _ene_i |
3D Aspect Ratios Metric Class
Definition at line 107 of file Geometric_Metrics_3.h.
|
inline |
|
virtual |
Calculate the metric value on this element.
atts[] | Computed value(s) placed here. |
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 hexahedron.
Implements Metric.
Definition at line 261 of file Geometric_Metrics_3.C.
Referenced by main().
|
inline |
Get the geometric aspects.
Definition at line 130 of file Geometric_Metrics_3.h.
References Geo_Metric_Base_3::compute_aspects().
Referenced by Rocmop::add_aspect_ratios().
|
virtual |
Get the maximum value for this metric.
Reimplemented from Geo_Metric_Base_3.
Definition at line 278 of file Geometric_Metrics_3.C.
Referenced by main().
|
virtual |
Get the minimum value for this metric.
Reimplemented from Geo_Metric_Base_3.
Definition at line 285 of file Geometric_Metrics_3.C.
Referenced by main().