MOAB: Mesh Oriented datABase  (version 5.4.1)
FauxAbsShapeMetric Class Reference
Inheritance diagram for FauxAbsShapeMetric:
Collaboration diagram for FauxAbsShapeMetric:

## Public Member Functions

std::string get_name () const
bool evaluate (const MsqMatrix< 2, 2 > &A, const MsqMatrix< 2, 2 > &W, double &result, MsqError &err)
Evaluate $$\mu(A,W)$$.
bool evaluate (const MsqMatrix< 3, 3 > &A, const MsqMatrix< 3, 3 > &W, double &result, MsqError &err)
Evaluate $$\mu(A,W)$$.

## Private Attributes

TShapeNB1 mMetric

## Detailed Description

Definition at line 40 of file AWQualityMetricTest.cpp.

## Member Function Documentation

 bool FauxAbsShapeMetric::evaluate ( const MsqMatrix< 2, 2 > & A, const MsqMatrix< 2, 2 > & W, double & result, MsqError & err )  [inline, virtual]

Evaluate $$\mu(A,W)$$.

Parameters:
 A 2x2 active matrix W 2x2 target matrix result Output: value of function
Returns:
false if function cannot be evaluated for given A and W (e.g. division by zero, etc.), true otherwise.

Reimplemented from MBMesquite::AWMetric.

Definition at line 49 of file AWQualityMetricTest.cpp.

References MBMesquite::inverse(), and mMetric.

    {
return mMetric.evaluate( A * inverse( W ), result, err );
}

 bool FauxAbsShapeMetric::evaluate ( const MsqMatrix< 3, 3 > & A, const MsqMatrix< 3, 3 > & W, double & result, MsqError & err )  [inline, virtual]

Evaluate $$\mu(A,W)$$.

Parameters:
 A 3x3 active matrix W 3x3 target matrix result Output: value of function
Returns:
false if function cannot be evaluated for given A and W (e.g. division by zero, etc.), true otherwise.

Reimplemented from MBMesquite::AWMetric.

Definition at line 53 of file AWQualityMetricTest.cpp.

References MBMesquite::inverse(), and mMetric.

    {
return mMetric.evaluate( A * inverse( W ), result, err );
}

 std::string FauxAbsShapeMetric::get_name ( ) const [inline, virtual]

Implements MBMesquite::AWMetric.

Definition at line 45 of file AWQualityMetricTest.cpp.

References mMetric.

    {
return mMetric.get_name();
}


## Member Data Documentation

 TShapeNB1 FauxAbsShapeMetric::mMetric [private]

Definition at line 42 of file AWQualityMetricTest.cpp.

List of all members.

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