27 |
#include "SIZE.h" |
#include "SIZE.h" |
28 |
#include "EEPARAMS.h" |
#include "EEPARAMS.h" |
29 |
cph-mpi#include "EESUPPORT.h" |
cph-mpi#include "EESUPPORT.h" |
30 |
#include "EXCH.h" |
c#include "EXCH.h" |
31 |
|
|
32 |
C !INPUT/OUTPUT PARAMETERS: |
C !INPUT/OUTPUT PARAMETERS: |
33 |
C === Routine arguments === |
C === Routine arguments === |
37 |
INTEGER myThid |
INTEGER myThid |
38 |
|
|
39 |
C !LOCAL VARIABLES: |
C !LOCAL VARIABLES: |
40 |
|
#ifndef ALLOW_EXCH2 |
41 |
C == Local variables == |
C == Local variables == |
42 |
C OL[wens] :: Overlap extents in west, east, north, south. |
C OL[wens] :: Overlap extents in west, east, north, south. |
43 |
C exchWidth[XY] :: Extent of regions that will be exchanged. |
C exchWidth[XY] :: Extent of regions that will be exchanged. |
44 |
INTEGER OLw, OLe, OLn, OLs, exchWidthX, exchWidthY, myNz |
INTEGER OLw, OLe, OLn, OLs, exchWidthX, exchWidthY, myNz |
45 |
|
#endif |
46 |
CEOP |
CEOP |
47 |
|
|
48 |
#ifdef ALLOW_EXCH2 |
#ifdef ALLOW_EXCH2 |
49 |
CALL EXCH2_3D_RX( phi, Nr, myThid ) |
CALL EXCH2_3D_RX( phi, Nr, myThid ) |
50 |
RETURN |
RETURN |
51 |
#else |
#else /* ALLOW_EXCH2 */ |
52 |
|
|
53 |
OLw = OLx |
OLw = OLx |
54 |
OLe = OLx |
OLe = OLx |
76 |
ENDIF |
ENDIF |
77 |
|
|
78 |
RETURN |
RETURN |
79 |
#endif |
#endif /* ALLOW_EXCH2 */ |
80 |
END |
END |