/[MITgcm]/MITgcm/verification/lab_sea/code/SIZE.h
ViewVC logotype

Contents of /MITgcm/verification/lab_sea/code/SIZE.h

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


Revision 1.2 - (show annotations) (download)
Tue Nov 12 20:54:28 2002 UTC (21 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint46n_post, checkpoint47e_post, checkpoint47c_post, checkpoint47d_pre, checkpoint47a_post, checkpoint47d_post, branch-exfmods-tag, checkpoint47b_post, checkpoint47
Branch point for: branch-exfmods-curt
Changes since 1.1: +64 -0 lines
File MIME type: text/plain
Merging from release1_p8:
o New verification/lab_sea exp. for seaice package
  (cf. README file).
   N.B.: fairly large differences in accuracy occur across
        different platforms/compilers; comparison between
        g77 (Linux) and F77 (SGI Origin 2000/MIPSpro)
        generated output gives:
   T           S           U           V
  C D M    c        m  s        m  s        m  s        m  s
  n p a R  g  m  m  e  .  m  m  e  .  m  m  e  .  m  m  e  .
  f n k u  2  i  a  a  d  i  a  a  d  i  a  a  d  i  a  a  d
  g d e n  d  n  x  n  .  n  x  n  .  n  x  n  .  n  x  n  .

  Y Y Y Y  5  5  7  7  7  8 10  9  6  6  6  6  7  5  7  5  7 FAIL  lab_sea

1 C $Header: /u/gcmpack/MITgcm/verification/lab_sea/code/Attic/SIZE.h,v 1.1.2.1 2002/11/11 22:03:47 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

  ViewVC Help
Powered by ViewVC 1.1.22