/[MITgcm]/MITgcm_contrib/ifenty/seaiceAdjointCode/SIZE.h
ViewVC logotype

Contents of /MITgcm_contrib/ifenty/seaiceAdjointCode/SIZE.h

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


Revision 1.1 - (show annotations) (download)
Fri Jun 29 18:54:04 2007 UTC (16 years, 10 months ago) by gforget
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
Ian Fenty sea-ice growth routines (adjointable, in developement)

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

  ViewVC Help
Powered by ViewVC 1.1.22