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 9393 for branches/2017/dev_merge_2017/DOC/tex_sub/chap_misc.tex – NEMO

Ignore:
Timestamp:
2018-03-13T15:00:56+01:00 (6 years ago)
Author:
nicolasmartin
Message:

Cleaning of section headings, reinstating the index by mixing \np and \forcode macros, continued conversion of source code inclusions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/DOC/tex_sub/chap_misc.tex

    r9392 r9393  
    1414% Representation of Unresolved Straits 
    1515% ================================================================ 
    16 \section{Representation of Unresolved Straits} 
     16\section{Representation of unresolved straits} 
    1717\label{MISC_strait} 
    1818 
     
    8989% Sub-Domain Functionality  
    9090% ================================================================ 
    91 \section{Sub-Domain Functionality} 
     91\section{Sub-domain functionality} 
    9292\label{MISC_zoom} 
    9393 
    94 \subsection{Simple subsetting of input files via netCDF attributes} 
     94\subsection{Simple subsetting of input files via NetCDF attributes} 
    9595 
    9696The extended grids for use with the under-shelf ice cavities will result in redundant rows 
     
    100100existing 'zoom' options are overly complex for this task and marked for deletion anyway. 
    101101This alternative subsetting operates for the j-direction only and works by optionally 
    102 looking for and using a global file attribute (named: \np{open_ocean_jstart}) to 
     102looking for and using a global file attribute (named: \np{open\_ocean\_jstart}) to 
    103103determine the starting j-row for input. The use of this option is best explained with an 
    104104example: Consider an ORCA1 configuration using the extended grid bathymetry and coordinate 
     
    109109\noindent These files define a horizontal domain of 362x332. Assuming the first row with 
    110110open ocean wet points in the non-isf bathymetry for this set is row 42 (Fortran indexing) 
    111 then the formally correct setting for \np{open_ocean_jstart} is 41. Using this value as the 
     111then the formally correct setting for \np{open\_ocean\_jstart} is 41. Using this value as the 
    112112first row to be read will result in a 362x292 domain which is the same size as the original 
    113113ORCA1 domain. Thus the extended coordinates and bathymetry files can be used with all the 
     
    128128 
    129129\noindent Note the j-size of the global domain is the (extended j-size minus 
    130 \np{open_ocean_jstart} + 1 ) and this must match the size of all datasets other than 
     130\np{open\_ocean\_jstart} + 1 ) and this must match the size of all datasets other than 
    131131bathymetry and coordinates currently. However the option can be extended to any global, 2D 
    132132and 3D, netcdf, input field by adding the: 
     
    135135lrowattr=ln_use_jattr 
    136136\end{forlines} 
    137 optional argument to the appropriate \np{iom_get} call and the \np{open_ocean_jstart} attribute to the corresponding input files. It remains the users responsibility to set \np{jpjdta} and \np{jpjglo} values in the \np{namelist_cfg} file according to their needs. 
     137optional argument to the appropriate \np{iom\_get} call and the \np{open\_ocean\_jstart} attribute to the corresponding input files. It remains the users responsibility to set \np{jpjdta} and \np{jpjglo} values in the \np{namelist\_cfg} file according to their needs. 
    138138 
    139139%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    149149% Accuracy and Reproducibility 
    150150% ================================================================ 
    151 \section{Accuracy and Reproducibility (\protect\mdl{lib\_fortran})} 
     151\section{Accuracy and reproducibility (\protect\mdl{lib\_fortran})} 
    152152\label{MISC_fortran} 
    153153 
     
    223223required by each individual for the fold operation. This alternative method should give identical 
    224224results to the default \textsc{ALLGATHER} method and is recommended for large values of \np{jpni}. 
    225 The new method is activated by setting \np{ln_nnogather} to be true ({\bf nammpp}). The 
     225The new method is activated by setting \np{ln\_nnogather} to be true ({\bf nammpp}). The 
    226226reproducibility of results using the two methods should be confirmed for each new, non-reference 
    227227configuration. 
     
    230230% Model optimisation, Control Print and Benchmark 
    231231% ================================================================ 
    232 \section{Model Optimisation, Control Print and Benchmark} 
     232\section{Model optimisation, control print and benchmark} 
    233233\label{MISC_opt} 
    234234%--------------------------------------------namctl------------------------------------------------------- 
     
    251251$\bullet$ Control print %: describe here 4 things: 
    252252 
    253 1- \np{ln_ctl} : compute and print the trends averaged over the interior domain  
     2531- \np{ln\_ctl} : compute and print the trends averaged over the interior domain  
    254254in all TRA, DYN, LDF and ZDF modules. This option is very helpful when  
    255255diagnosing the origin of an undesired change in model results.  
    256256 
    257 2- also \np{ln_ctl} but using the nictl and njctl namelist parameters to check  
     2572- also \np{ln\_ctl} but using the nictl and njctl namelist parameters to check  
    258258the source of differences between mono and multi processor runs. 
    259259 
    260260%%gm   to be removed both here and in the code 
    261 3- last digit comparison (\np{nn_bit_cmp}). In an MPP simulation, the computation of  
     2613- last digit comparison (\np{nn\_bit\_cmp}). In an MPP simulation, the computation of  
    262262a sum over the whole domain is performed as the summation over all processors of  
    263263each of their sums over their interior domains. This double sum never gives exactly  
     
    269269%%gm end 
    270270 
    271 $\bullet$  Benchmark (\np{nn_bench}). This option defines a benchmark run based on  
     271$\bullet$  Benchmark (\np{nn\_bench}). This option defines a benchmark run based on  
    272272a GYRE configuration (see \S\ref{CFG_gyre}) in which the resolution remains the same  
    273273whatever the domain size. This allows a very large model domain to be used, just by  
Note: See TracChangeset for help on using the changeset viewer.