31 |
C === Global data === |
C === Global data === |
32 |
#include "SIZE.h" |
#include "SIZE.h" |
33 |
#include "EEPARAMS.h" |
#include "EEPARAMS.h" |
34 |
#include "EESUPPORT.h" |
cph-mpi#include "EESUPPORT.h" |
35 |
#include "EXCH.h" |
c#include "EXCH.h" |
36 |
|
|
37 |
C !INPUT/OUTPUT PARAMETERS: |
C !INPUT/OUTPUT PARAMETERS: |
38 |
C === Routine arguments === |
C === Routine arguments === |
48 |
INTEGER myThid |
INTEGER myThid |
49 |
|
|
50 |
C !LOCAL VARIABLES: |
C !LOCAL VARIABLES: |
51 |
|
#ifndef ALLOW_EXCH2 |
52 |
C == Local variables == |
C == Local variables == |
53 |
C OL[wens] :: Overlap extents in west, east, north, south. |
C OL[wens] :: Overlap extents in west, east, north, south. |
54 |
C exchWidth[XY] :: Extent of regions that will be exchanged. |
C exchWidth[XY] :: Extent of regions that will be exchanged. |
55 |
INTEGER OLw, OLe, OLn, OLs, exchWidthX, exchWidthY, myNz |
INTEGER OLw, OLe, OLn, OLs, exchWidthX, exchWidthY, myNz |
56 |
|
#endif |
57 |
CEOP |
CEOP |
58 |
|
|
59 |
#ifdef ALLOW_EXCH2 |
#ifdef ALLOW_EXCH2 |
97 |
c I exchWidthX, exchWidthY, |
c I exchWidthX, exchWidthY, |
98 |
c I FORWARD_SIMULATION, EXCH_UPDATE_CORNERS, myThid ) |
c I FORWARD_SIMULATION, EXCH_UPDATE_CORNERS, myThid ) |
99 |
c_jmc: for JAM compatibility, replace the 2 CALLs above by the 2 CPP_MACROs: |
c_jmc: for JAM compatibility, replace the 2 CALLs above by the 2 CPP_MACROs: |
100 |
_EXCH_XY_RX( Uphi, myThid ) |
c _EXCH_XY_RX( Uphi, myThid ) |
101 |
_EXCH_XY_RX( Vphi, myThid ) |
c _EXCH_XY_RX( Vphi, myThid ) |
102 |
|
CALL EXCH_XY_RX( Uphi, myThid ) |
103 |
|
CALL EXCH_XY_RX( Vphi, myThid ) |
104 |
ENDIF |
ENDIF |
105 |
|
|
106 |
RETURN |
RETURN |