/[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.7 by cnh, Thu Oct 25 18:36:55 2001 UTC revision 1.11 by cnh, Thu Nov 15 16:54:37 2001 UTC
# Line 607  at every timestep Line 607  at every timestep
607  [i.e. every hour $ i=0,...,5$ corresponding to  [i.e. every hour $ i=0,...,5$ corresponding to
608  $ k_{i}^{lev1} = 66, 67, \ldots, 71 $].  $ k_{i}^{lev1} = 66, 67, \ldots, 71 $].
609  Thus, the  final state $ v_n = v_{k_{n}^{lev1}} $ is reached  Thus, the  final state $ v_n = v_{k_{n}^{lev1}} $ is reached
610  and the model state of all  proceeding timesteps along the last  and the model state of all proceeding timesteps along the last
611  sub-subsections are available, enabling integration backwards  sub-subsections are available, enabling integration backwards
612  in time along the last sub-subsection.  in time along the last sub-subsection.
613  Thus, the adjoint can be computed along this last  Thus, the adjoint can be computed along this last
# Line 1258  In this section we describe in a general Line 1258  In this section we describe in a general
1258  the parts of the code that are relevant for automatic  the parts of the code that are relevant for automatic
1259  differentiation using the software tool TAMC.  differentiation using the software tool TAMC.
1260    
 \begin{figure}[b!]  
1261  \input{part5/doc_ad_the_model}  \input{part5/doc_ad_the_model}
 \caption{~}  
 \label{fig:adthemodel}  
 \end{figure}  
1262    
1263  The basic flow is depicted in \ref{fig:adthemodel}.  The basic flow is depicted in \ref{fig:adthemodel}.
1264  If the option {\tt ALLOW\_AUTODIFF\_TAMC} is defined, the driver routine  If the option {\tt ALLOW\_AUTODIFF\_TAMC} is defined, the driver routine
# Line 1299  All aspects relevant to the treatment of Line 1295  All aspects relevant to the treatment of
1295  (parameter setting, initialization, accumulation,  (parameter setting, initialization, accumulation,
1296  final evaluation), are controlled by the package {\it pkg/cost}.  final evaluation), are controlled by the package {\it pkg/cost}.
1297    
 \begin{figure}[h!]  
1298  \input{part5/doc_cost_flow}  \input{part5/doc_cost_flow}
 \caption{~}  
 \label{fig:costflow}  
 \end{figure}  
1299    
1300  \subsubsection{genmake and CPP options}  \subsubsection{genmake and CPP options}
1301  %  %
# Line 1782  The gradient $ \nabla _{u}{\cal J} |_{u_ Line 1774  The gradient $ \nabla _{u}{\cal J} |_{u_
1774  with the value of the cost function itself $ {\cal J}(u_{[k]}) $  with the value of the cost function itself $ {\cal J}(u_{[k]}) $
1775  at iteration step $ k $ serve  at iteration step $ k $ serve
1776  as input to a minimization routine (e.g. quasi-Newton method,  as input to a minimization routine (e.g. quasi-Newton method,
1777  conjugate gradient, ... \cite{gil_lem:89})  conjugate gradient, ... \cite{gil-lem:89})
1778  to compute an update in the  to compute an update in the
1779  control variable for iteration step $k+1$  control variable for iteration step $k+1$
1780  \[  \[

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.22