MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Public Member Functions | |
ScalarAddMetricTest () | |
Protected Member Functions | |
virtual bool | evaluate (PatchData &, size_t, double &, MsqError &) |
Private Member Functions | |
CPPUNIT_TEST_SUITE (ScalarAddMetricTest< OFFSET >) | |
CPPUNIT_TEST (test_supported_types) | |
CPPUNIT_TEST (test_ideal_element_eval) | |
CPPUNIT_TEST (test_ideal_element_grad) | |
CPPUNIT_TEST (test_ideal_element_hess) | |
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 |
ScalarAddQualityMetric | m |
Definition at line 378 of file CompositeMetricTest.cpp.
ScalarAddMetricTest< OFFSET >::ScalarAddMetricTest | ( | ) | [inline] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST | ( | test_supported_types | ) | [private] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST | ( | test_ideal_element_eval | ) | [private] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST | ( | test_ideal_element_grad | ) | [private] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST | ( | test_ideal_element_hess | ) | [private] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST | ( | test_non_ideal_eval | ) | [private] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST | ( | test_valid_hessian | ) | [private] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST | ( | test_inverted_elements | ) | [private] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST | ( | test_degenerate_elements | ) | [private] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST | ( | test_get_evaluations | ) | [private] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST | ( | test_get_element_indices | ) | [private] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST | ( | test_get_fixed_indices | ) | [private] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST | ( | test_eval_with_indices | ) | [private] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST | ( | test_eval_with_gradient | ) | [private] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST | ( | test_eval_with_hessian | ) | [private] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST_SUITE | ( | ScalarAddMetricTest< OFFSET > | ) | [private] |
ScalarAddMetricTest< OFFSET >::CPPUNIT_TEST_SUITE_END | ( | ) | [private] |
bool ScalarAddMetricTest< OFFSET >::evaluate | ( | PatchData & | pd, |
size_t | h, | ||
double & | val, | ||
MsqError & | err | ||
) | [protected, virtual] |
Implements CompositeMetricTestBase.
Definition at line 412 of file CompositeMetricTest.cpp.
References ScalarAddMetricTest< OFFSET >::evaluate(), MSQ_ERRFALSE, and OFFSET.
Referenced by ScalarAddMetricTest< OFFSET >::evaluate().
{ bool rval = m1.evaluate( pd, h, val, err ); MSQ_ERRFALSE( err ); val += OFFSET; return rval; }
ScalarAddQualityMetric ScalarAddMetricTest< OFFSET >::m [private] |
Definition at line 399 of file CompositeMetricTest.cpp.
IdealWeightInverseMeanRatio ScalarAddMetricTest< OFFSET >::m1 [private] |
Definition at line 398 of file CompositeMetricTest.cpp.