Paper record

W2080233464

Hybrid differentiation strategies for simulation and analysis of applications in C++

Roscoe A. Bartlett, Bart G. van Bloemen Waanders, Martin Berggren

Year
2008
Venue
ACM Transactions on Mathematical Software
References
17
Cited by
6

Details and counts from OpenAlex.

Abstract

Computationally efficient and accurate derivatives are important to the success of many different types of numerical methods. Automatic differentation (AD) approaches compute truncation-free derivatives and can be efficient in many cases. Although present AD tools can provide a convenient implementation mechanism, the computational efficiency rarely compares to analytically derived versions that have been carefully implemented. The focus of this work is to combine the strength of these methods into a hybrid strategy that attempts to achieve an optimal balance of implementation and computational efficiency by selecting the appropriate components of the target algorithms for AD and analytical derivation. Although several AD approaches can be considered, our focus is on the use of template overloading forward AD tools in C++ applications. We demonstrate this hybrid strategy for a system of partial differential equations in gas dynamics. These methods apply however to other systems of differentiable equations, including DAEs and ODEs.