1426 |
|
|
1427 |
%%%% \end{document} |
%%%% \end{document} |
1428 |
|
|
|
\begin{figure} |
|
1429 |
\input{part5/doc_ad_the_main} |
\input{part5/doc_ad_the_main} |
|
\caption{~} |
|
|
\label{fig:adthemain} |
|
|
\end{figure} |
|
1430 |
|
|
1431 |
\subsection{The control variables (independent variables) |
\subsection{The control variables (independent variables) |
1432 |
\label{section_ctrl}} |
\label{section_ctrl}} |
1446 |
(parameter setting, initialization, perturbation) |
(parameter setting, initialization, perturbation) |
1447 |
are controlled by the package {\it pkg/ctrl}. |
are controlled by the package {\it pkg/ctrl}. |
1448 |
|
|
|
\begin{figure}[h!] |
|
1449 |
\input{part5/doc_ctrl_flow} |
\input{part5/doc_ctrl_flow} |
|
\caption{~} |
|
|
\label{fig:ctrlflow} |
|
|
\end{figure} |
|
1450 |
|
|
1451 |
\subsubsection{genmake and CPP options} |
\subsubsection{genmake and CPP options} |
1452 |
% |
% |
1897 |
Finally, {\it ctrl\_pack} collects all adjoint files |
Finally, {\it ctrl\_pack} collects all adjoint files |
1898 |
and writes them to the compressed vector file |
and writes them to the compressed vector file |
1899 |
{\bf vector\_grad\_$<$k$>$}. |
{\bf vector\_grad\_$<$k$>$}. |
|
|
|
|
\subsection{TLM and ADM generation via TAMC} |
|
|
|
|
|
|
|
|
|
|
|
\subsection{Flow directives and adjoint support routines \label{section_flowdir}} |
|
|
|
|
|
\subsection{Store directives and checkpointing \label{section_checkpointing}} |
|
|
|
|
|
\subsection{Gradient checks \label{section_grdchk}} |
|
|
|
|
|
\subsection{Second derivative generation via TAMC} |
|
|
|
|
|
\section{Example of adjoint code} |
|