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

Ignore:
Timestamp:
2019-09-25T19:06:37+02:00 (5 years ago)
Author:
nicolasmartin
Message:

Application of some coding rules

  • Replace comments before sectioning cmds by a single line of 100 characters long to display when every line should break
  • Replace multi blank lines by one single blank line
  • For list environment, put \item, label and content on the same line
  • Remove \newpage and comments line around figure envs
File:
1 edited

Legend:

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

    r11584 r11596  
    22 
    33\begin{document} 
    4 % ================================================================ 
    5 % Appendix E : Note on some algorithms 
    6 % ================================================================ 
    74\chapter{Note on some algorithms} 
    85\label{apdx:ALGOS} 
     
    107\chaptertoc 
    118 
    12 \newpage 
    13  
    149This appendix some on going consideration on algorithms used or planned to be used in \NEMO. 
    1510 
    16 % ------------------------------------------------------------------------------------------------------------- 
    17 %        UBS scheme 
    18 % ------------------------------------------------------------------------------------------------------------- 
    1911\section{Upstream Biased Scheme (UBS) (\protect\np[=.true.]{ln_traadv_ubs}{ln\_traadv\_ubs})} 
    2012\label{sec:ALGOS_tra_adv_ubs} 
     
    188180which leads to ${A_u^{lT}} = \frac{1}{12} {e_{1u}}^3\ |u|$ 
    189181 
    190 % ------------------------------------------------------------------------------------------------------------- 
    191 %        Leap-Frog energetic 
    192 % ------------------------------------------------------------------------------------------------------------- 
    193182\section{Leapfrog energetic} 
    194183\label{sec:ALGOS_LF} 
     
    244233In time this boundary condition is not physical and \textbf{add something here!!!} 
    245234 
    246 % ================================================================ 
    247 % Iso-neutral diffusion : 
    248 % ================================================================ 
    249  
    250235\section{Lateral diffusion operator} 
    251236 
    252 % ================================================================ 
    253 % Griffies' iso-neutral diffusion operator : 
    254 % ================================================================ 
    255237\subsection{Griffies iso-neutral diffusion operator} 
    256238 
     
    305287the presence of partial cell at the ocean bottom (see \autoref{subsec:ALGOS_Gf_operator}). 
    306288 
    307 %>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    308289\begin{figure}[!ht] 
    309290  \centering 
     
    315296  \label{fig:ALGOS_ISO_triad} 
    316297\end{figure} 
    317 %>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    318298 
    319299The four iso-neutral fluxes associated with the triads are defined at $T$-point. 
     
    372352This expression of the iso-neutral diffusion has been chosen in order to satisfy the following six properties: 
    373353\begin{description} 
    374 \item[$\bullet$ horizontal diffusion] 
     354\item [$\bullet$ horizontal diffusion] 
    375355  The discretization of the diffusion operator recovers the traditional five-point Laplacian in 
    376356  the limit of flat iso-neutral direction: 
     
    383363  \] 
    384364 
    385 \item[$\bullet$ implicit treatment in the vertical] 
     365\item [$\bullet$ implicit treatment in the vertical] 
    386366  In the diagonal term associated with the vertical divergence of the iso-neutral fluxes 
    387367  \ie\ the term associated with a second order vertical derivative) 
     
    397377  can be quite large. 
    398378 
    399 \item[$\bullet$ pure iso-neutral operator] 
     379\item [$\bullet$ pure iso-neutral operator] 
    400380  The iso-neutral flux of locally referenced potential density is zero, \ie 
    401381  \begin{align*} 
     
    413393  the definition of the triads' slopes \autoref{eq:ALGOS_Gf_slopes}. 
    414394 
    415 \item[$\bullet$ conservation of tracer] 
     395\item [$\bullet$ conservation of tracer] 
    416396  The iso-neutral diffusion term conserve the total tracer content, \ie 
    417397  \[ 
     
    421401This property is trivially satisfied since the iso-neutral diffusive operator is written in flux form. 
    422402 
    423 \item[$\bullet$ decrease of tracer variance] 
     403\item [$\bullet$ decrease of tracer variance] 
    424404  The iso-neutral diffusion term does not increase the total tracer variance, \ie 
    425405  \[ 
     
    434414the field on which it is applied become free of grid-point noise. 
    435415 
    436 \item[$\bullet$ self-adjoint operator] 
     416\item [$\bullet$ self-adjoint operator] 
    437417  The iso-neutral diffusion operator is self-adjoint, \ie 
    438418  \[ 
     
    446426\end{description} 
    447427 
    448 % ================================================================ 
    449 % Skew flux formulation for Eddy Induced Velocity : 
    450 % ================================================================ 
    451428\subsection{Eddy induced velocity and skew flux formulation} 
    452429 
     
    602579 
    603580$\ $\newpage      %force an empty line 
    604 % ================================================================ 
    605 % Discrete Invariants of the iso-neutral diffrusion 
    606 % ================================================================ 
    607581\subsection{Discrete invariants of the iso-neutral diffrusion} 
    608582\label{subsec:ALGOS_Gf_operator} 
     
    767741There is no need to develop a specific to obtain it. 
    768742 
    769 \newpage 
    770  
    771 % ================================================================ 
    772 % Discrete Invariants of the skew flux formulation 
    773 % ================================================================ 
    774743\subsection{Discrete invariants of the skew flux formulation} 
    775744\label{subsec:ALGOS_eiv_skew} 
Note: See TracChangeset for help on using the changeset viewer.