/[MITgcm]/MITgcm/tutorial_examples/global_ocean_circulation/code/SIZE.h
ViewVC logotype

Contents of /MITgcm/tutorial_examples/global_ocean_circulation/code/SIZE.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.4.1 - (show annotations) (download)
Tue Feb 26 16:12:02 2002 UTC (22 years, 3 months ago) by adcroft
Branch: release1
CVS Tags: release1_p12, release1_p13, release1_p10, release1_p11, release1_p16, release1_p17, release1_p14, release1_p15, release1_p8, release1_p9, release1_p1, release1_p2, release1_p3, release1_p4, release1_p5, release1_p6, release1_p7, release1_p13_pre, release1_chkpt44d_post, release1_p12_pre
Branch point for: release1_50yr
Changes since 1.1: +59 -0 lines
File MIME type: text/plain
Added tutorials, following sequenct of changes made by CNH on the
branch "release1-branch". The follow directories with tutorial
code/data were created:

  tutorial_examples/held_suarez_atmosphere/
  tutorial_examples/baroclinic_gyre_on_a_sphere/
  tutorial_examples/nonhydrostatic_deep_convection/
  tutorial_examples/barotropic_gyre_in_a_box/
  tutorial_examples/nonhydrostatic_plume_on_slope/
  tutorial_examples/global_ocean_circulation/
  tutorial_examples/tracer_adjoint_sensitivity/

No other changes were made (i.e. all other directories and code are
untouched).

1 C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tutorial_examples/global_ocean_circulation/code/Attic/SIZE.h,v 1.1.4.1 2002/02/26 16:12:02 adcroft Exp $
2 C $Name: $
3
4 C
5 C /==========================================================\
6 C | SIZE.h Declare size of underlying computational grid. |
7 C |==========================================================|
8 C | The design here support a three-dimensional model grid |
9 C | with indices I,J and K. The three-dimensional domain |
10 C | is comprised of nPx*nSx blocks of size sNx along one axis|
11 C | nPy*nSy blocks of size sNy along another axis and one |
12 C | block of size Nz along the final axis. |
13 C | Blocks have overlap regions of size OLx and OLy along the|
14 C | dimensions that are subdivided. |
15 C \==========================================================/
16 C Voodoo numbers controlling data layout.
17 C sNx - No. X points in sub-grid.
18 C sNy - No. Y points in sub-grid.
19 C OLx - Overlap extent in X.
20 C OLy - Overlat extent in Y.
21 C nSx - No. sub-grids in X.
22 C nSy - No. sub-grids in Y.
23 C nPx - No. of processes to use in X.
24 C nPy - No. of processes to use in Y.
25 C Nx - No. points in X for the total domain.
26 C Ny - No. points in Y for the total domain.
27 C Nr - No. points in Z for full process domain.
28 INTEGER sNx
29 INTEGER sNy
30 INTEGER OLx
31 INTEGER OLy
32 INTEGER nSx
33 INTEGER nSy
34 INTEGER nPx
35 INTEGER nPy
36 INTEGER Nx
37 INTEGER Ny
38 INTEGER Nr
39 PARAMETER (
40 & sNx = 90,
41 & sNy = 40,
42 & OLx = 3,
43 & OLy = 3,
44 & nSx = 1,
45 & nSy = 1,
46 & nPx = 1,
47 & nPy = 1,
48 & Nx = sNx*nSx*nPx,
49 & Ny = sNy*nSy*nPy,
50 & Nr = 15)
51
52 C MAX_OLX - Set to the maximum overlap region size of any array
53 C MAX_OLY that will be exchanged. Controls the sizing of exch
54 C routine buufers.
55 INTEGER MAX_OLX
56 INTEGER MAX_OLY
57 PARAMETER ( MAX_OLX = OLx,
58 & MAX_OLY = OLy )
59

  ViewVC Help
Powered by ViewVC 1.1.22