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