21 |
C *==========================================================* |
C *==========================================================* |
22 |
C | This version talks to the MIT Coupler. It uses the MIT |
C | This version talks to the MIT Coupler. It uses the MIT |
23 |
C | Coupler "checkpoint1" library calls. |
C | Coupler "checkpoint1" library calls. |
24 |
|
C | Note: requires arg. array "atmFld" to be shared |
25 |
|
C | (in common block) to work in multi-threaded. |
26 |
C *==========================================================* |
C *==========================================================* |
27 |
C \ev |
C \ev |
28 |
|
|
44 |
INTEGER myThid |
INTEGER myThid |
45 |
CEOP |
CEOP |
46 |
|
|
47 |
|
#ifdef COMPONENT_MODULE |
48 |
|
C !LOCAL VARIABLES: |
49 |
C == Local variables == |
C == Local variables == |
50 |
C recipAvT :: Temp. for holding reciprocal of averaging period. |
C recipAvT :: Temp. for holding reciprocal of averaging period. |
51 |
C i,j,bi,bj :: Loop counters |
C i,j,bi,bj :: Loop counters |
71 |
ENDDO |
ENDDO |
72 |
|
|
73 |
C Send atmos. field to coupling layer. |
C Send atmos. field to coupling layer. |
74 |
CALL COMPSEND_R8TILES( atmFldName, |
_BARRIER |
75 |
I sNx, OLx, sNy, OLy, 1, nSx, nSy, atmFld ) |
_BEGIN_MASTER( myThid ) |
76 |
|
CALL COMPSEND_R8TILES( |
77 |
|
I atmFldName, sNx, OLx, sNy, OLy, 1, nSx, nSy, |
78 |
|
I atmFld ) |
79 |
|
_END_MASTER( myThid ) |
80 |
|
_BARRIER |
81 |
|
|
82 |
C Reset atmos. field & integrated time before accumulating again. |
C Reset atmos. field & integrated time before accumulating again. |
83 |
DO bj=myByLo(myThid),myByHi(myThid) |
DO bj=myByLo(myThid),myByHi(myThid) |
91 |
ENDDO |
ENDDO |
92 |
ENDDO |
ENDDO |
93 |
|
|
94 |
|
#endif /* COMPONENT_MODULE */ |
95 |
|
|
96 |
RETURN |
RETURN |
97 |
END |
END |