|
Sacado Package Browser (Single Doxygen Collection) Version of the Day
|
#include <FadUnitTests.hpp>

Public Member Functions | |
| FadOpsUnitTest () | |
| FadOpsUnitTest (int numComponents, ScalarType absolute_tolerance, ScalarType relative_tolerance) | |
| void | setUp () |
| void | tearDown () |
| BINARY_OP_TEST (testAddition,+) | |
| BINARY_OP_TEST (testSubtraction,-) | |
| BINARY_OP_TEST (testMultiplication,*) | |
| BINARY_OP_TEST (testDivision,/) | |
| RELOP_TEST (testEquals,==) | |
| RELOP_TEST (testNotEquals,!=) | |
| RELOP_TEST (testLessThanOrEquals,<=) | |
| RELOP_TEST (testGreaterThanOrEquals, >=) | |
| RELOP_TEST (testLessThan,<) | |
| RELOP_TEST (testGreaterThan, >) | |
| BINARY_FUNC_TEST (testPow, pow) | |
| UNARY_OP_TEST (testUnaryPlus,+) | |
| UNARY_OP_TEST (testUnaryMinus,-) | |
| UNARY_FUNC_TEST (testExp, exp) | |
| UNARY_FUNC_TEST (testLog, log) | |
| UNARY_FUNC_TEST (testLog10, log10) | |
| UNARY_FUNC_TEST (testSqrt, sqrt) | |
| UNARY_FUNC_TEST (testCos, cos) | |
| UNARY_FUNC_TEST (testSin, sin) | |
| UNARY_FUNC_TEST (testTan, tan) | |
| UNARY_FUNC_TEST (testACos, acos) | |
| UNARY_FUNC_TEST (testASin, asin) | |
| UNARY_FUNC_TEST (testATan, atan) | |
| UNARY_FUNC_TEST (testCosh, cosh) | |
| UNARY_FUNC_TEST (testSinh, sinh) | |
| UNARY_FUNC_TEST (testTanh, tanh) | |
| UNARY_FUNC_TEST (testAbs, abs) | |
| UNARY_FUNC_TEST (testFAbs, fabs) | |
| UNARY_ASSIGNOP_TEST (testPlusEquals,+=) | |
| UNARY_ASSIGNOP_TEST (testMinusEquals,-=) | |
| UNARY_ASSIGNOP_TEST (testTimesEquals,*=) | |
| UNARY_ASSIGNOP_TEST (testDivideEquals,/=) | |
| void | testMax () |
| void | testMin () |
| template<typename ScalarT > | |
| ScalarT | composite1 (const ScalarT &a, const ScalarT &b) |
| void | testComposite1 () |
| void | testPlusLR () |
| void | testMinusLR () |
| void | testTimesLR () |
| void | testDivideLR () |
Protected Attributes | |
| FadType | a_dfad |
| FadType | b_dfad |
| FadType | c_dfad |
| FAD::Fad< ScalarType > | a_fad |
| FAD::Fad< ScalarType > | b_fad |
| FAD::Fad< ScalarType > | c_fad |
| Sacado::Random< ScalarType > | urand |
| int | n |
| ScalarType | tol_a |
| ScalarType | tol_r |
Private Member Functions | |
| CPPUNIT_TEST_SUITE (FadOpsUnitTest) | |
| CPPUNIT_TEST (testAddition) | |
| CPPUNIT_TEST (testSubtraction) | |
| CPPUNIT_TEST (testMultiplication) | |
| CPPUNIT_TEST (testDivision) | |
| CPPUNIT_TEST (testEquals) | |
| CPPUNIT_TEST (testNotEquals) | |
| CPPUNIT_TEST (testLessThanOrEquals) | |
| CPPUNIT_TEST (testGreaterThanOrEquals) | |
| CPPUNIT_TEST (testLessThan) | |
| CPPUNIT_TEST (testGreaterThan) | |
| CPPUNIT_TEST (testPow) | |
| CPPUNIT_TEST (testMax) | |
| CPPUNIT_TEST (testMin) | |
| CPPUNIT_TEST (testUnaryPlus) | |
| CPPUNIT_TEST (testUnaryMinus) | |
| CPPUNIT_TEST (testExp) | |
| CPPUNIT_TEST (testLog) | |
| CPPUNIT_TEST (testLog10) | |
| CPPUNIT_TEST (testSqrt) | |
| CPPUNIT_TEST (testCos) | |
| CPPUNIT_TEST (testSin) | |
| CPPUNIT_TEST (testTan) | |
| CPPUNIT_TEST (testACos) | |
| CPPUNIT_TEST (testASin) | |
| CPPUNIT_TEST (testATan) | |
| CPPUNIT_TEST (testCosh) | |
| CPPUNIT_TEST (testSinh) | |
| CPPUNIT_TEST (testTanh) | |
| CPPUNIT_TEST (testAbs) | |
| CPPUNIT_TEST (testFAbs) | |
| CPPUNIT_TEST (testPlusEquals) | |
| CPPUNIT_TEST (testMinusEquals) | |
| CPPUNIT_TEST (testTimesEquals) | |
| CPPUNIT_TEST (testDivideEquals) | |
| CPPUNIT_TEST (testComposite1) | |
| CPPUNIT_TEST (testPlusLR) | |
| CPPUNIT_TEST (testMinusLR) | |
| CPPUNIT_TEST (testTimesLR) | |
| CPPUNIT_TEST (testDivideLR) | |
| CPPUNIT_TEST_SUITE_END () | |
Definition at line 134 of file FadUnitTests.hpp.
| FadOpsUnitTest< FadType, ScalarType >::FadOpsUnitTest | ( | ) |
Definition at line 320 of file FadUnitTests.hpp.
| FadOpsUnitTest< FadType, ScalarType >::FadOpsUnitTest | ( | int | numComponents, |
| ScalarType | absolute_tolerance, | ||
| ScalarType | relative_tolerance | ||
| ) |
Definition at line 325 of file FadUnitTests.hpp.
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST_SUITE | ( | FadOpsUnitTest< FadType, ScalarType > | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testAddition | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testSubtraction | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testMultiplication | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testDivision | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testEquals | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testNotEquals | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testLessThanOrEquals | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testGreaterThanOrEquals | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testLessThan | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testGreaterThan | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testPow | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testMax | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testMin | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testUnaryPlus | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testUnaryMinus | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testExp | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testLog | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testLog10 | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testSqrt | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testCos | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testSin | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testTan | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testACos | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testASin | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testATan | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testCosh | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testSinh | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testTanh | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testAbs | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testFAbs | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testPlusEquals | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testMinusEquals | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testTimesEquals | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testDivideEquals | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testComposite1 | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testPlusLR | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testMinusLR | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testTimesLR | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST | ( | testDivideLR | ) | [private] |
| FadOpsUnitTest< FadType, ScalarType >::CPPUNIT_TEST_SUITE_END | ( | ) | [private] |
| void FadOpsUnitTest< FadType, ScalarType >::setUp | ( | ) |
Definition at line 333 of file FadUnitTests.hpp.
| void FadOpsUnitTest< FadType, ScalarType >::tearDown | ( | ) |
Definition at line 357 of file FadUnitTests.hpp.
| FadOpsUnitTest< FadType, ScalarType >::BINARY_OP_TEST | ( | testAddition | , |
| + | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::BINARY_OP_TEST | ( | testSubtraction | , |
| - | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::BINARY_OP_TEST | ( | testMultiplication | , |
| * | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::BINARY_OP_TEST | ( | testDivision | , |
| / | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::RELOP_TEST | ( | testEquals | ) |
| FadOpsUnitTest< FadType, ScalarType >::RELOP_TEST | ( | testNotEquals | , |
| ! | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::RELOP_TEST | ( | testLessThanOrEquals | , |
| <= | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::RELOP_TEST | ( | testGreaterThanOrEquals | , |
| >= | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::RELOP_TEST | ( | testLessThan | ) |
| FadOpsUnitTest< FadType, ScalarType >::RELOP_TEST | ( | testGreaterThan | ) |
| FadOpsUnitTest< FadType, ScalarType >::BINARY_FUNC_TEST | ( | testPow | , |
| pow | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_OP_TEST | ( | testUnaryPlus | , |
| + | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_OP_TEST | ( | testUnaryMinus | , |
| - | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testExp | , |
| exp | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testLog | , |
| log | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testLog10 | , |
| log10 | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testSqrt | , |
| sqrt | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testCos | , |
| cos | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testSin | , |
| sin | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testTan | , |
| tan | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testACos | , |
| acos | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testASin | , |
| asin | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testATan | , |
| atan | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testCosh | , |
| cosh | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testSinh | , |
| sinh | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testTanh | , |
| tanh | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testAbs | , |
| abs | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_FUNC_TEST | ( | testFAbs | , |
| fabs | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_ASSIGNOP_TEST | ( | testPlusEquals | , |
| + | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_ASSIGNOP_TEST | ( | testMinusEquals | , |
| - | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_ASSIGNOP_TEST | ( | testTimesEquals | , |
| * | |||
| ) |
| FadOpsUnitTest< FadType, ScalarType >::UNARY_ASSIGNOP_TEST | ( | testDivideEquals | , |
| / | |||
| ) |
| void FadOpsUnitTest< FadType, ScalarType >::testMax | ( | ) |
Definition at line 361 of file FadUnitTests.hpp.
| void FadOpsUnitTest< FadType, ScalarType >::testMin | ( | ) |
Definition at line 424 of file FadUnitTests.hpp.
| ScalarT FadOpsUnitTest< FadType, ScalarType >::composite1 | ( | const ScalarT & | a, |
| const ScalarT & | b | ||
| ) | [inline] |
Definition at line 240 of file FadUnitTests.hpp.
| void FadOpsUnitTest< FadType, ScalarType >::testComposite1 | ( | ) | [inline] |
Definition at line 253 of file FadUnitTests.hpp.
| void FadOpsUnitTest< FadType, ScalarType >::testPlusLR | ( | ) | [inline] |
Definition at line 259 of file FadUnitTests.hpp.
| void FadOpsUnitTest< FadType, ScalarType >::testMinusLR | ( | ) | [inline] |
Definition at line 269 of file FadUnitTests.hpp.
| void FadOpsUnitTest< FadType, ScalarType >::testTimesLR | ( | ) | [inline] |
Definition at line 279 of file FadUnitTests.hpp.
| void FadOpsUnitTest< FadType, ScalarType >::testDivideLR | ( | ) | [inline] |
Definition at line 289 of file FadUnitTests.hpp.
FadType FadOpsUnitTest< FadType, ScalarType >::a_dfad [protected] |
Definition at line 302 of file FadUnitTests.hpp.
FadType FadOpsUnitTest< FadType, ScalarType >::b_dfad [protected] |
Definition at line 302 of file FadUnitTests.hpp.
FadType FadOpsUnitTest< FadType, ScalarType >::c_dfad [protected] |
Definition at line 302 of file FadUnitTests.hpp.
FAD::Fad<ScalarType> FadOpsUnitTest< FadType, ScalarType >::a_fad [protected] |
Definition at line 305 of file FadUnitTests.hpp.
FAD::Fad<ScalarType> FadOpsUnitTest< FadType, ScalarType >::b_fad [protected] |
Definition at line 305 of file FadUnitTests.hpp.
FAD::Fad<ScalarType> FadOpsUnitTest< FadType, ScalarType >::c_fad [protected] |
Definition at line 305 of file FadUnitTests.hpp.
Sacado::Random<ScalarType> FadOpsUnitTest< FadType, ScalarType >::urand [protected] |
Definition at line 308 of file FadUnitTests.hpp.
int FadOpsUnitTest< FadType, ScalarType >::n [protected] |
Definition at line 311 of file FadUnitTests.hpp.
ScalarType FadOpsUnitTest< FadType, ScalarType >::tol_a [protected] |
Definition at line 314 of file FadUnitTests.hpp.
ScalarType FadOpsUnitTest< FadType, ScalarType >::tol_r [protected] |
Definition at line 314 of file FadUnitTests.hpp.
1.7.4