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

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

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


Revision 1.2 - (hide annotations) (download)
Sun Mar 6 02:11:05 2011 UTC (14 years, 4 months ago) by dimitri
Branch: MAIN
Changes since 1.1: +5 -1 lines
File MIME type: text/plain
changing density comparisons from potential to in situ
code contributed by Madeline Miller

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

  ViewVC Help
Powered by ViewVC 1.1.22