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/apdx_algos.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/apdx_algos.tex

    r11577 r11582  
    11\documentclass[../main/NEMO_manual]{subfiles} 
     2 
     3\onlyinsubfile{\makeindex} 
    24 
    35\begin{document} 
     
    1719%        UBS scheme 
    1820% ------------------------------------------------------------------------------------------------------------- 
    19 \section{Upstream Biased Scheme (UBS) (\protect\np{ln_traadv_ubs}{ln\_traadv\_ubs}\forcode{ = .true.})} 
     21\section{Upstream Biased Scheme (UBS) (\protect\np[=.true.]{ln_traadv_ubs}{ln\_traadv\_ubs})} 
    2022\label{sec:ALGOS_tra_adv_ubs} 
    2123 
     
    5961the control of artificial diapycnal fluxes is of paramount importance. 
    6062It has therefore been preferred to evaluate the vertical flux using the TVD scheme when 
    61 \np{ln_traadv_ubs}{ln\_traadv\_ubs}\forcode{ = .true.}. 
     63\np[=.true.]{ln_traadv_ubs}{ln\_traadv\_ubs}. 
    6264 
    6365For stability reasons, in \autoref{eq:TRA_adv_ubs}, the first term which corresponds to 
     
    841843\ie\ the variance of the tracer is preserved by the discretisation of the skew fluxes. 
    842844 
    843 \biblio 
    844  
    845 \pindex 
     845\onlyinsubfile{\bibliography{../main/bibliography}} 
     846 
     847\onlyinsubfile{\printindex} 
    846848 
    847849\end{document} 
Note: See TracChangeset for help on using the changeset viewer.