/[MITgcm]/MITgcm_contrib/bbl/code/SIZE.h
ViewVC logotype

Contents of /MITgcm_contrib/bbl/code/SIZE.h

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


Revision 1.1 - (show annotations) (download)
Thu Nov 18 04:00:04 2010 UTC (14 years, 8 months ago) by dimitri
Branch: MAIN
File MIME type: text/plain
This is a first sketch of a bottom boundary layer parameterization
for MITgcm.  The hooks to main model currently reside with pkg/mypackage
and it is temporarily checked in MITgcm_contrib until it clears the
App Store vetting process.  Instructions on running a simple test
integration in a periodic channel are in MITgcm_contrib/bbl/readme.txt
and some output can be viewed using lookat_output.m in same directory.

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

  ViewVC Help
Powered by ViewVC 1.1.22