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

Ignore:
Timestamp:
2018-03-09T16:57:00+01:00 (6 years ago)
Author:
nicolasmartin
Message:

Global replacement of patterns \np{id}=value by \forcode{id = value} for integer and booleans

File:
1 edited

Legend:

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

    r9389 r9392  
    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 
    105105files: 
    106106\vspace{-10pt} 
    107 \begin{verbatim} 
    108 eORCA1_bathymetry_v2.nc 
    109 eORCA1_coordinates.nc 
    110 \end{verbatim} 
     107\ifile{eORCA1\_bathymetry\_v2} 
     108\ifile{eORCA1\_coordinates} 
    111109\noindent These files define a horizontal domain of 362x332. Assuming the first row with 
    112110open ocean wet points in the non-isf bathymetry for this set is row 42 (Fortran indexing) 
    113 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 
    114112first row to be read will result in a 362x292 domain which is the same size as the original 
    115113ORCA1 domain. Thus the extended coordinates and bathymetry files can be used with all the 
     
    130128 
    131129\noindent Note the j-size of the global domain is the (extended j-size minus 
    132 \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 
    133131bathymetry and coordinates currently. However the option can be extended to any global, 2D 
    134132and 3D, netcdf, input field by adding the: 
     
    137135lrowattr=ln_use_jattr 
    138136\end{forlines} 
    139 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. 
    140138 
    141139%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    225223required by each individual for the fold operation. This alternative method should give identical 
    226224results to the default \textsc{ALLGATHER} method and is recommended for large values of \np{jpni}. 
    227 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 
    228226reproducibility of results using the two methods should be confirmed for each new, non-reference 
    229227configuration. 
     
    253251$\bullet$ Control print %: describe here 4 things: 
    254252 
    255 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  
    256254in all TRA, DYN, LDF and ZDF modules. This option is very helpful when  
    257255diagnosing the origin of an undesired change in model results.  
    258256 
    259 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  
    260258the source of differences between mono and multi processor runs. 
    261259 
    262260%%gm   to be removed both here and in the code 
    263 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  
    264262a sum over the whole domain is performed as the summation over all processors of  
    265263each of their sums over their interior domains. This double sum never gives exactly  
     
    271269%%gm end 
    272270 
    273 $\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  
    274272a GYRE configuration (see \S\ref{CFG_gyre}) in which the resolution remains the same  
    275273whatever 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.