1 |
C $Header: $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "OBCS_OPTIONS.h" |
5 |
|
6 |
SUBROUTINE OBCS_PRESCRIBE_EXCHANGES( myThid ) |
7 |
C *==========================================================* |
8 |
C | S/R OBCS_PRESCRIBE_EXCHANGES | |
9 |
C *==========================================================* |
10 |
C | Exchanges are needed in case obcs are read from file. | |
11 |
C | EXch of xz, yz fields are avoided, so we exchange full | |
12 |
C | fields after obcs have been added. | |
13 |
c | Only needed for velocity fields, tracer fields wont be | |
14 |
C | affected before they get exchanged at the end of | |
15 |
C | time stepping loop. | |
16 |
C *==========================================================* |
17 |
|
18 |
IMPLICIT NONE |
19 |
C == Global variables == |
20 |
#include "SIZE.h" |
21 |
#include "EEPARAMS.h" |
22 |
#include "PARAMS.h" |
23 |
#include "DYNVARS.h" |
24 |
#include "OBCS.h" |
25 |
|
26 |
C == Routine Arguments == |
27 |
INTEGER myThid |
28 |
|
29 |
#ifdef ALLOW_OBCS |
30 |
#ifdef ALLOW_OBCS_PRESCRIBE |
31 |
|
32 |
C == Local variables == |
33 |
|
34 |
IF (useOBCSprescribe) THEN |
35 |
CALL EXCH_UV_XYZ_RL(uVel,vVel,.TRUE.,myThid) |
36 |
CALL EXCH_UV_XYZ_RL(gU,gV,.TRUE.,myThid) |
37 |
ENDIF |
38 |
|
39 |
#endif |
40 |
#endif |
41 |
|
42 |
RETURN |
43 |
END |