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

2D Skew Metric Class More...

#include <Algebraic_Metrics_2.h>

Inheritance diagram for Skew_Metric_2:
Collaboration diagram for Skew_Metric_2:

Public Member Functions

 Skew_Metric_2 ()
 
virtual void compute (double atts[]) const
 Calculate the metric value. More...
 
- Public Member Functions inherited from Alg_Metric_Base_2
 Alg_Metric_Base_2 ()
 Constructor. More...
 
virtual ~Alg_Metric_Base_2 ()
 Virtual Destructor. More...
 
virtual void initialize (Vector_3< double > n[], int type)
 Initialize a 2D Algebraic Metric. More...
 
virtual void initialize (Element_node_enumerator &ene)
 
virtual double maxValue () const
 The maximum value for this metric. More...
 
virtual double minValue () const
 The minimum value for this metric. More...
 
- Public Member Functions inherited from Metric
 Metric ()
 
virtual ~Metric ()
 

Additional Inherited Members

- Protected Member Functions inherited from Alg_Metric_Base_2
double compute_size (double ref_area=1.) const
 Compute the size metric. More...
 
double compute_shape () const
 Compute the shape metric. More...
 
double compute_skew () const
 Compute the skew metric. More...
 
- Protected Attributes inherited from Alg_Metric_Base_2
double alpha [4]
 
J_Matrix A [4]
 
Matrix L [4]
 
int type_
 

Detailed Description

2D Skew Metric Class

Definition at line 151 of file Algebraic_Metrics_2.h.

Constructor & Destructor Documentation

Skew_Metric_2 ( )
inline

Definition at line 155 of file Algebraic_Metrics_2.h.

155 {}

Member Function Documentation

void compute ( double  atts[]) const
virtual

Calculate the metric value.

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

Implements Metric.

Definition at line 167 of file Algebraic_Metrics_2.C.

Referenced by main().

167  {
168  atts[0] = compute_skew();
169 }
double compute_skew() const
Compute the skew metric.

Here is the caller graph for this function:


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