|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 02-Feb-2020 | - |
| README | H A D | 25-Jan-2020 | 1.2 KiB | 20 | 11 |
| const.h | H A D | 25-Jan-2020 | 66 | 7 | 4 |
| main.cpp | H A D | 25-Jan-2020 | 345 | 17 | 11 |
| traceCompositeTests.cpp | H A D | 25-Jan-2020 | 70.4 KiB | 2,433 | 1,796 |
| traceOperatorScalar.cpp | H A D | 25-Jan-2020 | 85.4 KiB | 5,552 | 3,502 |
| traceOperatorVector.cpp | H A D | 25-Jan-2020 | 66.2 KiB | 3,774 | 2,604 |
| traceSecOrderScalar.cpp | H A D | 25-Jan-2020 | 142.7 KiB | 5,152 | 3,766 |
| traceSecOrderVector.cpp | H A D | 25-Jan-2020 | 8.3 KiB | 342 | 238 |
| tracelessCompositeTests.cpp | H A D | 25-Jan-2020 | 14.8 KiB | 480 | 352 |
| tracelessOperatorScalar.cpp | H A D | 25-Jan-2020 | 34.8 KiB | 1,699 | 1,099 |
| tracelessOperatorVector.cpp | H A D | 25-Jan-2020 | 24.3 KiB | 1,043 | 755 |
README
1ADOL-C offers a unit-testing capability developed using the Boost.Test library.
2There are more than 400 tests to verify the basic functionality of ADOL-C, including both traceless and trace-based adouble variants.
3
4The minimum required version of BOOST library is 1.59.0. Any older version will cause compile-time errors.
5The BOOST library has to be compiled --with-test module, such that the library file boost_unit_test_framework is available.
6
7Instructions for compiling the test suite with cmake:
8
91) Create the 'build' directory inside the boost-test directory (it is ignored by git).
10
112) In 'boost-test/build' type: 'ccmake ../' or 'cmake-gui ../'
12
133) Cmake will search for the system installed version of BOOST. If the minimum required version is not satisfied, please enter the path where an appropriate BOOST version is installed in '3RDPARTY_BOOST_DIR'.
14
154) ADOL-C has to be compiled with the same version of BOOST defined in 3). When using a different BOOST version than the one provided by the operating system, ADOL-C can be configured with --with-boost flag before compiling the ADOL-C sources.
16
175) In cmake, specify ADOLC_BASE directory where ADOL-C is installed.
18
19Run the executable boost-test-adolc.
20