/[MITgcm]/MITgcm_contrib/torge/itd/code/SIZE.h
ViewVC logotype

Annotation of /MITgcm_contrib/torge/itd/code/SIZE.h

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


Revision 1.2 - (hide annotations) (download)
Fri Apr 27 22:25:23 2012 UTC (14 years, 4 months ago) by dimitri
Branch: MAIN
Changes since 1.1: +19 -13 lines
File MIME type: text/plain
first check in of itd code

1 dimitri 1.1 C $Header: /u/gcmpack/MITgcm/model/inc/SIZE.h,v 1.28 2009/05/17 21:15:07 jmc Exp $
2     C $Name: $
3     C
4     CBOP
5     C !ROUTINE: SIZE.h
6     C !INTERFACE:
7     C include SIZE.h
8     C !DESCRIPTION: \bv
9     C *==========================================================*
10     C | SIZE.h Declare size of underlying computational grid.
11     C *==========================================================*
12     C | The design here support a three-dimensional model grid
13     C | with indices I,J and K. The three-dimensional domain
14     C | is comprised of nPx*nSx blocks of size sNx along one axis
15     C | nPy*nSy blocks of size sNy along another axis and one
16     C | block of size Nz along the final axis.
17     C | Blocks have overlap regions of size OLx and OLy along the
18     C | dimensions that are subdivided.
19     C *==========================================================*
20     C \ev
21     CEOP
22     C Voodoo numbers controlling data layout.
23     C sNx :: No. X points in sub-grid.
24     C sNy :: No. Y points in sub-grid.
25     C OLx :: Overlap extent in X.
26     C OLy :: Overlat extent in Y.
27     C nSx :: No. sub-grids in X.
28     C nSy :: No. sub-grids in Y.
29     C nPx :: No. of processes to use in X.
30     C nPy :: No. of processes to use in Y.
31     C Nx :: No. points in X for the total domain.
32     C Ny :: No. points in Y for the total domain.
33     C Nr :: No. points in Z for full process domain.
34 dimitri 1.2 CToM<<<
35     C nITD - No. sea ice thickness categories
36     C has an effect only when SEAICE_ITD is defined
37     C but is needed to declare a bunch of variables in
38     C SEAICE.h and SEAICE_PARAMS.h
39     C>>>ToM
40 dimitri 1.1 INTEGER sNx
41     INTEGER sNy
42     INTEGER OLx
43     INTEGER OLy
44     INTEGER nSx
45     INTEGER nSy
46     INTEGER nPx
47     INTEGER nPy
48     INTEGER Nx
49     INTEGER Ny
50     INTEGER Nr
51     PARAMETER (
52 dimitri 1.2 & sNx = 40,
53     & sNy = 40,
54     & OLx = 5,
55     & OLy = 5,
56 dimitri 1.1 & nSx = 1,
57     & nSy = 1,
58     & nPx = 1,
59     & nPy = 1,
60     & Nx = sNx*nSx*nPx,
61     & Ny = sNy*nSy*nPy,
62 dimitri 1.2 & Nr = 50)
63 dimitri 1.1
64     C MAX_OLX :: Set to the maximum overlap region size of any array
65     C MAX_OLY that will be exchanged. Controls the sizing of exch
66     C routine buffers.
67     INTEGER MAX_OLX
68     INTEGER MAX_OLY
69     PARAMETER ( MAX_OLX = OLx,
70     & MAX_OLY = OLy )
71 dimitri 1.2 CToM<<<
72     C nITD defines number of ice thickness categories,
73     C i.e. size of additional dimension to AREA, HEFF, HSNOW, etc.
74     C Bitz et al. (2001, JGR) suggest a minimum of nITD = 5
75     C
76     INTEGER nITD
77     PARAMETER(nITD = 7)
78     C>>>ToM
79 dimitri 1.1

  ViewVC Help
Powered by ViewVC 1.1.22