Changeset 14257 for NEMO/trunk/doc/latex/NEMO/subfiles
- Timestamp:
- 2021-01-04T16:13:36+01:00 (3 years ago)
- Location:
- NEMO/trunk/doc/latex/NEMO/subfiles
- Files:
-
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/doc/latex/NEMO/subfiles/apdx_DOMAINcfg.tex
r14178 r14257 7 7 8 8 % {\em 4.0} & {\em Andrew Coward} & {\em Created at v4.0 from materials removed from chap\_DOM that are still relevant to the \forcode{DOMAINcfg} tool and which illustrate and explain the choices to be made by the user when setting up new domains } \\ 9 10 \thispagestyle{plain}11 9 12 10 \chaptertoc … … 91 89 \item [{\np{jphgr_mesh}{jphgr\_mesh}=0}] The most general curvilinear orthogonal grids. 92 90 The coordinates and their first derivatives with respect to $i$ and $j$ are provided 93 in a input file (\ ifile{coordinates}), read in \rou{hgr\_read} subroutine of the domhgr module.91 in a input file (\textit{coordinates.nc}), read in \rou{hgr\_read} subroutine of the domhgr module. 94 92 This is now the only option available within \NEMO\ itself from v4.0 onwards. 95 93 \item [{\np{jphgr_mesh}{jphgr\_mesh}=1 to 5}] A few simple analytical grids are provided (see below). … … 156 154 The reference coordinate transformation $z_0(k)$ defines the arrays $gdept_0$ and 157 155 $gdepw_0$ for $t$- and $w$-points, respectively. See \autoref{sec:DOMCFG_sco} for the 158 S-coordinate options. As indicated on \autoref{fig:DOM_index_vert} \ jp{jpk} is the number of159 $w$-levels. $gdepw_0(1)$ is the ocean surface. There are at most \ jp{jpk}-1 $t$-points156 S-coordinate options. As indicated on \autoref{fig:DOM_index_vert} \texttt{jpk} is the number of 157 $w$-levels. $gdepw_0(1)$ is the ocean surface. There are at most \texttt{jpk}-1 $t$-points 160 158 inside the ocean, the additional $t$-point at $jk = jpk$ is below the sea floor and is not 161 159 used. The vertical location of $w$- and $t$-levels is defined from the analytic … … 167 165 168 166 It is possible to define a simple regular vertical grid by giving zero stretching 169 (\np[=0]{ppacr}{ppacr}). In that case, the parameters \ jp{jpk} (number of $w$-levels)167 (\np[=0]{ppacr}{ppacr}). In that case, the parameters \texttt{jpk} (number of $w$-levels) 170 168 and \np{pphmax}{pphmax} (total ocean depth in meters) fully define the grid. 171 169 … … 179 177 \end{gather} 180 178 181 where $k = 1$ to \ jp{jpk} for $w$-levels and $k = 1$ to $k = 1$ for $t-$levels. Such an179 where $k = 1$ to \texttt{jpk} for $w$-levels and $k = 1$ to $k = 1$ for $t-$levels. Such an 182 180 expression allows us to define a nearly uniform vertical location of levels at the ocean 183 181 top and bottom with a smooth hyperbolic tangent transition in between (\autoref{fig:DOMCFG_zgr}). … … 227 225 \end{equation} 228 226 229 With the choice of the stretching $h_{cr} = 3$ and the number of levels \ jp{jpk}~$= 31$,227 With the choice of the stretching $h_{cr} = 3$ and the number of levels \texttt{jpk}~$= 31$, 230 228 the four coefficients $h_{sur}$, $h_0$, $h_1$, and $h_{th}$ in 231 229 \autoref{eq:DOMCFG_zgr_ana_2} have been determined such that \autoref{eq:DOMCFG_zgr_coef} … … 245 243 Values from $3$ to $10$ are usual. 246 244 \item \np{ppkth}{ppkth}~$= h_{th}$: is approximately the model level at which maximum stretching occurs 247 (nondimensional, usually of order 1/2 or 2/3 of \ jp{jpk})245 (nondimensional, usually of order 1/2 or 2/3 of \texttt{jpk}) 248 246 \item \np{ppdzmin}{ppdzmin}: minimum thickness for the top layer (in meters). 249 247 \item \np{pphmax}{pphmax}: total depth of the ocean (meters). … … 251 249 252 250 As an example, for the $45$ layers used in the DRAKKAR configuration those parameters are: 253 \ jp{jpk}~$= 46$, \np{ppacr}{ppacr}~$= 9$, \np{ppkth}{ppkth}~$= 23.563$, \np{ppdzmin}{ppdzmin}~$= 6~m$,251 \texttt{jpk}~$= 46$, \np{ppacr}{ppacr}~$= 9$, \np{ppkth}{ppkth}~$= 23.563$, \np{ppdzmin}{ppdzmin}~$= 6~m$, 254 252 \np{pphmax}{pphmax}~$= 5750~m$. 255 253 … … 346 344 This is meant for the "EEL-R5" configuration, a periodic or open boundary channel with a seamount. 347 345 \item [{\np[=1]{nn_bathy}{nn\_bathy}}]: read a bathymetry and ice shelf draft (if needed). 348 The \ ifile{bathy\_meter} file (Netcdf format) provides the ocean depth (positive, in meters) at346 The \textit{bathy\_meter.nc} file (Netcdf format) provides the ocean depth (positive, in meters) at 349 347 each grid point of the model grid. 350 348 The bathymetry is usually built by interpolating a standard bathymetry product (\eg\ ETOPO2) onto … … 353 351 no wet levels are defined (all levels are masked). 354 352 355 The \ ifile{isfdraft\_meter} file (Netcdf format) provides the ice shelf draft (positive, in meters) at353 The \textit{isfdraft\_meter.nc} file (Netcdf format) provides the ice shelf draft (positive, in meters) at 356 354 each grid point of the model grid. 357 355 This file is only needed if \np[=.true.]{ln_isfcav}{ln\_isfcav}. … … 396 394 bathymetry varies by less than one level thickness from one grid point to the next). The 397 395 reference layer thicknesses $e_{3t}^0$ have been defined in the absence of bathymetry. 398 With partial steps, layers from 1 to \ jp{jpk}-2can have a thickness smaller than396 With partial steps, layers from 1 to \texttt{jpk-2} can have a thickness smaller than 399 397 $e_{3t}(jk)$. 400 398 401 The model deepest layer (\ jp{jpk}-1) is allowed to have either a smaller or larger399 The model deepest layer (\texttt{jpk-1}) is allowed to have either a smaller or larger 402 400 thickness than $e_{3t}(jpk)$: the maximum thickness allowed is $2*e_{3t}(jpk - 1)$. 403 401 -
NEMO/trunk/doc/latex/NEMO/subfiles/apdx_algos.tex
r11693 r14257 5 5 \chapter{Note on some algorithms} 6 6 \label{apdx:ALGOS} 7 8 \thispagestyle{plain}9 7 10 8 \chaptertoc -
NEMO/trunk/doc/latex/NEMO/subfiles/apdx_diff_opers.tex
r11693 r14257 5 5 \chapter{Diffusive Operators} 6 6 \label{apdx:DIFFOPERS} 7 8 \thispagestyle{plain}9 7 10 8 \chaptertoc -
NEMO/trunk/doc/latex/NEMO/subfiles/apdx_invariants.tex
r11693 r14257 5 5 \chapter{Discrete Invariants of the Equations} 6 6 \label{apdx:INVARIANTS} 7 8 \thispagestyle{plain}9 7 10 8 \chaptertoc -
NEMO/trunk/doc/latex/NEMO/subfiles/apdx_s_coord.tex
r11693 r14257 8 8 % {\em 4.0} & {\em Mike Bell} & {\em review} \\ 9 9 % {\em 3.x} & {\em Gurvan Madec} & {\em original} \\ 10 11 \thispagestyle{plain}12 10 13 11 \chaptertoc -
NEMO/trunk/doc/latex/NEMO/subfiles/apdx_triads.tex
r14113 r14257 15 15 \chapter{Iso-Neutral Diffusion and Eddy Advection using Triads} 16 16 \label{apdx:TRIADS} 17 18 \thispagestyle{plain}19 17 20 18 \chaptertoc -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_ASM.tex
r11693 r14257 8 8 % {\em 4.0} & {\em D. J. Lea} & {\em \NEMO\ 4.0 updates} \\ 9 9 % {\em 3.4} & {\em D. J. Lea, M. Martin, K. Mogensen, A. Weaver} & {\em Initial version} \\ 10 11 \thispagestyle{plain}12 10 13 11 \chaptertoc -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_DIA.tex
r13970 r14257 11 11 % {\em 3.4} & {\em Gurvan Madec, Rachid Benshila, Andrew Coward } & {\em } \\ 12 12 % {\em } & {\em Christian Ethe, Sebastien Masson } & {\em } \\ 13 14 \thispagestyle{plain}15 13 16 14 \chaptertoc … … 666 664 \end{forlines} 667 665 668 \noindent will give the following file name radical: \ ifile{myfile\_ORCA2\_19891231\_freq1d}666 \noindent will give the following file name radical: \textit{myfile\_ORCA2\_19891231\_freq1d} 669 667 670 668 %% ================================================================================================= … … 1942 1940 When \np[=.true.]{ln_subbas}{ln\_subbas}, transports and stream function are computed for the Atlantic, Indian, 1943 1941 Pacific and Indo-Pacific Oceans (defined north of 30\deg{S}) as well as for the World Ocean. 1944 The sub-basin decomposition requires an input file (\ ifile{subbasins}) which contains three 2D mask arrays,1942 The sub-basin decomposition requires an input file (\textit{subbasins}) which contains three 2D mask arrays, 1945 1943 the Indo-Pacific mask been deduced from the sum of the Indian and Pacific mask (\autoref{fig:DIA_mask_subasins}). 1946 1944 1947 1945 \begin{listing} 1948 \nlst{namptr}1946 % \nlst{namptr} 1949 1947 \caption{\forcode{&namptr}} 1950 1948 \label{lst:namptr} -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_DIU.tex
r11693 r14257 5 5 \chapter{Diurnal SST Models (DIU)} 6 6 \label{chap:DIU} 7 8 \thispagestyle{plain}9 7 10 8 \chaptertoc -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_DOM.tex
r11693 r14257 14 14 % - domclo: closed sea and lakes.... 15 15 % management of closea sea area: specific to global cfg, both forced and coupled 16 17 \thispagestyle{plain}18 16 19 17 \chaptertoc … … 368 366 \label{subsec:DOM_size} 369 367 370 The total size of the computational domain is set by the parameters \ jp{jpiglo}, \jp{jpjglo} and371 \ jp{jpkglo} for the $i$, $j$ and $k$ directions, respectively.368 The total size of the computational domain is set by the parameters \texttt{jpiglo}, \texttt{jpjglo} and 369 \texttt{jpkglo} for the $i$, $j$ and $k$ directions, respectively. 372 370 Note, that the variables \texttt{jpi} and \texttt{jpj} refer to 373 371 the size of each processor subdomain when the code is run in parallel using domain decomposition … … 379 377 in which case \np{cn_cfg}{cn\_cfg} and \np{nn_cfg}{nn\_cfg} are set from these values accordingly). 380 378 381 The global lateral boundary condition type is selected from 8 options using parameter \ jp{jperio}.379 The global lateral boundary condition type is selected from 8 options using parameter \texttt{jperio}. 382 380 See \autoref{sec:LBC_jperio} for details on the available options and 383 the corresponding values for \ jp{jperio}.381 the corresponding values for \texttt{jperio}. 384 382 385 383 %% ================================================================================================= … … 465 463 \begin{enumerate} 466 464 \item the bathymetry given in meters; 467 \item the number of levels of the model (\ jp{jpk});465 \item the number of levels of the model (\texttt{jpk}); 468 466 \item the analytical transformation $z(i,j,k)$ and the vertical scale factors 469 467 (derivatives of the transformation); and … … 575 573 every gridcell in the model regardless of the choice of vertical coordinate. 576 574 With constant z-levels, e3 metrics will be uniform across each horizontal level. 577 In the partial step case each e3 at the \ jp{bottom\_level}578 (and, possibly, \ jp{top\_level} if ice cavities are present)575 In the partial step case each e3 at the \texttt{bottom\_level} 576 (and, possibly, \texttt{top\_level} if ice cavities are present) 579 577 may vary from its horizontal neighbours. 580 578 And, in s-coordinates, variations can occur throughout the water column. … … 585 583 those arising from a flat sea surface with zero elevation. 586 584 587 The \ jp{bottom\_level} and \jp{top\_level} 2D arrays define588 the \ jp{bottom\_level} and top wet levels in each grid column.589 Without ice cavities, \ jp{top\_level} is essentially a land mask (0 on land; 1 everywhere else).590 With ice cavities, \ jp{top\_level} determines the first wet point below the overlying ice shelf.585 The \texttt{bottom\_level} and \texttt{top\_level} 2D arrays define 586 the \texttt{bottom\_level} and top wet levels in each grid column. 587 Without ice cavities, \texttt{top\_level} is essentially a land mask (0 on land; 1 everywhere else). 588 With ice cavities, \texttt{top\_level} determines the first wet point below the overlying ice shelf. 591 589 592 590 %% ================================================================================================= … … 594 592 \label{subsec:DOM_msk} 595 593 596 From \ jp{top\_level} and \jp{bottom\_level} fields, the mask fields are defined as follows:594 From \texttt{top\_level} and \texttt{bottom\_level} fields, the mask fields are defined as follows: 597 595 \begin{align*} 598 596 tmask(i,j,k) &= -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_DYN.tex
r14177 r14257 5 5 \chapter{Ocean Dynamics (DYN)} 6 6 \label{chap:DYN} 7 8 \thispagestyle{plain}9 7 10 8 \chaptertoc -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_LBC.tex
r14178 r14257 5 5 \chapter{Lateral Boundary Condition (LBC)} 6 6 \label{chap:LBC} 7 8 \thispagestyle{plain}9 7 10 8 \chaptertoc … … 161 159 162 160 %% ================================================================================================= 163 \section [Model domain boundary condition (\forcode{jperio})]{Model domain boundary condition (\protect\jp{jperio})}161 \section{Model domain boundary condition (\forcode{jperio})} 164 162 \label{sec:LBC_jperio} 165 163 … … 170 168 171 169 %% ================================================================================================= 172 \subsection [Closed, cyclic (\forcode{=0,1,2,7})]{Closed, cyclic (\protect\jp{jperio}\forcode{=0,1,2,7})}170 \subsection{Closed, cyclic (\forcode{jperio={0,1,2,7}})} 173 171 \label{subsec:LBC_jperio012} 174 172 175 173 The choice of closed or cyclic model domain boundary condition is made by 176 setting \ jp{jperio} to 0, 1, 2 or 7 in namelist \nam{cfg}{cfg}.174 setting \forcode{jperio} to 0, 1, 2 or 7 in namelist \nam{cfg}{cfg}. 177 175 Each time such a boundary condition is needed, it is set by a call to routine \mdl{lbclnk}. 178 176 The computation of momentum and tracer trends proceeds from $i=2$ to $i=jpi-1$ and from $j=2$ to $j=jpj-1$, … … 183 181 \begin{description} 184 182 185 \item [For closed boundary (\ jp{jperio}\forcode{=0})], solid walls are imposed at all model boundaries:183 \item [For closed boundary (\forcode{jperio=0})], solid walls are imposed at all model boundaries: 186 184 first and last rows and columns are set to zero. 187 185 188 \item [For cyclic east-west boundary (\ jp{jperio}\forcode{=1})], first and last rows are set to zero (closed) whilst the first column is set to186 \item [For cyclic east-west boundary (\forcode{jperio=1})], first and last rows are set to zero (closed) whilst the first column is set to 189 187 the value of the last-but-one column and the last column to the value of the second one 190 188 (\autoref{fig:LBC_jperio}-a). 191 189 Whatever flows out of the eastern (western) end of the basin enters the western (eastern) end. 192 190 193 \item [For cyclic north-south boundary (\ jp{jperio}\forcode{=2})], first and last columns are set to zero (closed) whilst the first row is set to191 \item [For cyclic north-south boundary (\forcode{jperio=2})], first and last columns are set to zero (closed) whilst the first row is set to 194 192 the value of the last-but-one row and the last row to the value of the second one 195 193 (\autoref{fig:LBC_jperio}-a). 196 194 Whatever flows out of the northern (southern) end of the basin enters the southern (northern) end. 197 195 198 \item [Bi-cyclic east-west and north-south boundary (\ jp{jperio}\forcode{=7})] combines cases 1 and 2.196 \item [Bi-cyclic east-west and north-south boundary (\forcode{jperio=7})] combines cases 1 and 2. 199 197 200 198 \end{description} … … 209 207 210 208 %% ================================================================================================= 211 \subsection [North-fold (\forcode{=3,6})]{North-fold (\protect\jp{jperio}\forcode{=3,6})}209 \subsection{North-fold (\forcode{jperio={3,6}})} 212 210 \label{subsec:LBC_north_fold} 213 211 … … 288 286 Each processor is independent and without message passing or synchronous process, programs run alone and access just its own local memory. 289 287 For this reason, 290 the main model dimensions are now the local dimensions of the subdomain (pencil) that are named \ jp{jpi}, \jp{jpj}, \jp{jpk}.288 the main model dimensions are now the local dimensions of the subdomain (pencil) that are named \texttt{jpi}, \texttt{jpj}, \texttt{jpk}. 291 289 These dimensions include the internal domain and the overlapping rows. 292 The number of rows to exchange (known as the halo) is usually set to one ( nn\_hls=1, in \mdl{par\_oce},290 The number of rows to exchange (known as the halo) is usually set to one (\forcode{nn_hls=1}, in \mdl{par\_oce}, 293 291 and must be kept to one until further notice). 294 The whole domain dimensions are named \ jp{jpiglo}, \jp{jpjglo} and \jp{jpk}.292 The whole domain dimensions are named \texttt{jpiglo}, \texttt{jpjglo} and \texttt{jpk}. 295 293 The relationship between the whole domain and a sub-domain is: 296 294 \begin{gather*} … … 299 297 \end{gather*} 300 298 301 One also defines variables nldi and nlei which correspond to the internal domain bounds, and the variables nimpp and njmpp which are the position of the (1,1) grid-point in the global domain (\autoref{fig:LBC_mpp}). Note that since the version 4, there is no more extra-halo area as defined in \autoref{fig:LBC_mpp} so \ jp{jpi} is now always equal to nlci and \jp{jpj} equal to nlcj.299 One also defines variables nldi and nlei which correspond to the internal domain bounds, and the variables nimpp and njmpp which are the position of the (1,1) grid-point in the global domain (\autoref{fig:LBC_mpp}). Note that since the version 4, there is no more extra-halo area as defined in \autoref{fig:LBC_mpp} so \texttt{jpi} is now always equal to nlci and \texttt{jpj} equal to nlcj. 302 300 303 301 An element of $T_{l}$, a local array (subdomain) corresponds to an element of $T_{g}$, … … 309 307 with $1 \leq i \leq jpi$, $1 \leq j \leq jpj $ , and $1 \leq k \leq jpk$. 310 308 311 The 1-d arrays $mig(1:\ jp{jpi})$ and $mjg(1:\jp{jpj})$, defined in \rou{dom\_glo} routine (\mdl{domain} module), should be used to get global domain indices from local domain indices. The 1-d arrays, $mi0(1:\jp{jpiglo})$, $mi1(1:\jp{jpiglo})$ and $mj0(1:\jp{jpjglo})$, $mj1(1:\jp{jpjglo})$ have the reverse purpose and should be used to define loop indices expressed in global domain indices (see examples in \mdl{dtastd} module).\\309 The 1-d arrays $mig(1:\texttt{jpi})$ and $mjg(1:\texttt{jpj})$, defined in \rou{dom\_glo} routine (\mdl{domain} module), should be used to get global domain indices from local domain indices. The 1-d arrays, $mi0(1:\texttt{jpiglo})$, $mi1(1:\texttt{jpiglo})$ and $mj0(1:\texttt{jpjglo})$, $mj1(1:\texttt{jpjglo})$ have the reverse purpose and should be used to define loop indices expressed in global domain indices (see examples in \mdl{dtastd} module).\\ 312 310 313 311 The \NEMO\ model computes equation terms with the help of mask arrays (0 on land points and 1 on sea points). It is therefore possible that an MPI subdomain contains only land points. To save ressources, we try to supress from the computational domain as much land subdomains as possible. For example if $N_{mpi}$ processes are allocated to NEMO, the domain decomposition will be given by the following equation: … … 372 370 The number of boundary sets is defined by \np{nb_bdy}{nb\_bdy}. 373 371 Each boundary set can be either defined as a series of straight line segments directly in the namelist 374 (\np[=.false.]{ln_coords_file}{ln\_coords\_file}, and a namelist block \forcode{&nambdy_index} must be included for each set) or read in from a file (\np[=.true.]{ln_coords_file}{ln\_coords\_file}, and a ``\ ifile{coordinates.bdy}'' file must be provided).375 The coordinates.bdy file is analagous to the usual \NEMO\ ``\ ifile{coordinates}'' file.372 (\np[=.false.]{ln_coords_file}{ln\_coords\_file}, and a namelist block \forcode{&nambdy_index} must be included for each set) or read in from a file (\np[=.true.]{ln_coords_file}{ln\_coords\_file}, and a ``\textit{coordinates.bdy.nc}'' file must be provided). 373 The coordinates.bdy file is analagous to the usual \NEMO\ ``\textit{coordinates.nc}'' file. 376 374 In the example above, there are two boundary sets, the first of which is defined via a file and 377 375 the second is defined in the namelist. … … 570 568 571 569 The boundary geometry for each set may be defined in a namelist \forcode{&nambdy_index} or 572 by reading in a ``\ ifile{coordinates.bdy}'' file.573 The \ texttt{nambdy\_index} namelist defines a series of straight-line segments for north, east, south and west boundaries.574 One \ texttt{nambdy\_index} namelist block is needed for each boundary condition defined by indexes.570 by reading in a ``\textit{coordinates.bdy.nc}'' file. 571 The \forcode{&nambdy_index} namelist defines a series of straight-line segments for north, east, south and west boundaries. 572 One \forcode{&nambdy_index} namelist block is needed for each boundary condition defined by indexes. 575 573 For the northern boundary, \texttt{nbdysegn} gives the number of segments, 576 \ jp{jpjnob} gives the $j$ index for each segment and \jp{jpindt} and577 \ jp{jpinft} give the start and end $i$ indices for each segment with similar for the other boundaries.574 \texttt{jpjnob} gives the $j$ index for each segment and \texttt{jpindt} and 575 \texttt{jpinft} give the start and end $i$ indices for each segment with similar for the other boundaries. 578 576 These segments define a list of $T$ grid points along the outermost row of the boundary ($nbr\,=\, 1$). 579 577 The code deduces the $U$ and $V$ points and also the points for $nbr\,>\, 1$ if \np[>1]{nn_rimwidth}{nn\_rimwidth}. 580 578 581 The boundary geometry may also be defined from a ``\ ifile{coordinates.bdy}'' file.579 The boundary geometry may also be defined from a ``\textit{coordinates.bdy.nc}'' file. 582 580 \autoref{fig:LBC_nc_header} gives an example of the header information from such a file, based on the description of geometrical setup given above. 583 581 The file should contain the index arrays for each of the $T$, $U$ and $V$ grids. … … 633 631 \centering 634 632 \includegraphics[width=0.66\textwidth]{LBC_nc_header} 635 \caption[Header for a \ protect\ifile{coordinates.bdy} file]{636 Example of the header for a \ protect\ifile{coordinates.bdy} file}633 \caption[Header for a \textit{coordinates.bdy.nc} file]{ 634 Example of the header for a \textit{coordinates.bdy.nc} file} 637 635 \label{fig:LBC_nc_header} 638 636 \end{figure} … … 684 682 \texttt{<constituent>\_z1} and \texttt{<constituent>\_z2} for the real and imaginary parts of 685 683 SSH, respectively, are expected to be available in file 686 \ ifile{<input>\_grid\_T}, variables \texttt{<constituent>\_u1} and684 \textit{<input>\_grid\_T.nc}, variables \texttt{<constituent>\_u1} and 687 685 \texttt{<constituent>\_u2} for the real and imaginary parts of u, respectively, in file 688 \ ifile{<input>\_grid\_U}, and \texttt{<constituent>\_v1} and686 \textit{<input>\_grid\_U.nc}, and \texttt{<constituent>\_v1} and 689 687 \texttt{<constituent>\_v2} for the real and imaginary parts of v, respectively, in file 690 \ ifile{<input>\_grid\_V}; when data along open boundary segments is used,688 \textit{<input>\_grid\_V.nc}; when data along open boundary segments is used, 691 689 variables \texttt{z1} and \texttt{z2} (real and imaginary part of SSH) are 692 expected to be available in file \ ifile{<input><constituent>\_grid\_T},690 expected to be available in file \textit{<input><constituent>\_grid\_T.nc}, 693 691 variables \texttt{u1} and \texttt{u2} (real and imaginary part of u) in file 694 \ ifile{<input><constituent>\_grid\_U}, and variables \texttt{v1} and \texttt{v2}692 \textit{<input><constituent>\_grid\_U.nc}, and variables \texttt{v1} and \texttt{v2} 695 693 (real and imaginary part of v) in file 696 \ ifile{<input><constituent>\_grid\_V}.\par694 \textit{<input><constituent>\_grid\_V.nc}.\par 697 695 698 696 Note that the barotropic velocity components are assumed to be defined -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_LDF.tex
r14113 r14257 5 5 \chapter{Lateral Ocean Physics (LDF)} 6 6 \label{chap:LDF} 7 8 \thispagestyle{plain}9 7 10 8 \chaptertoc -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_OBS.tex
r14177 r14257 14 14 % {\em --\texttt{"}--} & {\em ... K. Mogensen, A. Vidard, A. Weaver} & {\em ---\texttt{"}---} \\ 15 15 %\end{tabular} 16 17 \thispagestyle{plain}18 16 19 17 \chaptertoc … … 420 418 421 419 To use Sea Level Anomaly (SLA) data the mean dynamic topography (MDT) must be provided in a separate file defined on 422 the model grid called \ ifile{slaReferenceLevel}.420 the model grid called \textit{slaReferenceLevel.nc}. 423 421 The MDT is required in order to produce the model equivalent sea level anomaly from the model sea surface height. 424 422 Below is an example header for this file (on the ORCA025 grid). -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_SBC.tex
r14177 r14257 5 5 \chapter{Surface Boundary Condition (SBC, SAS, ISF, ICB, TDE)} 6 6 \label{chap:SBC} 7 8 \thispagestyle{plain}9 7 10 8 \chaptertoc … … 646 644 parameters. It is therefore recommended to chose version 3.6 over 3. 647 645 648 \subsection {Cool-skin and warm-layer parametrizations}649 %\subsection[Cool-skin and warm-layer parameterizations (\forcode{ln_skin_cs} \& \forcode{ln_skin_wl})]{Cool-skin and warm-layer parameterizations (\protect\np{ln_skin_cs}{ln\_skin\_cs} \&\np{ln_skin_wl}{ln\_skin\_wl})}646 \subsection[Cool-skin and warm-layer parameterizations ( \forcode{ln_skin_cs} \& \forcode{ln_skin_wl} )] 647 {Cool-skin and warm-layer parameterizations (\protect\np{ln_skin_cs}{ln\_skin\_cs} \& \np{ln_skin_wl}{ln\_skin\_wl})} 650 648 \label{subsec:SBC_skin} 651 649 … … 979 977 ocean tide model}: Mf, Mm, Ssa, Mtm, Msf, Msqm, Sa, K1, O1, P1, Q1, J1, S1, 980 978 M2, S2, N2, K2, nu2, mu2, 2N2, L2, T2, eps2, lam2, R2, M3, MKS2, MN4, MS4, M4, 981 N4, S4, M6, and M8; see file \ hf{tide} and \mdl{tide\_mod} for further979 N4, S4, M6, and M8; see file \textit{tide.h90} and \mdl{tide\_mod} for further 982 980 information and references\footnote{As a legacy option \np{ln_tide_var} can be 983 981 set to \forcode{0}, in which case the 19 tidal constituents (M2, N2, 2N2, S2, 984 982 K2, K1, O1, Q1, P1, M4, Mf, Mm, Msqm, Mtm, S1, MU2, NU2, L2, and T2; see file 985 \ hf{tide}) and associated parameters that have been available in NEMO version983 \textit{tide.h90}) and associated parameters that have been available in NEMO version 986 984 4.0 and earlier are available}. Constituents to be included in the tidal forcing 987 985 (surface and lateral boundaries) are selected by enumerating their respective … … 1013 1011 potential). The tidal tilt factor $\gamma = 1 + k - h$ includes the 1014 1012 Love numbers $k$ and $h$ \citep{love_PRSL09}; this factor is 1015 configurable using \np{rn_tide_gamma} (default value 0.7). Optionally,1013 configurable using \np{rn_tide_gamma}{rn\_tide\_gamma} (default value 0.7). Optionally, 1016 1014 when \np[=.true.]{ln_tide_ramp}{ln\_tide\_ramp}, the equilibrium tidal 1017 1015 forcing can be ramped up linearly from zero during the initial … … 1187 1185 1188 1186 \begin{listing} 1189 \nlst{namsbc_isf}1187 % \nlst{namsbc_isf} 1190 1188 \caption{\forcode{&namsbc_isf}} 1191 1189 \label{lst:namsbc_isf} … … 1292 1290 1293 1291 \begin{listing} 1294 \nlst{namsbc_iscpl}1292 % \nlst{namsbc_iscpl} 1295 1293 \caption{\forcode{&namsbc_iscpl}} 1296 1294 \label{lst:namsbc_iscpl} -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_STO.tex
r11693 r14257 5 5 \chapter{Stochastic Parametrization of EOS (STO)} 6 6 \label{chap:STO} 7 8 \thispagestyle{plain}9 7 10 8 \chaptertoc -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_TRA.tex
r13476 r14257 5 5 \chapter{Ocean Tracers (TRA)} 6 6 \label{chap:TRA} 7 8 \thispagestyle{plain}9 7 10 8 \chaptertoc … … 930 928 When \np{nn_geoflx}{nn\_geoflx} is set to 2, 931 929 a spatially varying geothermal heat flux is introduced which is provided in 932 the \ ifile{geothermal\_heating} NetCDF file930 the \textit{geothermal\_heating.nc} NetCDF file 933 931 (\autoref{fig:TRA_geothermal}) \citep{emile-geay.madec_OS09}. 934 932 … … 1151 1149 \citep{madec.delecluse.ea_JPO96}. 1152 1150 1153 For generating \ ifile{resto},1151 For generating \textit{resto.nc}, 1154 1152 see the documentation for the DMP tools provided with the source code under \path{./tools/DMP_TOOLS}. 1155 1153 … … 1175 1173 $\gamma$ is initialized as \np{rn_atfp}{rn\_atfp}, its default value is \forcode{10.e-3}. 1176 1174 Note that the forcing correction term in the filter is not applied in linear free surface 1177 (\ jp{ln\_linssh}\forcode{=.true.}) (see \autoref{subsec:TRA_sbc}).1175 (\np[=.true.]{ln_linssh}{ln\_linssh}) (see \autoref{subsec:TRA_sbc}). 1178 1176 Not also that in constant volume case, the time stepping is performed on $T$, 1179 1177 not on its content, $e_{3t}T$. -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_ZDF.tex
r14177 r14257 8 8 \chapter{Vertical Ocean Physics (ZDF)} 9 9 \label{chap:ZDF} 10 11 \thispagestyle{plain}12 10 13 11 \chaptertoc … … 1181 1179 These values are assigned in \mdl{zdfdrg}. 1182 1180 Note that there is support for local enhancement of these values via an externally defined 2D mask array 1183 (\np[=.true.]{ln_boost}{ln\_boost}) given in the \ ifile{bfr\_coef} input NetCDF file.1181 (\np[=.true.]{ln_boost}{ln\_boost}) given in the \textit{bfr\_coef.nc} input NetCDF file. 1184 1182 The mask values should vary from 0 to 1. 1185 1183 Locations with a non-zero mask value will have the friction coefficient increased by -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_cfgs.tex
r14196 r14257 5 5 \chapter{Configurations} 6 6 \label{chap:CFGS} 7 8 \thispagestyle{plain}9 7 10 8 \chaptertoc … … 85 83 the SI3 model (ORCA-ICE) and possibly with PISCES biogeochemical model (ORCA-ICE-PISCES). 86 84 An appropriate namelist is available in \path{./cfgs/ORCA2_ICE_PISCES/EXPREF/namelist_cfg} for ORCA2. 87 The domain of ORCA2 configuration is defined in \ ifile{ORCA\_R2\_zps\_domcfg} file,85 The domain of ORCA2 configuration is defined in \textit{ORCA\_R2\_zps\_domcfg.nc} file, 88 86 this file is available in tar file on the \NEMO\ community zenodo platform: \\ 89 87 https://doi.org/10.5281/zenodo.2640723 … … 152 150 Each of configuration is set through the \textit{domain\_cfg} domain configuration file, 153 151 which sets the grid size and configuration name parameters. 154 The \NEMO\ System Team provides only ORCA2 domain input file "\ ifile{ORCA\_R2\_zps\_domcfg}" file152 The \NEMO\ System Team provides only ORCA2 domain input file "\textit{ORCA\_R2\_zps\_domcfg.nc}" file 155 153 (\autoref{tab:CFGS_ORCA}). 156 154 … … 158 156 \centering 159 157 \begin{tabular}{p{4cm} c c c c} 160 Horizontal Grid & \ jp{ORCA\_index} & \jp{jpiglo} & \jp{jpjglo} \\158 Horizontal Grid & \texttt{ORCA\_index} & \texttt{jpiglo} & \texttt{jpjglo} \\ 161 159 \hline \hline 162 160 % 4 \deg\ & 4 & 92 & 76 \\ … … 246 244 Its horizontal resolution (and thus the size of the domain) is determined by 247 245 setting \np{nn_GYRE}{nn\_GYRE} in \nam{usr_def}{usr\_def}: 246 248 247 \begin{align*} 249 \jp{jpiglo}= 30 \times \text{\np{nn_GYRE}{nn\_GYRE}} + 2 + 2 \times \text{\np{nn_hls}{nn\_hls}} \\250 \jp{jpjglo}= 20 \times \text{\np{nn_GYRE}{nn\_GYRE}} + 2 + 2 \times \text{\np{nn_hls}{nn\_hls}}248 jpiglo = 30 \times \text{\np{nn_GYRE}{nn\_GYRE}} + 2 + 2 \times \text{\np{nn_hls}{nn\_hls}} \\ 249 jpjglo = 20 \times \text{\np{nn_GYRE}{nn\_GYRE}} + 2 + 2 \times \text{\np{nn_hls}{nn\_hls}} 251 250 \end{align*} 252 251 253 252 Obviously, the namelist parameters have to be adjusted to the chosen resolution, 254 253 see the Configurations pages on the \NEMO\ web site (\NEMO\ Configurations). 255 In the vertical, GYRE uses the default 30 ocean levels (\ jp{jpk}\forcode{ = 31}) (\autoref{fig:DOM_zgr_e3}).254 In the vertical, GYRE uses the default 30 ocean levels (\forcode{jpk = 31}, \autoref{fig:DOM_zgr_e3}). 256 255 257 256 \begin{listing} -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_conservation.tex
r11693 r14257 5 5 \chapter{Invariants of the Primitive Equations} 6 6 \label{chap:CONS} 7 8 \thispagestyle{plain}9 7 10 8 \chaptertoc -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_misc.tex
r14113 r14257 5 5 \chapter{Miscellaneous Topics} 6 6 \label{chap:MISC} 7 8 \thispagestyle{plain}9 7 10 8 \chaptertoc … … 205 203 206 204 \noindent Consider an ORCA1 207 configuration using the extended grid domain configuration file: \ ifile{eORCA1\_domcfg.nc}205 configuration using the extended grid domain configuration file: \textit{eORCA1\_domcfg.nc} 208 206 This file define a horizontal domain of 362x332. The first row with 209 207 open ocean wet points in the non-isf bathymetry for this set is row 42 (\fortran\ indexing) … … 226 224 \noindent Note that with this option, the j-size of the global domain is (extended 227 225 j-size minus \np{open_ocean_jstart}{open\_ocean\_jstart} + 1 ) and this must match the \texttt{jpjglo} value 228 for the configuration. This means an alternative version of \ ifile{eORCA1\_domcfg.nc} must226 for the configuration. This means an alternative version of \textit{eORCA1\_domcfg.nc} must 229 227 be created for when \np{ln_use_jattr}{ln\_use\_jattr} is active. The \texttt{ncap2} tool provides a 230 228 convenient way of achieving this: … … 234 232 \end{cmds} 235 233 236 The domain configuration file is unique in this respect since it also contains the value of \ jp{jpjglo}234 The domain configuration file is unique in this respect since it also contains the value of \texttt{jpjglo} 237 235 that is read and used by the model. 238 236 Any other global, 2D and 3D, netcdf, input field can be prepared for use in a reduced domain by adding the … … 374 372 375 373 When more information is required for monitoring or debugging purposes, the various 376 forms of output can be selected via the \np{sn \_cfctl} structure. As well as simple374 forms of output can be selected via the \np{sn_cfctl}{sn\_cfctl} structure. As well as simple 377 375 on-off switches this structure also allows selection of a range of processors for 378 376 individual reporting (where appropriate) and a time-increment option to restrict … … 449 447 systems so bug-hunting efforts using this facility should also utilise the \fortran: 450 448 451 \begin{forlines} 452 CALL FLUSH(numout) 453 \end{forlines} 449 \forline|CALL FLUSH(numout)| 454 450 455 451 statement after any additional write statements to ensure that file contents reflect … … 482 478 483 479 \begin{forlines} 484 sn_cfctl%l_glochk = .FALSE.! Range sanity checks are local (F) or global (T). Set T for debugging only485 sn_cfctl%l_allon = .FALSE.! IF T activate all options. If F deactivate all unless l_config is T486 sn_cfctl%l_config = .TRUE.! IF .true. then control which reports are written with the following487 sn_cfctl%l_runstat = .FALSE. ! switches and which areas produce reports with the proc integer settings.488 sn_cfctl%l_trcstat = .FALSE. ! The default settings for the proc integers should ensure489 sn_cfctl%l_oceout = .FALSE. ! that all areas report.490 sn_cfctl%l_layout = .FALSE. !491 sn_cfctl%l_prtctl = .FALSE. !492 sn_cfctl%l_prttrc = .FALSE. !493 sn_cfctl%l_oasout = .FALSE. !494 495 496 497 480 sn_cfctl%l_glochk = .false. ! Range sanity checks are local (F) or global (T). Set T for debugging only 481 sn_cfctl%l_allon = .false. ! IF T activate all options. If F deactivate all unless l_config is T 482 sn_cfctl%l_config = .true. ! IF .true. then control which reports are written with the following 483 sn_cfctl%l_runstat = .false. ! switches and which areas produce reports with the proc integer settings. 484 sn_cfctl%l_trcstat = .false. ! The default settings for the proc integers should ensure 485 sn_cfctl%l_oceout = .false. ! that all areas report. 486 sn_cfctl%l_layout = .false. ! 487 sn_cfctl%l_prtctl = .false. ! 488 sn_cfctl%l_prttrc = .false. ! 489 sn_cfctl%l_oasout = .false. ! 490 sn_cfctl%procmin = 0 ! Minimum area number for reporting [default:0] 491 sn_cfctl%procmax = 1000000 ! Maximum area number for reporting [default:1000000] 492 sn_cfctl%procincr = 1 ! Increment for optional subsetting of areas [default:1] 493 sn_cfctl%ptimincr = 1 ! Timestep increment for writing time step progress info 498 494 \end{forlines} 499 495 -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_model_basics.tex
r14113 r14257 5 5 \chapter{Model Basics} 6 6 \label{chap:MB} 7 8 \thispagestyle{plain}9 7 10 8 \chaptertoc -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_model_basics_zstar.tex
r14178 r14257 4 4 5 5 \chapter{ essai \zstar \sstar} 6 7 \thispagestyle{plain}8 6 9 7 \chaptertoc -
NEMO/trunk/doc/latex/NEMO/subfiles/chap_time_domain.tex
r11693 r14257 5 5 \chapter{Time Domain} 6 6 \label{chap:TD} 7 8 \thispagestyle{plain}9 7 10 8 \chaptertoc
Note: See TracChangeset
for help on using the changeset viewer.