12 |
SUBROUTINE EXCH2_RX1_CUBE_AD( |
SUBROUTINE EXCH2_RX1_CUBE_AD( |
13 |
U array, |
U array, |
14 |
I signOption, fieldCode, |
I signOption, fieldCode, |
15 |
I myOLw, myOLe, myOLn, myOLs, myNz, |
I myOLw, myOLe, myOLs, myOLn, myNz, |
16 |
I exchWidthX, exchWidthY, |
I exchWidthX, exchWidthY, |
17 |
I cornerMode, myThid ) |
I cornerMode, myThid ) |
18 |
|
|
38 |
C :: (signOption not yet implemented but needed for SM exch) |
C :: (signOption not yet implemented but needed for SM exch) |
39 |
C fieldCode :: field code (position on staggered grid) |
C fieldCode :: field code (position on staggered grid) |
40 |
C myOLw,myOLe :: West and East overlap region sizes. |
C myOLw,myOLe :: West and East overlap region sizes. |
41 |
C myOLn,myOLs :: North and South overlap region sizes. |
C myOLs,myOLn :: South and North overlap region sizes. |
42 |
C exchWidthX :: Width of data regi exchanged in X. |
C exchWidthX :: Width of data regi exchanged in X. |
43 |
C exchWidthY :: Width of data region exchanged in Y. |
C exchWidthY :: Width of data region exchanged in Y. |
44 |
C cornerMode :: halo-corner-region treatment: update/ignore corner region |
C cornerMode :: halo-corner-region treatment: update/ignore corner region |
45 |
C myThid :: Thread number of this instance of S/R EXCH... |
C myThid :: Thread number of this instance of S/R EXCH... |
46 |
INTEGER myOLw |
|
47 |
INTEGER myOLe |
INTEGER myOLw, myOLe, myOLs, myOLn, myNz |
|
INTEGER myOLs |
|
|
INTEGER myOLn |
|
|
INTEGER myNz |
|
48 |
_RX array(1-myOLw:sNx+myOLe, |
_RX array(1-myOLw:sNx+myOLe, |
49 |
& 1-myOLs:sNy+myOLn, |
& 1-myOLs:sNy+myOLn, |
50 |
& myNZ, nSx, nSy) |
& myNZ, nSx, nSy) |