1 |
C $Header: $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "GGL90_OPTIONS.h" |
5 |
|
6 |
CBOP |
7 |
C !ROUTINE: GGL90_EXCHANGES |
8 |
|
9 |
C !INTERFACE: ========================================================== |
10 |
SUBROUTINE GGL90_EXCHANGES( myThid ) |
11 |
|
12 |
C !DESCRIPTION: |
13 |
C Exchange data to update overlaps for GGL90TKE |
14 |
|
15 |
C !USES: =============================================================== |
16 |
IMPLICIT NONE |
17 |
#include "SIZE.h" |
18 |
#include "EEPARAMS.h" |
19 |
#include "GGL90.h" |
20 |
|
21 |
C !INPUT PARAMETERS: =================================================== |
22 |
C myThid :: thread number |
23 |
INTEGER myThid |
24 |
|
25 |
C !OUTPUT PARAMETERS: ================================================== |
26 |
C none |
27 |
|
28 |
#ifdef ALLOW_GGL90 |
29 |
C !LOCAL VARIABLES: ==================================================== |
30 |
CEOP |
31 |
|
32 |
#ifdef ALLOW_GGL90_HORIZDIFF |
33 |
IF (GGL90isON .AND. GGL90diffTKEh .GT. 0. _d 0) THEN |
34 |
C Exchange overlaps |
35 |
_EXCH_XYZ_R8(GGL90TKE,myThid) |
36 |
ENDIF |
37 |
#endif /* ALLOW_GGL90_HORIZDIFF */ |
38 |
#endif /* ALLOW_GGL90 */ |
39 |
|
40 |
RETURN |
41 |
END |