MOAB: Mesh Oriented datABase  (version 5.4.1)
MBMesquite::TMetric2D Class Reference

#include <TMetric.hpp>

+ Inheritance diagram for MBMesquite::TMetric2D:
+ Collaboration diagram for MBMesquite::TMetric2D:

Public Member Functions

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

Detailed Description

Definition at line 237 of file TMetric.hpp.

Constructor & Destructor Documentation

Definition at line 243 of file TMetric.cpp.


Member Function Documentation

bool MBMesquite::TMetric2D::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 246 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;

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