1 |
C $Header: $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "ATM2D_OPTIONS.h" |
5 |
#ifdef ATM2D_MPI_ON |
6 |
|
7 |
CStartOfInterface |
8 |
SUBROUTINE CPL_RECV_OCN_FIELDS |
9 |
C /==========================================================\ |
10 |
C | SUBROUTINE CPL_RECV_OCN_FIELDS | |
11 |
C | o Routine for receiving surface fields from ocean | |
12 |
C | component. | |
13 |
C |==========================================================| |
14 |
C | This version talks to the MITgcm general circulation | |
15 |
C | model. | |
16 |
C \==========================================================/ |
17 |
IMPLICIT NONE |
18 |
|
19 |
C == Global variables == |
20 |
#include "OCNSIZE.h" |
21 |
#include "OCNVARS.h" |
22 |
#include "OCNIDS.h" |
23 |
|
24 |
C == Routine arguments == |
25 |
|
26 |
C == Local variables == |
27 |
|
28 |
CEndOfInterface |
29 |
|
30 |
C Receive Ocean mixed-layer depths from ocean component |
31 |
CALL COUPRECV_R8TILES( ocnCompName, ocnMxlDName, |
32 |
I Nx_ocn, Ny_ocn, |
33 |
O OcMxlD_ocn ) |
34 |
|
35 |
C Receive sea surface temperature from ocean component |
36 |
CALL COUPRECV_R8TILES( ocnCompName, ocnSSTName, |
37 |
I Nx_ocn, Ny_ocn, |
38 |
O SST_ocn ) |
39 |
|
40 |
C Receive sea surface salinity from ocean component |
41 |
CALL COUPRECV_R8TILES( ocnCompName, ocnSSSName, |
42 |
I Nx_ocn, Ny_ocn, |
43 |
O SSS_ocn ) |
44 |
|
45 |
C Receive sea surface velocity square from ocean component |
46 |
CALL COUPRECV_R8TILES( ocnCompName, ocnSSVsqName, |
47 |
I Nx_ocn, Ny_ocn, |
48 |
O vSq_ocn ) |
49 |
|
50 |
IF ( ocnCpl_exchange_DIC ) THEN |
51 |
C Receive ocn->atm flux of CO2 from ocean component |
52 |
CALL COUPRECV_R8TILES( ocnCompName, ocnFCO2Name, |
53 |
I Nx_ocn, Ny_ocn, |
54 |
O fluxCO2_ocn ) |
55 |
ENDIF |
56 |
|
57 |
RETURN |
58 |
END |
59 |
|
60 |
#endif |