• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..02-Feb-2020-

READMEH A D25-Jan-20201.2 KiB2011

const.hH A D25-Jan-202066 74

main.cppH A D25-Jan-2020345 1711

traceCompositeTests.cppH A D25-Jan-202070.4 KiB2,4331,796

traceOperatorScalar.cppH A D25-Jan-202085.4 KiB5,5523,502

traceOperatorVector.cppH A D25-Jan-202066.2 KiB3,7742,604

traceSecOrderScalar.cppH A D25-Jan-2020142.7 KiB5,1523,766

traceSecOrderVector.cppH A D25-Jan-20208.3 KiB342238

tracelessCompositeTests.cppH A D25-Jan-202014.8 KiB480352

tracelessOperatorScalar.cppH A D25-Jan-202034.8 KiB1,6991,099

tracelessOperatorVector.cppH A D25-Jan-202024.3 KiB1,043755

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