1 |
jmc |
1.1 |
% $Header: /u/gcmpack/manual/s_examples/global_oce_latlon/climatalogical_ogcm.tex,v 1.22 2011/05/02 10:46:28 mlosch Exp $ |
2 |
|
|
% $Name: $ |
3 |
|
|
|
4 |
|
|
%\subsubsection{File {\it code/SIZE.h}} |
5 |
|
|
%\label{www:tutorials} |
6 |
|
|
|
7 |
|
|
Four lines are customized in this file for the current experiment |
8 |
|
|
|
9 |
|
|
\begin{itemize} |
10 |
|
|
|
11 |
|
|
\item Line PUT_LINE_NB:sNx=, |
12 |
|
|
\begin{verbatim} |
13 |
|
|
sNx=45, |
14 |
|
|
\end{verbatim} |
15 |
|
|
%this line sets the lateral domain extent in grid points for the |
16 |
|
|
%axis aligned with the x-coordinate. |
17 |
|
|
this line sets the number of grid points of each tile (or sub-domain) |
18 |
|
|
along the x-coordinate axis. |
19 |
|
|
|
20 |
|
|
\item Line PUT_LINE_NB:sNy=, |
21 |
|
|
\begin{verbatim} |
22 |
|
|
sNy=40, |
23 |
|
|
\end{verbatim} |
24 |
|
|
%this line sets the lateral domain extent in grid points for the |
25 |
|
|
%axis aligned with the y-coordinate. |
26 |
|
|
this line sets the number of grid points of each tile (or sub-domain) |
27 |
|
|
along the y-coordinate axis. |
28 |
|
|
|
29 |
|
|
\item Lines PUT_LINE_NB:nPx= and PUT_LINE_NB:nSx=, |
30 |
|
|
\begin{verbatim} |
31 |
|
|
nPx=1, |
32 |
|
|
nSx=2, |
33 |
|
|
\end{verbatim} |
34 |
|
|
theses lines set, respectively, the number of processes and |
35 |
|
|
the number of tiles per process along the x-coordinate axis. |
36 |
|
|
Therefore, the total number of grid points along the x-coordinate axis |
37 |
|
|
corresponding to the full domain extent is $Nx=sNx*sNx*nPx=90$ |
38 |
|
|
|
39 |
|
|
\item Line PUT_LINE_NB:Nr=, |
40 |
|
|
\begin{verbatim} |
41 |
|
|
Nr=15 |
42 |
|
|
\end{verbatim} |
43 |
|
|
this line sets the vertical domain extent in grid points. |
44 |
|
|
|
45 |
|
|
\end{itemize} |
46 |
|
|
|
47 |
|
|
\begin{small} |
48 |
|
|
\input{s_examples/global_oce_latlon/code/SIZE.h} |
49 |
|
|
\end{small} |
50 |
|
|
|