MOAB: Mesh Oriented datABase
(version 5.4.1)
|
#include <AWMetricNonBarrier.hpp>
Public Member Functions | |
virtual MESQUITE_EXPORT | ~AWMetricNonBarrier3D () |
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 80 of file AWMetricNonBarrier.hpp.
MBMesquite::AWMetricNonBarrier3D::~AWMetricNonBarrier3D | ( | ) | [virtual] |
Definition at line 43 of file AWMetricNonBarrier.cpp.
{}
bool MBMesquite::AWMetricNonBarrier3D::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 52 of file AWMetricNonBarrier.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; }