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