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

2D Shape Metric Class More...

#include <Algebraic_Metrics_2.h>

Inheritance diagram for Shape_Metric_2:
Collaboration diagram for Shape_Metric_2:

Public Member Functions

 Shape_Metric_2 ()
 Initialize a 2D Shape metric. More...
 
virtual void compute (double atts[]) const
 Calculate the shape 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 Shape Metric Class

Definition at line 94 of file Algebraic_Metrics_2.h.

Constructor & Destructor Documentation

Shape_Metric_2 ( )
inline

Initialize a 2D Shape metric.

Definition at line 98 of file Algebraic_Metrics_2.h.

98 {}

Member Function Documentation

void compute ( double  atts[]) const
virtual

Calculate the shape metric value.

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

Implements Metric.

Definition at line 155 of file Algebraic_Metrics_2.C.

Referenced by main().

155  {
156  atts[0] = compute_shape();
157 }
double compute_shape() const
Compute the shape metric.

Here is the caller graph for this function:


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