4 |
#include "PACKAGES_CONFIG.h" |
#include "PACKAGES_CONFIG.h" |
5 |
#include "CPP_EEOPTIONS.h" |
#include "CPP_EEOPTIONS.h" |
6 |
|
|
7 |
SUBROUTINE EXCH_UV_AGRID_XY_RX( component1,component2, myThid ) |
SUBROUTINE EXCH_UV_AGRID_XY_RX( component1,component2, withSigns, |
8 |
|
. myThid ) |
9 |
|
|
10 |
implicit none |
implicit none |
11 |
|
|
15 |
C |
C |
16 |
C Input: component1(lon,lat,bi,bj) - first component of vector |
C Input: component1(lon,lat,bi,bj) - first component of vector |
17 |
C component2(lon,lat,bi,bj) - second component of vector |
C component2(lon,lat,bi,bj) - second component of vector |
18 |
C myThid - tile number |
C withSigns (logical) - true to use signs of components |
19 |
|
C myThid - tile number |
20 |
C |
C |
21 |
C Output: component1 and component2 are updated (halo regions filled) |
C Output: component1 and component2 are updated (halo regions filled) |
22 |
C |
C |
36 |
C == Argument list variables == |
C == Argument list variables == |
37 |
_RX component1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
_RX component1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
38 |
_RX component2(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
_RX component2(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
39 |
|
LOGICAL withSigns |
40 |
INTEGER myThid |
INTEGER myThid |
41 |
|
|
42 |
C == Local variables == |
C == Local variables == |
52 |
_RX dummy2(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
_RX dummy2(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
53 |
|
|
54 |
#ifdef ALLOW_EXCH2 |
#ifdef ALLOW_EXCH2 |
55 |
CALL EXCH2_UV_AGRID_XY_RX( component1,component2, myThid ) |
CALL EXCH2_UV_AGRID_XY_RX( component1,component2, withSigns, |
56 |
|
. myThid ) |
57 |
RETURN |
RETURN |
58 |
#endif |
#endif |
59 |
|
|