MOAB: Mesh Oriented datABase
(version 5.4.1)
|
#include <AWMetric.hpp>
Public Member Functions | |
virtual MESQUITE_EXPORT | ~AWMetric3D () |
virtual MESQUITE_EXPORT bool | evaluate (const MsqMatrix< 2, 2 > &A, const MsqMatrix< 2, 2 > &W, double &result, MsqError &err) |
Evaluate \(\mu(A,W)\). |
Definition at line 274 of file AWMetric.hpp.
MBMesquite::AWMetric3D::~AWMetric3D | ( | ) | [virtual] |
Definition at line 263 of file AWMetric.cpp.
{}
bool MBMesquite::AWMetric3D::evaluate | ( | const MsqMatrix< 2, 2 > & | A, |
const MsqMatrix< 2, 2 > & | W, | ||
double & | result, | ||
MsqError & | err | ||
) | [virtual] |
Evaluate \(\mu(A,W)\).
This method always returns an error for 3D-only metrics
Reimplemented from MBMesquite::AWMetric.
Definition at line 272 of file AWMetric.cpp.
References MSQ_SETERR, and MBMesquite::MsqError::UNSUPPORTED_ELEMENT.
{ MSQ_SETERR( err ) ( "2D target metric cannot be evaluated for volume elements", MsqError::UNSUPPORTED_ELEMENT ); return false; }