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 9392 for branches/2017/dev_merge_2017/DOC/tex_sub/chap_DOM.tex – NEMO

Ignore:
Timestamp:
2018-03-09T16:57:00+01:00 (6 years ago)
Author:
nicolasmartin
Message:

Global replacement of patterns \np{id}=value by \forcode{id = value} for integer and booleans

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/DOC/tex_sub/chap_DOM.tex

    r9389 r9392  
    454454(d) hybrid $s-z$ coordinate,  
    455455(e) hybrid $s-z$ coordinate with partial step, and  
    456 (f) same as (e) but in the non-linear free surface (\protect\np{ln_linssh}=false).  
     456(f) same as (e) but in the non-linear free surface (\protect\forcode{ln_linssh = .false.}).  
    457457Note that the non-linear free surface can be used with any of the  
    4584585 coordinates (a) to (e).} 
     
    469469(Fig.~\ref{Fig_z_zps_s_sps}d and \ref{Fig_z_zps_s_sps}e). By default a non-linear free surface is used: 
    470470the coordinate follow the time-variation of the free surface so that the transformation is time dependent:  
    471 $z(i,j,k,t)$ (Fig.~\ref{Fig_z_zps_s_sps}f). When a linear free surface is assumed (\np{ln_linssh}=true),  
     471$z(i,j,k,t)$ (Fig.~\ref{Fig_z_zps_s_sps}f). When a linear free surface is assumed (\forcode{ln_linssh = .true.}),  
    472472the vertical coordinate are fixed in time, but the seawater can move up and down across the z=0 surface  
    473473(in other words, the top of the ocean in not a rigid-lid).  
     
    503503%%% 
    504504 
    505 Unless a linear free surface is used (\np{ln_linssh}=false), the arrays describing  
     505Unless a linear free surface is used (\forcode{ln_linssh = .false.}), the arrays describing  
    506506the grid point depths and vertical scale factors are three set of three dimensional arrays $(i,j,k)$  
    507507defined at \textit{before}, \textit{now} and \textit{after} time step. The time at which they are 
    508508defined is indicated by a suffix:$\_b$, $\_n$, or $\_a$, respectively. They are updated at each model time step 
    509509using a fixed reference coordinate system which computer names have a $\_0$ suffix.  
    510 When the linear free surface option is used (\np{ln_linssh}=true), \textit{before}, \textit{now}  
     510When the linear free surface option is used (\forcode{ln_linssh = .true.}), \textit{before}, \textit{now}  
    511511and \textit{after} arrays are simply set one for all to their reference counterpart.  
    512512 
     
    551551% ------------------------------------------------------------------------------------------------------------- 
    552552\subsection[$z$-coordinate (\protect\np{ln_zco}] 
    553         {$z$-coordinate (\protect\np{ln_zco}=true) and reference coordinate} 
     553        {$z$-coordinate (\protect\forcode{ln_zco = .true.}) and reference coordinate} 
    554554\label{DOM_zco} 
    555555 
     
    629629Rather than entering parameters $h_{sur}$, $h_{0}$, and $h_{1}$ directly, it is  
    630630possible to recalculate them. In that case the user sets  
    631 \np{ppsur}=\np{ppa0}=\np{ppa1}=999999., in \ngn{namcfg} namelist,  
     631\np{ppsur}=\np{ppa0}=\forcode{ppa1 = 999999}., in \ngn{namcfg} namelist,  
    632632and specifies instead the four following parameters: 
    633633\begin{itemize} 
     
    640640\end{itemize} 
    641641As an example, for the $45$ layers used in the DRAKKAR configuration those  
    642 parameters are: \jp{jpk}=46, \np{ppacr}=9, \np{ppkth}=23.563, \np{ppdzmin}=6m,  
    643 \np{pphmax}=5750m. 
     642parameters are: \jp{jpk}=46, \forcode{ppacr = 9}, \forcode{ppkth = 23}.563, \forcode{ppdzmin = 6}m,  
     643\forcode{pphmax = 5750}m. 
    644644 
    645645%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    722722% ------------------------------------------------------------------------------------------------------------- 
    723723\subsection   [$s$-coordinate (\protect\np{ln_sco})] 
    724            {$s$-coordinate (\protect\np{ln_sco}=true)} 
     724           {$s$-coordinate (\protect\forcode{ln_sco = .true.})} 
    725725\label{DOM_sco} 
    726726%------------------------------------------nam_zgr_sco--------------------------------------------------- 
     
    850850%        z*- or s*-coordinate 
    851851% ------------------------------------------------------------------------------------------------------------- 
    852 \subsection{$z^*$- or $s^*$-coordinate (\protect\np{ln_linssh}=false) } 
     852\subsection{$z^*$- or $s^*$-coordinate (\protect\forcode{ln_linssh = .false.}) } 
    853853\label{DOM_zgr_star} 
    854854 
Note: See TracChangeset for help on using the changeset viewer.