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

Annotation of /manual/s_autodiff/text/doc_grdchk_flow.tex

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


Revision 1.1 - (hide annotations) (download) (as text)
Wed Apr 24 13:58:37 2002 UTC (23 years, 2 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57l_post
File MIME type: application/x-tex
Starting gradient check description.

1 heimbach 1.1 \begin{figure}[h!]
2    
3     {\scriptsize
4     \begin{verbatim}
5    
6     the_model_main
7     |
8     |-- ctrl_unpack
9     |-- adthe_main_loop - unperturbed cost function and
10     |-- ctrl_pack adjoint gradient are computed here
11     |
12     |-- grdchk_main
13     |
14     |-- grdchk_init
15     |-- do icomp=... - loop over control vector elements
16     |
17     |-- grdchk_loc - determine location of icomp on grid
18     |
19     |-- grdchk_getxx - get control vector component from file
20     | perturb it and write back to file
21     |-- grdchk_getadxx - get gradient component calculated
22     | via adjoint
23     |-- the_main_loop - forward run and cost evaluation
24     | with perturbed control vector element
25     |-- calculate ratio of adj. vs. finite difference gradient
26     |
27     |-- grdchk_setxx - Reset control vector element
28     |
29     |-- grdchk_print - print results
30    
31     \end{verbatim}
32     }
33    
34     \caption{~}
35     \label{fig:grdchkflow}
36     \end{figure}

  ViewVC Help
Powered by ViewVC 1.1.22