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 11596 for NEMO/trunk/doc/latex/NEMO/subfiles/chap_misc.tex – NEMO

Ignore:
Timestamp:
2019-09-25T19:06:37+02:00 (5 years ago)
Author:
nicolasmartin
Message:

Application of some coding rules

  • Replace comments before sectioning cmds by a single line of 100 characters long to display when every line should break
  • Replace multi blank lines by one single blank line
  • For list environment, put \item, label and content on the same line
  • Remove \newpage and comments line around figure envs
File:
1 edited

Legend:

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

    r11584 r11596  
    22 
    33\begin{document} 
    4 % ================================================================ 
    5 % Chapter --- Miscellaneous Topics 
    6 % ================================================================ 
    74\chapter{Miscellaneous Topics} 
    85\label{chap:MISC} 
     
    107\chaptertoc 
    118 
    12 \newpage 
    13  
    14 % ================================================================ 
    15 % Representation of Unresolved Straits 
    16 % ================================================================ 
    179\section{Representation of unresolved straits} 
    1810\label{sec:MISC_strait} 
     
    3628lateral friction. 
    3729 
    38 % ------------------------------------------------------------------------------------------------------------- 
    39 %       Hand made geometry changes 
    40 % ------------------------------------------------------------------------------------------------------------- 
    4130\subsection{Hand made geometry changes} 
    4231\label{subsec:MISC_strait_hand} 
     
    8372\texttt{fmask} for any other configuration. 
    8473 
    85 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    8674\begin{figure}[!tbp] 
    8775  \centering 
     
    10088  \label{fig:MISC_strait_hand} 
    10189\end{figure} 
    102 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    103  
    104 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     90 
    10591\begin{figure}[!tbp] 
    10692  \centering 
     
    116102  \label{fig:MISC_closea_mask_example} 
    117103\end{figure} 
    118 %>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    119  
    120 % ================================================================ 
    121 % Closed seas 
    122 % ================================================================ 
     104 
    123105\section[Closed seas (\textit{closea.F90})]{Closed seas (\protect\mdl{closea})} 
    124106\label{sec:MISC_closea} 
     
    141123 
    142124\begin{enumerate} 
    143 \item{{\bfseries No ``closea\_mask'' field is included in domain configuration 
     125\item {{\bfseries No ``closea\_mask'' field is included in domain configuration 
    144126  file.} In this case the closea module does nothing.} 
    145127 
    146 \item{{\bfseries A field called closea\_mask is included in the domain 
     128\item {{\bfseries A field called closea\_mask is included in the domain 
    147129configuration file and ln\_closea=.false. in namelist namcfg.} In this 
    148130case the inland seas defined by the closea\_mask field are filled in 
     
    150132closea\_mask that is nonzero is set to be a land point.} 
    151133 
    152 \item{{\bfseries A field called closea\_mask is included in the domain 
     134\item {{\bfseries A field called closea\_mask is included in the domain 
    153135configuration file and ln\_closea=.true. in namelist namcfg.} Each 
    154136inland sea or group of inland seas is set to a positive integer value 
     
    159141closea\_mask is zero).} 
    160142 
    161 \item{{\bfseries Fields called closea\_mask and closea\_mask\_rnf are 
     143\item {{\bfseries Fields called closea\_mask and closea\_mask\_rnf are 
    162144included in the domain configuration file and ln\_closea=.true. in 
    163145namelist namcfg.} This option works as for option 3, except that if 
     
    173155ocean.} 
    174156 
    175 \item{{\bfseries Fields called closea\_mask and closea\_mask\_emp are 
     157\item {{\bfseries Fields called closea\_mask and closea\_mask\_emp are 
    176158included in the domain configuration file and ln\_closea=.true. in 
    177159namelist namcfg.} This option works the same as option 4 except that 
     
    185167them to the domain configuration file in the utils/tools/DOMAINcfg directory. 
    186168 
    187 % ================================================================ 
    188 % Sub-Domain Functionality 
    189 % ================================================================ 
    190169\section{Sub-domain functionality} 
    191170\label{sec:MISC_zoom} 
     
    213192 
    214193\begin{itemize} 
    215 \item  Add the new attribute to any input files requiring a j-row offset, i.e: 
     194\item Add the new attribute to any input files requiring a j-row offset, i.e: 
    216195\begin{cmds} 
    217196ncatted  -a open_ocean_jstart,global,a,d,41 eORCA1_domcfg.nc 
     
    251230conditions. Experimenting with this remains an exercise for the user. 
    252231 
    253 % ================================================================ 
    254 % Accuracy and Reproducibility 
    255 % ================================================================ 
    256232\section[Accuracy and reproducibility (\textit{lib\_fortran.F90})]{Accuracy and reproducibility (\protect\mdl{lib\_fortran})} 
    257233\label{sec:MISC_fortran} 
     
    281257We use a CPP key as the overwritting of a intrinsic function can present performance issues with 
    282258some computers/compilers. 
    283  
    284259 
    285260\subsection{MPP reproducibility} 
     
    336311non-reference configuration. 
    337312 
    338 % ================================================================ 
    339 % Model optimisation, Control Print and Benchmark 
    340 % ================================================================ 
    341313\section{Model optimisation, control print and benchmark} 
    342314\label{sec:MISC_opt} 
     
    367339 
    368340\begin{enumerate} 
    369 \item{\np{ln_ctl}{ln\_ctl}: compute and print the trends averaged over the interior domain in all TRA, DYN, LDF and 
     341\item {\np{ln_ctl}{ln\_ctl}: compute and print the trends averaged over the interior domain in all TRA, DYN, LDF and 
    370342ZDF modules. 
    371343This option is very helpful when diagnosing the origin of an undesired change in model results. } 
    372344 
    373 \item{also \np{ln_ctl}{ln\_ctl} but using the nictl and njctl namelist parameters to check the source of differences between 
     345\item {also \np{ln_ctl}{ln\_ctl} but using the nictl and njctl namelist parameters to check the source of differences between 
    374346mono and multi processor runs.} 
    375347\end{enumerate} 
     
    415387increment also applies to the time.step file which is otherwise updated every timestep. 
    416388 
    417 % ================================================================ 
    418  
    419 \onlyinsubfile{\input{../../global/epilogue}} 
    420  
    421 \end{document} 
Note: See TracChangeset for help on using the changeset viewer.