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

3D Size-Shape Metric Class More...

#include <Algebraic_Metrics_3.h>

Inheritance diagram for Size_Shape_Metric_3:
Collaboration diagram for Size_Shape_Metric_3:

Public Member Functions

 Size_Shape_Metric_3 (double r_vol)
 Construct a 3D Size-Shape metric. More...
 
virtual void compute (double atts[]) const
 Calculate the metric value on this element. More...
 
- Public Member Functions inherited from Alg_Metric_Base_3
 Alg_Metric_Base_3 ()
 Constructor. More...
 
virtual ~Alg_Metric_Base_3 ()
 Virtual Destructor. More...
 
virtual void initialize (Vector_3< double > n[], int type)
 Initialize a 3D 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 ()
 

Private Attributes

double ref_vol
 

Additional Inherited Members

- Protected Member Functions inherited from Alg_Metric_Base_3
double compute_size (double ref_voume=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_3
double alpha [8]
 
J_Matrix A [8]
 
Matrix L [8]
 
int type_
 

Detailed Description

3D Size-Shape Metric Class

Definition at line 128 of file Algebraic_Metrics_3.h.

Constructor & Destructor Documentation

Size_Shape_Metric_3 ( double  r_vol)
inlineexplicit

Construct a 3D Size-Shape metric.

Parameters
r_areaThe reference volume for this element.

Definition at line 135 of file Algebraic_Metrics_3.h.

References ref_vol.

135 { ref_vol=r_vol; }

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 187 of file Algebraic_Metrics_3.C.

187  {
188  atts[0] = compute_size(ref_vol) * compute_shape();
189 }
double compute_size(double ref_voume=1.) const
Compute the size metric.
double compute_shape() const
Compute the shape metric.

Member Data Documentation

double ref_vol
private

Definition at line 144 of file Algebraic_Metrics_3.h.

Referenced by Size_Shape_Metric_3().


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