MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Public Member Functions | |
std::string | get_name () const |
bool | evaluate (const MsqMatrix< 2, 2 > &T, double &result, MsqError &) |
Evaluate \(\mu(T)\). | |
bool | evaluate (const MsqMatrix< 3, 3 > &T, double &result, MsqError &) |
Evaluate \(\mu(T)\). | |
Static Public Member Functions | |
static double | grad (int r, int c) |
Definition at line 60 of file TMetricTest.cpp.
bool GradTestMetricRel::evaluate | ( | const MsqMatrix< 2, 2 > & | T, |
double & | result, | ||
MsqError & | err | ||
) | [inline, virtual] |
Evaluate \(\mu(T)\).
T | 2x2 relative measure matrix (typically A W^-1) |
result | Output: value of function |
Reimplemented from MBMesquite::TMetric.
Definition at line 73 of file TMetricTest.cpp.
References MBMesquite::grad(), and T.
Referenced by TMetricTest< Metric, DIM >::test_numerical_gradient_2D(), and TMetricTest< Metric, DIM >::test_numerical_gradient_3D().
bool GradTestMetricRel::evaluate | ( | const MsqMatrix< 3, 3 > & | T, |
double & | result, | ||
MsqError & | err | ||
) | [inline, virtual] |
Evaluate \(\mu(T)\).
T | 3x3 relative measure matrix (typically A W^-1) |
result | Output: value of function |
Reimplemented from MBMesquite::TMetric.
Definition at line 82 of file TMetricTest.cpp.
References MBMesquite::grad(), and T.
std::string GradTestMetricRel::get_name | ( | ) | const [inline, virtual] |
Implements MBMesquite::TMetric.
Definition at line 63 of file TMetricTest.cpp.
{ return "GradTest"; }
static double GradTestMetricRel::grad | ( | int | r, |
int | c | ||
) | [inline, static] |
Definition at line 68 of file TMetricTest.cpp.
Referenced by TMetricTest< Metric, DIM >::test_numerical_gradient_2D(), and TMetricTest< Metric, DIM >::test_numerical_gradient_3D().
{
return 3 * r + c + 1;
}