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

Ignore:
Timestamp:
2018-12-21T15:18:38+01:00 (5 years ago)
Author:
nicolasmartin
Message:

Front page edition, cleaning in custom LaTeX commands and add index for single subfile compilation

  • Use \thanks storing cmd to refer to the ST members list for 2018 in an footnote on the cover page
  • NEMO and Fortran in small capitals
  • Removing of unused or underused custom cmds, move local cmds to their respective .tex file
  • Addition of new ones (\zstar, \ztilde, \sstar, \stilde, \ie, \eg, \fortran, \fninety)
  • Fonts for indexed items: italic font for files (modules and .nc files), preformat for code (CPP keys, routines names and namelists content)
File:
1 edited

Legend:

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

    r10414 r10442  
    5050This technique is sometime called "partially open face" or "partially closed cells". 
    5151The key issue here is only to reduce the faces of $T$-cell 
    52 ($i.e.$ change the value of the horizontal scale factors at $u$- or $v$-point) but not the volume of the $T$-cell. 
     52(\ie change the value of the horizontal scale factors at $u$- or $v$-point) but not the volume of the $T$-cell. 
    5353Indeed, reducing the volume of strait $T$-cell can easily produce a numerical instability at 
    5454that grid point that would require a reduction of the model time step. 
     
    7474      \textit{Bottom}: using viscous boundary layers. 
    7575      The four fmask parameters along the strait coastlines are set to a value larger than 4, 
    76       $i.e.$ "strong" no-slip case (see \autoref{fig:LBC_shlat}) creating a large viscous boundary layer that 
     76      \ie "strong" no-slip case (see \autoref{fig:LBC_shlat}) creating a large viscous boundary layer that 
    7777      allows a reduced transport through the strait. 
    7878    } 
     
    113113\noindent These files define a horizontal domain of 362x332. 
    114114Assuming the first row with open ocean wet points in the non-isf bathymetry for this set is row 42 
    115 (Fortran indexing) then the formally correct setting for \np{open\_ocean\_jstart} is 41. 
     115(\fortran indexing) then the formally correct setting for \np{open\_ocean\_jstart} is 41. 
    116116Using this value as the first row to be read will result in a 362x292 domain which is the same size as 
    117117the original ORCA1 domain. 
     
    167167\label{subsec:MISC_sign} 
    168168 
    169 The SIGN(A, B) is the \textsc {Fortran} intrinsic function delivers the magnitude of A with the sign of B. 
     169The SIGN(A, B) is the \fortran intrinsic function delivers the magnitude of A with the sign of B. 
    170170For example, SIGN(-3.0,2.0) has the value 3.0. 
    171171The problematic case is when the second argument is zero, because, on platforms that support IEEE arithmetic, 
     
    173173There is a positive zero and a negative zero. 
    174174 
    175 In \textsc{Fortran}~90, the processor was required always to deliver a positive result for SIGN(A, B) if B was zero. 
    176 Nevertheless, in \textsc{Fortran}~95, the processor is allowed to do the correct thing and deliver ABS(A) when 
     175In \fninety, the processor was required always to deliver a positive result for SIGN(A, B) if B was zero. 
     176Nevertheless, in \fninety, the processor is allowed to do the correct thing and deliver ABS(A) when 
    177177B is a positive zero and -ABS(A) when B is a negative zero. 
    178178This change in the specification becomes apparent only when B is of type real, and is zero, 
    179179and the processor is capable of distinguishing between positive and negative zero, 
    180180and B is negative real zero. 
    181 Then SIGN delivers a negative result where, under \textsc{Fortran}~90 rules, it used to return a positive result. 
     181Then SIGN delivers a negative result where, under \fninety rules, it used to return a positive result. 
    182182This change may be especially sensitive for the ice model, 
    183183so we overwrite the intrinsinc function with our own function simply performing :   \\ 
     
    296296\biblio 
    297297 
     298\pindex 
     299 
    298300\end{document} 
Note: See TracChangeset for help on using the changeset viewer.