Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Angle_Metric_3 Class Reference

3D Max and Min Angle Metric Class More...

#include <Geometric_Metrics_3.h>

Inheritance diagram for Angle_Metric_3:
Collaboration diagram for Angle_Metric_3:

Public Member Functions

 Angle_Metric_3 ()
 Initialize a 3D Angle 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...
 
- 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
 

Detailed Description

3D Max and Min Angle Metric Class

Definition at line 87 of file Geometric_Metrics_3.h.

Constructor & Destructor Documentation

Angle_Metric_3 ( )
inline

Initialize a 3D Angle Metric.

Definition at line 91 of file Geometric_Metrics_3.h.

91 {}

Member Function Documentation

void compute ( double  atts[]) const
virtual

Calculate the metric value on this element.

Parameters
atts[]Computed value(s) placed here.

Implements Metric.

Definition at line 249 of file Geometric_Metrics_3.C.

Referenced by Rocmop::add_aspect_ratios(), Rocmop::check_all_elem_quality(), Rocmop::check_marked_elem_quality(), main(), Rocmop::obtain_extremal_dihedrals(), Rocmop::perturb_stationary(), Rocmop::print_extremal_dihedrals(), Rocmop::print_mquality(), Rocmop::print_quality(), and Rocmop::smooth_vol_mesq_ng().

249  {
250  compute_angles(atts[0],atts[1]);
251 }
void compute_angles(double &min, double &max) const
Compute min and max dihedral angles.

Here is the caller graph for this function:

double maxValue ( ) const
virtual

Get the maximum value for this metric.

Reimplemented from Geo_Metric_Base_3.

Definition at line 253 of file Geometric_Metrics_3.C.

Referenced by main().

253  {
254 return 180.0;
255 }

Here is the caller graph for this function:

double minValue ( ) const
virtual

Get the minimum value for this metric.

Reimplemented from Geo_Metric_Base_3.

Definition at line 257 of file Geometric_Metrics_3.C.

Referenced by main().

257  {
258 return 0.0;
259 }

Here is the caller graph for this function:


The documentation for this class was generated from the following files: