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_cfgs.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_cfgs.tex

    r11578 r11582  
    11\documentclass[../main/NEMO_manual]{subfiles} 
     2 
     3\onlyinsubfile{\makeindex} 
    24 
    35\begin{document} 
     
    253255 
    254256The GYRE configuration is set like an analytical configuration. 
    255 Through \np{ln_read_cfg}{ln\_read\_cfg}\forcode{ = .false.} in \nam{cfg}{cfg} namelist defined in 
     257Through \np[=.false.]{ln_read_cfg}{ln\_read\_cfg} in \nam{cfg}{cfg} namelist defined in 
    256258the reference configuration \path{./cfgs/GYRE_PISCES/EXPREF/namelist_cfg} 
    257259analytical definition of grid in GYRE is done in usrdef\_hrg, usrdef\_zgr routines. 
     
    271273For example, keeping a same model size on each processor while increasing the number of processor used is very easy, 
    272274even though the physical integrity of the solution can be compromised. 
    273 Benchmark is activate via \np{ln_bench}{ln\_bench}\forcode{ = .true.} in \nam{usr_def}{usr\_def} in 
     275Benchmark is activate via \np[=.true.]{ln_bench}{ln\_bench} in \nam{usr_def}{usr\_def} in 
    274276namelist \path{./cfgs/GYRE_PISCES/EXPREF/namelist_cfg}. 
    275277 
     
    299301In particular, the AMM uses $s$-coordinates in the vertical rather than $z$-coordinates and 
    300302is forced with tidal lateral boundary conditions using a Flather boundary condition from the BDY module. 
    301 Also specific to the AMM configuration is the use of the GLS turbulence scheme (\np{ln_zdfgls}{ln\_zdfgls} \forcode{= .true.}). 
     303Also specific to the AMM configuration is the use of the GLS turbulence scheme (\np[=.true.]{ln_zdfgls}{ln\_zdfgls}). 
    302304 
    303305In addition to the tidal boundary condition the model may also take open boundary conditions from 
     
    308310Unlike ordinary river points the Baltic inputs also include salinity and temperature data. 
    309311 
    310 \biblio 
    311  
    312 \pindex 
     312\onlyinsubfile{\bibliography{../main/bibliography}} 
     313 
     314\onlyinsubfile{\printindex} 
    313315 
    314316\end{document} 
Note: See TracChangeset for help on using the changeset viewer.