/[MITgcm]/manual/s_autodiff/text/doc_ad_2.tex
ViewVC logotype

Diff of /manual/s_autodiff/text/doc_ad_2.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.23 by jmc, Mon Aug 30 23:09:19 2010 UTC revision 1.24 by jmc, Tue Aug 31 20:56:21 2010 UTC
# Line 2  Line 2 
2  % $Name$  % $Name$
3    
4  Author: Patrick Heimbach  Author: Patrick Heimbach
 \label{ask_the_author:doc_ad_2}  
5    
6  {\sf Automatic differentiation} (AD), also referred to as algorithmic  {\sf Automatic differentiation} (AD), also referred to as algorithmic
7  (or, more loosely, computational) differentiation, involves  (or, more loosely, computational) differentiation, involves
# Line 1106  Within this 'driver' routine, S/R are ca Line 1105  Within this 'driver' routine, S/R are ca
1105  the chosen cost function contributions.  the chosen cost function contributions.
1106  In the present example ({\bf ALLOW\_COST\_TRACER}),  In the present example ({\bf ALLOW\_COST\_TRACER}),
1107  S/R {\it cost\_tracer} is called.  S/R {\it cost\_tracer} is called.
1108  It accumulates {\bf objf\_tracer} according to eqn. (\ref{ask_the_author:doc_ad_2}).  It accumulates {\bf objf\_tracer} according to eqn. (ref:ask-the-author).
1109  %  %
1110  \subsubsection{Finalize all contributions}  \subsubsection{Finalize all contributions}
1111  %  %
# Line 1503  u_{[k+1]} \, = \,  u_{[0]} \, + \, \Delt Line 1502  u_{[k+1]} \, = \,  u_{[0]} \, + \, \Delt
1502  $ u_{[k+1]} $ then serves as input for a forward/adjoint run  $ u_{[k+1]} $ then serves as input for a forward/adjoint run
1503  to determine $ {\cal J} $ and $ \nabla _{u}{\cal J} $ at iteration step  to determine $ {\cal J} $ and $ \nabla _{u}{\cal J} $ at iteration step
1504  $ k+1 $.  $ k+1 $.
1505  Tab. \ref{ask_the_author:doc_ad_2} sketches the flow between forward/adjoint model  Tab. ref:ask-the-author sketches the flow between forward/adjoint model
1506  and the minimization routine.  and the minimization routine.
1507    
1508  {\scriptsize  {\scriptsize
# Line 1562  ad \, v_{[k]} (\delta {\cal J}) = Line 1561  ad \, v_{[k]} (\delta {\cal J}) =
1561    
1562  The routines {\it ctrl\_unpack} and {\it ctrl\_pack} provide  The routines {\it ctrl\_unpack} and {\it ctrl\_pack} provide
1563  the link between the model and the minimization routine.  the link between the model and the minimization routine.
1564  As described in Section \ref{ask_the_author:doc_ad_2}  As described in Section ref:ask-the-author
1565  the {\it unpack} and {\it pack} routines read and write  the {\it unpack} and {\it pack} routines read and write
1566  control and gradient {\it vectors} which are compressed  control and gradient {\it vectors} which are compressed
1567  to contain only wet points, in addition to the full  to contain only wet points, in addition to the full

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.22