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

Ignore:
Timestamp:
2019-09-20T11:44:31+02:00 (5 years ago)
Author:
nicolasmartin
Message:

New LaTeX commands \nam and \np to mention namelist content (step 2)
Finally convert \forcode{...} following \np{}{} into optional arg of the new command \np[]{}{}

File:
1 edited

Legend:

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

    r11578 r11582  
    11\documentclass[../main/NEMO_manual]{subfiles} 
     2 
     3\onlyinsubfile{\makeindex} 
    24 
    35\begin{document} 
     
    487489    (d) hybrid $s-z$ coordinate, 
    488490    (e) hybrid $s-z$ coordinate with partial step, and 
    489     (f) same as (e) but in the non-linear free surface (\protect\np{ln_linssh}{ln\_linssh}\forcode{=.false.}). 
     491    (f) same as (e) but in the non-linear free surface (\protect\np[=.false.]{ln_linssh}{ln\_linssh}). 
    490492    Note that the non-linear free surface can be used with any of the 5 coordinates (a) to (e).} 
    491493  \label{fig:DOM_z_zps_s_sps} 
     
    524526 
    525527\begin{itemize} 
    526 \item $z$-coordinate with full step bathymetry (\np{ln_zco}{ln\_zco}\forcode{=.true.}), 
    527 \item $z$-coordinate with partial step ($zps$) bathymetry (\np{ln_zps}{ln\_zps}\forcode{=.true.}), 
    528 \item Generalized, $s$-coordinate (\np{ln_sco}{ln\_sco}\forcode{=.true.}). 
     528\item $z$-coordinate with full step bathymetry (\np[=.true.]{ln_zco}{ln\_zco}), 
     529\item $z$-coordinate with partial step ($zps$) bathymetry (\np[=.true.]{ln_zps}{ln\_zps}), 
     530\item Generalized, $s$-coordinate (\np[=.true.]{ln_sco}{ln\_sco}). 
    529531\end{itemize} 
    530532 
     
    544546They are updated at each model time step. 
    545547The initial fixed reference coordinate system is held in variable names with a $\_0$ suffix. 
    546 When the linear free surface option is used (\np{ln_linssh}{ln\_linssh}\forcode{=.true.}), 
     548When the linear free surface option is used (\np[=.true.]{ln_linssh}{ln\_linssh}), 
    547549\textit{before}, \textit{now} and \textit{after} arrays are initially set to 
    548550their reference counterpart and remain fixed. 
     
    682684 
    683685\begin{description} 
    684 \item[\np{ln_tsd_init}{ln\_tsd\_init}\forcode{= .true.}] 
     686\item[{\np[=.true.]{ln_tsd_init}{ln\_tsd\_init}}] 
    685687  Use T and S input files that can be given on the model grid itself or on their native input data grids. 
    686688  In the latter case, the data will be interpolated on-the-fly both in the horizontal and the vertical to the model grid 
     
    688690  The information relating to the input files are specified in the \np{sn_tem}{sn\_tem} and \np{sn_sal}{sn\_sal} structures. 
    689691  The computation is done in the \mdl{dtatsd} module. 
    690 \item[\np{ln_tsd_init}{ln\_tsd\_init}\forcode{= .false.}] 
     692\item[{\np[=.false.]{ln_tsd_init}{ln\_tsd\_init}}] 
    691693  Initial values for T and S are set via a user supplied \rou{usr\_def\_istate} routine contained in \mdl{userdef\_istate}. 
    692694  The default version sets horizontally uniform T and profiles as used in the GYRE configuration 
     
    694696\end{description} 
    695697 
    696 \biblio 
    697  
    698 \pindex 
     698\onlyinsubfile{\bibliography{../main/bibliography}} 
     699 
     700\onlyinsubfile{\printindex} 
    699701 
    700702\end{document} 
Note: See TracChangeset for help on using the changeset viewer.