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

#include <AWMetricBarrier.hpp>

+ Inheritance diagram for MBMesquite::AWMetricBarrier3D:
+ Collaboration diagram for MBMesquite::AWMetricBarrier3D:

Public Member Functions

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

Detailed Description

Definition at line 86 of file AWMetricBarrier.hpp.


Constructor & Destructor Documentation

Definition at line 43 of file AWMetricBarrier.cpp.

{}

Member Function Documentation

bool MBMesquite::AWMetricBarrier3D::evaluate ( const MsqMatrix< 2, 2 > &  A,
const MsqMatrix< 2, 2 > &  W,
double &  result,
MsqError err 
) [virtual]

Evaluate \(\mu(A,W)\).

This method always returns an error for 3D-only metrics

Reimplemented from MBMesquite::AWMetric.

Definition at line 52 of file AWMetricBarrier.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