/[MITgcm]/MITgcm/pkg/exch2/W2_EXCH2_SIZE.h
ViewVC logotype

Contents of /MITgcm/pkg/exch2/W2_EXCH2_SIZE.h

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


Revision 1.2 - (show annotations) (download)
Wed Oct 13 20:56:00 2010 UTC (13 years, 6 months ago) by jahn
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint63, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, HEAD
Changes since 1.1: +9 -1 lines
File MIME type: text/plain
add xStack and yStack global domain definitions for obcs

1 C $Header: /u/gcmpack/MITgcm/pkg/exch2/W2_EXCH2_SIZE.h,v 1.1 2009/05/12 19:40:32 jmc Exp $
2 C $Name: $
3
4 CBOP
5 C !ROUTINE: W2_EXCH2_SIZE.h
6 C !INTERFACE:
7 C include W2_EXCH2_SIZE.h
8 C !DESCRIPTION: \bv
9 C *==========================================================*
10 C | W2_EXCH2_SIZE.h
11 C | Declare size of Wrapper2-Exch2 arrays
12 C *==========================================================*
13 C | Expected to be modified for unconventional configuration
14 C | (e.g., many blank-tiles) or specific topology.
15 C *==========================================================*
16 CEOP
17
18 C--- Size of Tiling topology structures
19 C W2_maxNbFacets :: Maximum number of Facets (also and formerly called
20 C :: "domains" or "sub-domains") of this topology.
21 C W2_maxNeighbours :: Maximum number of neighbours any tile has.
22 C W2_maxNbTiles :: Maximum number of tiles (active+blank) in this topology
23 C W2_ioBufferSize :: Maximum size of Single-CPU IO buffer.
24 INTEGER W2_maxNbFacets
25 INTEGER W2_maxNeighbours
26 INTEGER W2_maxNbTiles
27 INTEGER W2_ioBufferSize
28 INTEGER W2_maxXStackNx
29 INTEGER W2_maxXStackNy
30 INTEGER W2_maxYStackNx
31 INTEGER W2_maxYStackNy
32
33 C--- Default values :
34 C (suitable for 6-face Cube-Sphere topology, compact global I/O format)
35 C W2_maxNbTiles = Nb of active tiles (=nSx*nSy*nPx*nPy) + Max_Nb_BlankTiles
36 C default assume a large Max_Nb_BlankTiles equal to Nb of active tiles
37 C resulting in doubling the tile number.
38 PARAMETER ( W2_maxNbFacets = 10 )
39 PARAMETER ( W2_maxNeighbours = 8 )
40 PARAMETER ( W2_maxNbTiles = nSx*nSy*nPx*nPy * 2 )
41 PARAMETER ( W2_ioBufferSize = W2_maxNbTiles*sNx*sNy )
42 PARAMETER ( W2_maxXStackNx = W2_maxNbTiles*sNx )
43 PARAMETER ( W2_maxXStackNy = W2_maxNbTiles*sNy )
44 PARAMETER ( W2_maxYStackNx = W2_maxNbTiles*sNx )
45 PARAMETER ( W2_maxYStackNy = W2_maxNbTiles*sNy )
46
47 C- Note: Overestimating W2_maxNbFacets and, to less extent, W2_maxNeighbours
48 C have no or very little effects on memory footprint.
49 C overestimated W2_maxNbTiles does not have large effect, except
50 C through ioBufferSize (if related to, as here).
51 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|

  ViewVC Help
Powered by ViewVC 1.1.22