MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Public Member Functions | |
PowerQualityMetricTest () | |
Protected Member Functions | |
virtual bool | evaluate (PatchData &, size_t, double &, MsqError &) |
Private Member Functions | |
CPPUNIT_TEST_SUITE (PowerQualityMetricTest< POWER >) | |
CPPUNIT_TEST (test_supported_types) | |
CPPUNIT_TEST (test_ideal_element_eval) | |
CPPUNIT_TEST (test_ideal_element_grad) | |
CPPUNIT_TEST (test_non_ideal_eval) | |
CPPUNIT_TEST (test_valid_hessian) | |
CPPUNIT_TEST (test_inverted_elements) | |
CPPUNIT_TEST (test_degenerate_elements) | |
CPPUNIT_TEST (test_get_evaluations) | |
CPPUNIT_TEST (test_get_element_indices) | |
CPPUNIT_TEST (test_get_fixed_indices) | |
CPPUNIT_TEST (test_eval_with_indices) | |
CPPUNIT_TEST (test_eval_with_gradient) | |
CPPUNIT_TEST (test_eval_with_hessian) | |
CPPUNIT_TEST_SUITE_END () | |
Private Attributes | |
IdealWeightInverseMeanRatio | m1 |
PowerQualityMetric | m |
Definition at line 328 of file CompositeMetricTest.cpp.
PowerQualityMetricTest< POWER >::PowerQualityMetricTest | ( | ) | [inline] |
PowerQualityMetricTest< POWER >::CPPUNIT_TEST | ( | test_supported_types | ) | [private] |
PowerQualityMetricTest< POWER >::CPPUNIT_TEST | ( | test_ideal_element_eval | ) | [private] |
PowerQualityMetricTest< POWER >::CPPUNIT_TEST | ( | test_ideal_element_grad | ) | [private] |
PowerQualityMetricTest< POWER >::CPPUNIT_TEST | ( | test_non_ideal_eval | ) | [private] |
PowerQualityMetricTest< POWER >::CPPUNIT_TEST | ( | test_valid_hessian | ) | [private] |
PowerQualityMetricTest< POWER >::CPPUNIT_TEST | ( | test_inverted_elements | ) | [private] |
PowerQualityMetricTest< POWER >::CPPUNIT_TEST | ( | test_degenerate_elements | ) | [private] |
PowerQualityMetricTest< POWER >::CPPUNIT_TEST | ( | test_get_evaluations | ) | [private] |
PowerQualityMetricTest< POWER >::CPPUNIT_TEST | ( | test_get_element_indices | ) | [private] |
PowerQualityMetricTest< POWER >::CPPUNIT_TEST | ( | test_get_fixed_indices | ) | [private] |
PowerQualityMetricTest< POWER >::CPPUNIT_TEST | ( | test_eval_with_indices | ) | [private] |
PowerQualityMetricTest< POWER >::CPPUNIT_TEST | ( | test_eval_with_gradient | ) | [private] |
PowerQualityMetricTest< POWER >::CPPUNIT_TEST | ( | test_eval_with_hessian | ) | [private] |
PowerQualityMetricTest< POWER >::CPPUNIT_TEST_SUITE | ( | PowerQualityMetricTest< POWER > | ) | [private] |
PowerQualityMetricTest< POWER >::CPPUNIT_TEST_SUITE_END | ( | ) | [private] |
bool PowerQualityMetricTest< POWER >::evaluate | ( | PatchData & | pd, |
size_t | h, | ||
double & | val, | ||
MsqError & | err | ||
) | [protected, virtual] |
Implements CompositeMetricTestBase.
Definition at line 362 of file CompositeMetricTest.cpp.
References PowerQualityMetricTest< POWER >::evaluate(), and MSQ_ERRFALSE.
Referenced by PowerQualityMetricTest< POWER >::evaluate().
{ bool rval = m1.evaluate( pd, h, val, err ); MSQ_ERRFALSE( err ); val = std::pow( val, POWER ); return rval; }
PowerQualityMetric PowerQualityMetricTest< POWER >::m [private] |
Definition at line 349 of file CompositeMetricTest.cpp.
IdealWeightInverseMeanRatio PowerQualityMetricTest< POWER >::m1 [private] |
Definition at line 348 of file CompositeMetricTest.cpp.