MOAB: Mesh Oriented datABase  (version 5.3.1)
MBMesquite::TTau Class Reference

det(T) More...

#include <TTau.hpp>

+ Inheritance diagram for MBMesquite::TTau:
+ Collaboration diagram for MBMesquite::TTau:

Public Member Functions

virtual MESQUITE_EXPORT ~TTau ()
virtual MESQUITE_EXPORT std::string get_name () const
virtual MESQUITE_EXPORT bool evaluate (const MsqMatrix< 2, 2 > &T, double &result, MsqError &err)
 Evaluate \(\mu(T)\).
virtual MESQUITE_EXPORT bool evaluate (const MsqMatrix< 3, 3 > &T, double &result, MsqError &err)
 Evaluate \(\mu(T)\).

Detailed Description

det(T)

Intended for use in QualityAssessment only. If used elsewhere, analytical derivatives should probably be implemented.

Definition at line 46 of file TTau.hpp.


Constructor & Destructor Documentation

MBMesquite::TTau::~TTau ( ) [virtual]

Definition at line 39 of file TTau.cpp.

{}

Member Function Documentation

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

Evaluate \(\mu(T)\).

Parameters:
T2x2 relative measure matrix (typically A W^-1)
resultOutput: value of function
Returns:
false if function cannot be evaluated for given T (e.g. division by zero, etc.), true otherwise.

Reimplemented from MBMesquite::TMetric.

Definition at line 46 of file TTau.cpp.

References MBMesquite::det().

{
    result = det( T );
    return true;
}
bool MBMesquite::TTau::evaluate ( const MsqMatrix< 3, 3 > &  T,
double &  result,
MsqError err 
) [virtual]

Evaluate \(\mu(T)\).

Parameters:
T3x3 relative measure matrix (typically A W^-1)
resultOutput: value of function
Returns:
false if function cannot be evaluated for given T (e.g. division by zero, etc.), true otherwise.

Reimplemented from MBMesquite::TMetric.

Definition at line 52 of file TTau.cpp.

References MBMesquite::det().

{
    result = det( T );
    return true;
}
std::string MBMesquite::TTau::get_name ( ) const [virtual]

Implements MBMesquite::TMetric.

Definition at line 41 of file TTau.cpp.

{
    return "Tau";
}

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