]> https://gitweb.dealii.org/ - dealii.git/commit
Refactor the AD drivers classes.
authorJean-Paul Pelteret <jppelteret@gmail.com>
Thu, 6 Dec 2018 13:37:14 +0000 (14:37 +0100)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Thu, 24 Jan 2019 07:44:11 +0000 (08:44 +0100)
commit6462b87e2e2bf691f04c89190c4ba1e72dac0f90
treeedd6ccd7f99af221d36fe3f7a562e1fb17170b23
parent860d67e58b83e3a363e5fc8f50d76bde483fb4a3
Refactor the AD drivers classes.

This commit significantly reworks the implementation of the AD driver
classes. Firstly, all class methods are moved to the associated source
file. The (logically) static class methods have been removed, so all
methods must be called through an instance of a driver class. The
previously implemented logic for existant ADOL-C tapes has been
superceeded by low-level calls to the library itself.

The ADHelper classes are updated to accommodate the changes to the
driver classes.

Fixes #7335
Fixes #7372
include/deal.II/differentiation/ad/ad_drivers.h
include/deal.II/differentiation/ad/ad_helpers.h
source/differentiation/ad/CMakeLists.txt
source/differentiation/ad/ad_drivers.cc [new file with mode: 0644]
source/differentiation/ad/ad_drivers.inst1.in [new file with mode: 0644]
source/differentiation/ad/ad_drivers.inst2.in [new file with mode: 0644]
source/differentiation/ad/ad_helpers.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.