Back to Search
Start Over
Adjoint Code Design Patterns
- Source :
- ACM Transactions on Mathematical Software. 45:1-32
- Publication Year :
- 2019
- Publisher :
- Association for Computing Machinery (ACM), 2019.
-
Abstract
- Adjoint methods have become fundamental ingredients of the scientific computing toolbox over the past decades. Large-scale parameter sensitivity analysis, uncertainty quantification, and nonlinear optimization would otherwise turn out computationally infeasible. The symbolic derivation of adjoint mathematical models for relevant problems in science and engineering and their implementation in consistency with the implementation of the underlying primal model frequently proves highly challenging. Hence, an increased interest in algorithmic adjoints can be observed. The algorithmic derivation of adjoint numerical simulation programs shifts some of the problems faced from functional and numerical analysis to computer science. It becomes a highly complex software engineering task requiring expertise in software analysis, transformation, and optimization. Despite rather mature software tool support for algorithmic differentiation, substantial user intervention is typically required when targeting nontrivial numerical programs. A large number of patterns shared by numerous application codes results in repeated duplication of development effort. The adjoint code design patterns introduced in this article aim to reduce this problem through improved formalization from the software engineering perspective. Fully functional reference implementations are provided through github.
- Subjects :
- 021103 operations research
Theoretical computer science
Automatic differentiation
Computer science
Applied Mathematics
Design pattern
0211 other engineering and technologies
010103 numerical & computational mathematics
02 engineering and technology
01 natural sciences
Nonlinear programming
Consistency (database systems)
Software design pattern
0101 mathematics
Uncertainty quantification
Software analysis pattern
Implementation
Software
Subjects
Details
- ISSN :
- 15577295 and 00983500
- Volume :
- 45
- Database :
- OpenAIRE
- Journal :
- ACM Transactions on Mathematical Software
- Accession number :
- edsair.doi...........b022481579e6e4ac164a078d26cd7c40