/[MITgcm]/MITgcm/eesupp/src/exch_init.F
ViewVC logotype

Contents of /MITgcm/eesupp/src/exch_init.F

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


Revision 1.1 - (show annotations) (download)
Tue Sep 29 18:53:44 1998 UTC (25 years, 8 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint15, checkpoint17, checkpoint19, checkpoint18, checkpoint20, checkpoint21, checkpoint22, checkpoint16
CHanges to exchange routines for general tile <-> tile connectivity, DMA and shared
memory communication hooks, variable width overlaps and TAMC reverse mode flag.

1 SUBROUTINE EXCH_INIT
2 C /==========================================================\
3 C | SUBROUTINE EXCH_INIT |
4 C | o Initialise model exchange data structures. |
5 C \==========================================================/
6 IMPLICIT NONE
7 C == Global data ==
8 #include "SIZE.h"
9 #include "EEPARAMS.h"
10 #include "EESUPPORT.h"
11 #include "EXCH.h"
12
13 C == Routine arguments ==
14 C myThid - Thread number of this instance of the routine
15 INTEGER myThid
16
17 C == Local variables ==
18 C bi, bj - Loop counters
19 INTEGER bi, bj
20
21 DO bj=1,nSy
22 DO bi=1,nSx
23 exchangeBufLevel(1,bi,bj) = 1
24 exchRecvXSpinCount(1,bi,bj) = 0
25 exchRecvXSpinMax (1,bi,bj) = 0
26 exchRecvXSpinMin (1,bi,bj) = 1000000000
27 exchRecvYSpinCount(1,bi,bj) = 0
28 exchRecvYSpinMax (1,bi,bj) = 0
29 exchRecvYSpinMin (1,bi,bj) = 1000000000
30 ENDDO
31 ENDDO
32
33 exchCollectStatistics = .TRUE.
34
35 RETURN
36 END

  ViewVC Help
Powered by ViewVC 1.1.22