MOAB: Mesh Oriented datABase  (version 5.2.1)
MBMesquite::TMetricNonBarrier3D Class Reference

#include <TMetricNonBarrier.hpp>

+ Inheritance diagram for MBMesquite::TMetricNonBarrier3D:
+ Collaboration diagram for MBMesquite::TMetricNonBarrier3D:

Public Member Functions

virtual MESQUITE_EXPORT ~TMetricNonBarrier3D ()
virtual MESQUITE_EXPORT bool evaluate (const MsqMatrix< 2, 2 > &T, double &result, MsqError &err)
 Evaluate \(\mu(T)\).

Detailed Description

Definition at line 74 of file TMetricNonBarrier.hpp.


Constructor & Destructor Documentation


Member Function Documentation

bool MBMesquite::TMetricNonBarrier3D::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 53 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;
}

List of all members.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines