New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 11558 for NEMO/trunk/doc/latex/NEMO/subfiles/chap_LBC.tex – NEMO

Ignore:
Timestamp:
2019-09-17T17:04:06+02:00 (5 years ago)
Author:
nicolasmartin
Message:

Review all figure envs + activation of listoflistings

  1. Figure env:
    • Replace center sub-env with only \centering cmd
    • Add alternate caption for \listoffigures (shorter one between square brackets, i.e. \caption[]{})
    • Place \label outside of \caption and remove useless \protect
  1. Namelist listings
    • Put \nlst with the namelist inlcusion in a listing float env with caption and label
    • Remove namelist duplicates

-- This line, and those below, will be ignored--
M subfiles/apdx_triads.tex
M subfiles/chap_model_basics_zstar.tex
M subfiles/chap_SBC.tex
M subfiles/apdx_DOMAINcfg.tex
M subfiles/apdx_s_coord.tex
M subfiles/chap_DOM.tex
M subfiles/chap_ASM.tex
M subfiles/chap_DIU.tex
M subfiles/chap_cfgs.tex
M subfiles/chap_ZDF.tex
M subfiles/chap_OBS.tex
M subfiles/chap_model_basics.tex
M subfiles/chap_time_domain.tex
M subfiles/apdx_algos.tex
M subfiles/chap_TRA.tex
M subfiles/chap_DYN.tex
M subfiles/chap_misc.tex
M subfiles/chap_DIA.tex
M subfiles/apdx_invariants.tex
M subfiles/chap_LBC.tex
M subfiles/apdx_diff_opers.tex
M subfiles/chap_STO.tex
M subfiles/chap_LDF.tex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_LBC.tex

    r11552 r11558  
    2222%--------------------------------------------namlbc------------------------------------------------------- 
    2323 
    24 \nlst{namlbc} 
     24\begin{listing} 
     25  \nlst{namlbc} 
     26  \caption{\texttt{namlbc}} 
     27  \label{lst:namlbc} 
     28\end{listing} 
    2529%-------------------------------------------------------------------------------------------------------------- 
    2630 
     
    6771%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    6872\begin{figure}[!t] 
    69   \begin{center} 
    70     \includegraphics[width=\textwidth]{Fig_LBC_uv} 
    71     \caption{ 
    72       \protect\label{fig:LBC_uv} 
    73       Lateral boundary (thick line) at T-level. 
    74       The velocity normal to the boundary is set to zero. 
    75     } 
    76   \end{center} 
     73  \centering 
     74  \includegraphics[width=\textwidth]{Fig_LBC_uv} 
     75  \caption[Lateral boundary at $T$-level]{ 
     76    Lateral boundary (thick line) at T-level. 
     77    The velocity normal to the boundary is set to zero.} 
     78  \label{fig:LBC_uv} 
    7779\end{figure} 
    7880%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    9698%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    9799\begin{figure}[!p] 
    98   \begin{center} 
    99     \includegraphics[width=\textwidth]{Fig_LBC_shlat} 
    100     \caption{ 
    101       \protect\label{fig:LBC_shlat} 
    102       lateral boundary condition 
    103       (a) free-slip ($rn\_shlat=0$); 
    104       (b) no-slip ($rn\_shlat=2$); 
    105       (c) "partial" free-slip ($0<rn\_shlat<2$) and 
    106       (d) "strong" no-slip ($2<rn\_shlat$). 
    107       Implied "ghost" velocity inside land area is display in grey. 
    108     } 
    109   \end{center} 
     100  \centering 
     101  \includegraphics[width=\textwidth]{Fig_LBC_shlat} 
     102  \caption[Lateral boundary conditions]{ 
     103    Lateral boundary conditions 
     104    (a) free-slip                       (\protect\np{rn\_shlat}\forcode{=0}); 
     105    (b) no-slip                         (\protect\np{rn\_shlat}\forcode{=2}); 
     106    (c) "partial" free-slip (\forcode{0<}\protect\np{rn\_shlat}\forcode{<2}) and 
     107    (d) "strong" no-slip    (\forcode{2<}\protect\np{rn\_shlat}). 
     108    Implied "ghost" velocity inside land area is display in grey.} 
     109  \label{fig:LBC_shlat} 
    110110\end{figure} 
    111111%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    207207%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    208208\begin{figure}[!t] 
    209   \begin{center} 
    210     \includegraphics[width=\textwidth]{Fig_LBC_jperio} 
    211     \caption{ 
    212       \protect\label{fig:LBC_jperio} 
    213       setting of (a) east-west cyclic  (b) symmetric across the equator boundary conditions. 
    214     } 
    215   \end{center} 
     209  \centering 
     210  \includegraphics[width=\textwidth]{Fig_LBC_jperio} 
     211  \caption[Setting of east-west cyclic and symmetric across the Equator boundary conditions]{ 
     212    Setting of (a) east-west cyclic (b) symmetric across the Equator boundary conditions} 
     213  \label{fig:LBC_jperio} 
    216214\end{figure} 
    217215%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    232230%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    233231\begin{figure}[!t] 
    234   \begin{center} 
    235     \includegraphics[width=\textwidth]{Fig_North_Fold_T} 
    236     \caption{ 
    237       \protect\label{fig:LBC_North_Fold_T} 
    238       North fold boundary with a $T$-point pivot and cyclic east-west boundary condition ($jperio=4$), 
    239       as used in ORCA 2, 1/4, and 1/12. 
    240       Pink shaded area corresponds to the inner domain mask (see text). 
    241     } 
    242   \end{center} 
     232  \centering 
     233  \includegraphics[width=\textwidth]{Fig_North_Fold_T} 
     234  \caption[North fold boundary in ORCA 2\deg, 1/4\deg and 1/12\deg]{ 
     235    North fold boundary with a $T$-point pivot and cyclic east-west boundary condition ($jperio=4$), 
     236    as used in ORCA 2\deg, 1/4\deg and 1/12\deg. 
     237    Pink shaded area corresponds to the inner domain mask (see text).} 
     238  \label{fig:LBC_North_Fold_T} 
    243239\end{figure} 
    244240%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    253249%-----------------------------------------nammpp-------------------------------------------- 
    254250 
    255 \nlst{nammpp} 
     251\begin{listing} 
     252  \nlst{nammpp} 
     253  \caption{\texttt{nammpp}} 
     254  \label{lst:nammpp} 
     255\end{listing} 
    256256%----------------------------------------------------------------------------------------------- 
    257257 
     
    291291%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    292292\begin{figure}[!t] 
    293   \begin{center} 
    294     \includegraphics[width=\textwidth]{Fig_mpp} 
    295     \caption{ 
    296       \protect\label{fig:LBC_mpp} 
    297       Positioning of a sub-domain when massively parallel processing is used. 
    298     } 
    299   \end{center} 
     293  \centering 
     294  \includegraphics[width=\textwidth]{Fig_mpp} 
     295  \caption{Positioning of a sub-domain when massively parallel processing is used} 
     296  \label{fig:LBC_mpp} 
    300297\end{figure} 
    301298%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    349346%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    350347\begin{figure}[!ht] 
    351   \begin{center} 
    352     \includegraphics[width=\textwidth]{Fig_mppini2} 
    353     \caption[Atlantic domain]{ 
    354       \protect\label{fig:LBC_mppini2} 
    355       Example of Atlantic domain defined for the CLIPPER projet. 
    356       Initial grid is composed of 773 x 1236 horizontal points. 
    357       (a) the domain is split onto 9 \time 20 subdomains (jpni=9, jpnj=20). 
    358       52 subdomains are land areas. 
    359       (b) 52 subdomains are eliminated (white rectangles) and 
    360       the resulting number of processors really used during the computation is jpnij=128. 
    361     } 
    362   \end{center} 
     348  \centering 
     349  \includegraphics[width=\textwidth]{Fig_mppini2} 
     350  \caption[Atlantic domain defined for the CLIPPER projet]{ 
     351    Example of Atlantic domain defined for the CLIPPER projet. 
     352    Initial grid is composed of 773 x 1236 horizontal points. 
     353    (a) the domain is split onto 9 $times$ 20 subdomains (jpni=9, jpnj=20). 
     354    52 subdomains are land areas. 
     355    (b) 52 subdomains are eliminated (white rectangles) and 
     356    the resulting number of processors really used during the computation is jpnij=128.} 
     357  \label{fig:LBC_mppini2} 
    363358\end{figure} 
    364359%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    373368%-----------------------------------------nambdy-------------------------------------------- 
    374369 
    375 \nlst{nambdy} 
     370\begin{listing} 
     371  \nlst{nambdy} 
     372  \caption{\texttt{nambdy}} 
     373  \label{lst:nambdy} 
     374\end{listing} 
    376375%----------------------------------------------------------------------------------------------- 
    377376%-----------------------------------------nambdy_dta-------------------------------------------- 
    378377 
    379 \nlst{nambdy_dta} 
     378\begin{listing} 
     379  \nlst{nambdy_dta} 
     380  \caption{\texttt{nambdy\_dta}} 
     381  \label{lst:nambdy_dta} 
     382\end{listing} 
    380383%----------------------------------------------------------------------------------------------- 
    381384 
     
    594597the boundary point is increasingly further away from the edge of the model domain. 
    595598A set of $nbi$, $nbj$, and $nbr$ arrays is defined for each of the $T$, $U$ and $V$ grids. 
    596 Figure \autoref{fig:LBC_bdy_geom} shows an example of an irregular boundary. 
     599\autoref{fig:LBC_bdy_geom} shows an example of an irregular boundary. 
    597600 
    598601The boundary geometry for each set may be defined in a namelist nambdy\_index or 
     
    607610 
    608611The boundary geometry may also be defined from a ``\ifile{coordinates.bdy}'' file. 
    609 Figure \autoref{fig:LBC_nc_header} gives an example of the header information from such a file, based on the description of geometrical setup given above. 
     612\autoref{fig:LBC_nc_header} gives an example of the header information from such a file, based on the description of geometrical setup given above. 
    610613The file should contain the index arrays for each of the $T$, $U$ and $V$ grids. 
    611614The arrays must be in order of increasing $nbr$. 
     
    624627%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    625628\begin{figure}[!t] 
    626   \begin{center} 
    627     \includegraphics[width=\textwidth]{Fig_LBC_bdy_geom} 
    628     \caption { 
    629       \protect\label{fig:LBC_bdy_geom} 
    630       Example of geometry of unstructured open boundary 
    631     } 
    632   \end{center} 
     629  \centering 
     630  \includegraphics[width=\textwidth]{Fig_LBC_bdy_geom} 
     631  \caption[Geometry of unstructured open boundary]{Example of geometry of unstructured open boundary} 
     632  \label{fig:LBC_bdy_geom} 
    633633\end{figure} 
    634634%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    664664%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    665665\begin{figure}[!t] 
    666   \begin{center} 
    667     \includegraphics[width=\textwidth]{Fig_LBC_nc_header} 
    668     \caption { 
    669       \protect\label{fig:LBC_nc_header} 
    670       Example of the header for a \protect\ifile{coordinates.bdy} file 
    671     } 
    672   \end{center} 
     666  \centering 
     667  \includegraphics[width=\textwidth]{Fig_LBC_nc_header} 
     668  \caption[Header for a \protect\ifile{coordinates.bdy} file]{ 
     669    Example of the header for a \protect\ifile{coordinates.bdy} file} 
     670  \label{fig:LBC_nc_header} 
    673671\end{figure} 
    674672%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    697695%-----------------------------------------nambdy_tide-------------------------------------------- 
    698696 
    699 \nlst{nambdy_tide} 
     697\begin{listing} 
     698  \nlst{nambdy_tide} 
     699  \caption{\texttt{nambdy\_tide}} 
     700  \label{lst:nambdy_tide} 
     701\end{listing} 
    700702%----------------------------------------------------------------------------------------------- 
    701703 
Note: See TracChangeset for help on using the changeset viewer.