MOAB: Mesh Oriented datABase
(version 5.4.1)
|
#include <AWMetricNonBarrier.hpp>
Public Member Functions | |
virtual MESQUITE_EXPORT | ~AWMetricNonBarrier2D () |
virtual MESQUITE_EXPORT bool | evaluate (const MsqMatrix< 3, 3 > &A, const MsqMatrix< 3, 3 > &W, double &result, MsqError &err) |
Evaluate \(\mu(A,W)\). |
Definition at line 65 of file AWMetricNonBarrier.hpp.
MBMesquite::AWMetricNonBarrier2D::~AWMetricNonBarrier2D | ( | ) | [virtual] |
Definition at line 42 of file AWMetricNonBarrier.cpp.
{}
bool MBMesquite::AWMetricNonBarrier2D::evaluate | ( | const MsqMatrix< 3, 3 > & | A, |
const MsqMatrix< 3, 3 > & | W, | ||
double & | result, | ||
MsqError & | err | ||
) | [virtual] |
Evaluate \(\mu(A,W)\).
This method always returns an error for 2D-only metrics
Reimplemented from MBMesquite::AWMetric.
Definition at line 45 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; }