TAMC swMATH ID: 7198 Software Authors: Giering, Ralf; Kaminski, Thomas Description: Recipes for adjoint code construction Adjoint models are increasingly being developed for use in meteorology and oceanography. Typical applications are data assimilation, model tuning, sensitivity analysis, and determination of singular vectors. The adjoint model computes the gradient of a cost function with respect to control variables. Generation of adjoint code may be seen as the special case of differentiation of algorithms in reverse mode, where the dependent function is a scalar. The described method for adjoint code generation is based on a few basic principles, which permits the establishment of simple construction rules for adjoint statements and complete adjoint subprograms. These rules are presented and illustrated with some examples.par Conflicts that occur due to loops and redefinition of variables are also discussed. Direct coding of the adjoint of a more sophisticated model is extremely time consuming and subject to errors. Hence, automatic generation of adjoint code represents a distinct advantage. An implementation of the method, described in this article, is the tangent linear and adjoint model compiler. Homepage: http://autodiff.com/tamc/ Keywords: automatic differentiation; optimization; gradient methods; algorithms; adjoint model; adjoint operator; computational differentiation; data assimilation; inverse modeling; reverse mode; meteorology; oceanography Related Software: TAF; ADIFOR; ADOL-C; ADIC; Odyssee; L-BFGS; TAPENADE; revolve; LBFGS-B; L-BFGS-B; FADBAD++; ADMIT; DASPK 3.0; EnKF; OpenAD/F; ADMAT; MINPACK-2; CVODES; Matlab; RODAS Cited in: 72 Documents all top 5 Cited by 128 Authors 7 Sandu, Adrian 4 Cioaca, Alexandru 4 Petzold, Linda Ruth 4 Tadjouddine, Mohamed 3 Alexe, Mihai 3 Bischof, Christian H. 3 Daescu, Dacian N. 3 Faure, Christèle 3 Forth, Shaun A. 3 Hascoet, Laurent 3 Li, Shengtai 3 Müller, Jens-Dominik 2 Bücker, H. Martin 2 Cao, Yang 2 Charpentier, Isabelle 2 Giering, Ralf 2 Giles, Michael B. 2 Godinez, Humberto C. 2 Hovland, Paul D. 2 Liao, Wenyuan 2 Navon, Ionel Michael 2 Pryce, John D. 2 Reid, John 2 Serban, Radu 2 Ulbrich, Michael 1 Achatz, Ulrich 1 Akella, Srinivas 1 Awruch, Armando Miguel 1 Azimian, Ahmadreza 1 Barton, Paul I. 1 Behrens, Jorn 1 Bennett, Andrew F. 1 Böhringer, Christoph 1 Bouman, Charles A. 1 Campana, Emilio Fortunato 1 Carle, Alan 1 Carmichael, Gregory R. 1 Christakopoulos, Faidon 1 Coleman, Thomas F. 1 Collier, Chris G. 1 Collis, S. Scott 1 Courty, Francois 1 Cusdin, P. 1 Dance, Sarah L. 1 Dawson, Clint N. 1 de Sturler, Eric 1 Dervieux, Alain 1 Douglas, Craig C. 1 Duggan, Dominic 1 Dumitrel, Vlad 1 Espath, Luis F. R. 1 Espíndola, Juan Manuel 1 Eyssette, Frédéric 1 Fagan, Mike 1 Fang, Fangxin 1 Fernández-Godino, M. Giselle 1 Gebremedhin, Assefaw Hadish 1 Ghayour, Kaveh 1 Ghemires, Mohammed 1 Giannakoglou, Kyriakos C. 1 Gockenbach, Mark S. 1 Goddard, A. J. H. 1 Gorman, Gerard J. 1 Gratton, Serge 1 Griewank, Andreas 1 Gürol, Selime 1 Heemink, Arnold Willem 1 Heimbach, Patrick 1 Heinkenschloss, Matthias 1 Hielscher, Andreas H. 1 Hill, Chris 1 Hinze, Michael 1 Hossen, M. J. 1 Hückelheim, Jan Christian 1 Jiang, Lijian 1 Jones, Dominic 1 Judd, Kevin 1 Kaminski, Thomas 1 Klose, Alexander D. 1 Koobus, Bruno 1 Linn, R. V. 1 Löschel, Andreas 1 Manne, Fredrik 1 McInnes, Lois Curfman 1 Mémin, Etienne 1 Millane, Rick P. 1 Nichols, Nancy K. 1 Noack, Antje 1 Nodet, Maëlle 1 Norris, Boyana 1 Ntziachristos, Vasilis 1 Özyurt, Derya B. 1 Pain, Christopher C. 1 Panda, Nishant 1 Papadakis, Nicolas 1 Papadimitriou, Dimitrios I. 1 Pascual, Valérie 1 Peri, Daniele 1 Pierce, Niles A. 1 Piggott, Matthew D. ...and 28 more Authors all top 5 Cited in 36 Serials 6 International Journal for Numerical Methods in Fluids 6 Journal of Computational Physics 6 ACM Transactions on Mathematical Software 5 Optimization Methods & Software 4 Computational Geosciences 3 Journal of Computational and Applied Mathematics 2 Physica D 2 Computational Optimization and Applications 2 SIAM Journal on Scientific Computing 1 Computers and Fluids 1 Computers & Mathematics with Applications 1 Computer Methods in Applied Mechanics and Engineering 1 Inverse Problems 1 Applied Mathematics and Computation 1 Computing 1 International Journal for Numerical Methods in Engineering 1 SIAM Journal on Numerical Analysis 1 Science of Computer Programming 1 Parallel Computing 1 Journal of Economic Dynamics & Control 1 International Journal of High Speed Computing 1 Applied Mathematical Modelling 1 SIAM Review 1 Physics of Fluids 1 Higher-Order and Symbolic Computation 1 Flow, Turbulence and Combustion 1 M2AN. Mathematical Modelling and Numerical Analysis. ESAIM, European Series in Applied and Industrial Mathematics 1 IEEE Transactions on Image Processing 1 Archives of Computational Methods in Engineering 1 Mathematical Geology 1 HERMIS-\(\mu\pi\). Hellenic European Research on Mathematics and Informatics Science 1 Acta Numerica 1 Inverse Problems in Science and Engineering 1 Lecture Notes in Computational Science and Engineering 1 SIAM Journal on Imaging Sciences 1 MOS-SIAM Series on Optimization all top 5 Cited in 18 Fields 37 Numerical analysis (65-XX) 21 Fluid mechanics (76-XX) 18 Geophysics (86-XX) 11 Computer science (68-XX) 7 Calculus of variations and optimal control; optimization (49-XX) 6 Ordinary differential equations (34-XX) 6 Operations research, mathematical programming (90-XX) 5 Partial differential equations (35-XX) 4 Statistics (62-XX) 3 Systems theory; control (93-XX) 2 Game theory, economics, finance, and other social and behavioral sciences (91-XX) 2 Biology and other natural sciences (92-XX) 1 Combinatorics (05-XX) 1 Dynamical systems and ergodic theory (37-XX) 1 Integral equations (45-XX) 1 Mechanics of particles and systems (70-XX) 1 Mechanics of deformable solids (74-XX) 1 Classical thermodynamics, heat transfer (80-XX) Citations by Year