| 1 |
jscott |
1.2 |
#include "ATM2D_OPTIONS.h" |
| 2 |
jscott |
1.1 |
#ifdef ATM2D_MPI_ON |
| 3 |
|
|
|
| 4 |
|
|
CStartOfInterface |
| 5 |
|
|
SUBROUTINE CPL_RECV_OCN_FIELDS |
| 6 |
|
|
C /==========================================================\ |
| 7 |
|
|
C | SUBROUTINE CPL_RECV_OCN_FIELDS | |
| 8 |
|
|
C | o Routine for receiving surface fields from ocean | |
| 9 |
|
|
C | component. | |
| 10 |
|
|
C |==========================================================| |
| 11 |
|
|
C | This version talks to the MITgcm general circulation | |
| 12 |
|
|
C | model. | |
| 13 |
|
|
C \==========================================================/ |
| 14 |
|
|
IMPLICIT NONE |
| 15 |
|
|
|
| 16 |
|
|
C == Global variables == |
| 17 |
|
|
#include "OCNSIZE.h" |
| 18 |
|
|
#include "OCNVARS.h" |
| 19 |
|
|
#include "OCNIDS.h" |
| 20 |
|
|
|
| 21 |
|
|
C == Routine arguments == |
| 22 |
|
|
|
| 23 |
|
|
C == Local variables == |
| 24 |
|
|
|
| 25 |
|
|
CEndOfInterface |
| 26 |
|
|
|
| 27 |
|
|
C Receive Ocean mixed-layer depths from ocean component |
| 28 |
|
|
CALL COUPRECV_R8TILES( ocnCompName, ocnMxlDName, |
| 29 |
|
|
I Nx_ocn, Ny_ocn, |
| 30 |
|
|
O OcMxlD_ocn ) |
| 31 |
|
|
|
| 32 |
|
|
C Receive sea surface temperature from ocean component |
| 33 |
|
|
CALL COUPRECV_R8TILES( ocnCompName, ocnSSTName, |
| 34 |
|
|
I Nx_ocn, Ny_ocn, |
| 35 |
|
|
O SST_ocn ) |
| 36 |
|
|
|
| 37 |
|
|
C Receive sea surface salinity from ocean component |
| 38 |
|
|
CALL COUPRECV_R8TILES( ocnCompName, ocnSSSName, |
| 39 |
|
|
I Nx_ocn, Ny_ocn, |
| 40 |
|
|
O SSS_ocn ) |
| 41 |
|
|
|
| 42 |
|
|
C Receive sea surface velocity square from ocean component |
| 43 |
|
|
CALL COUPRECV_R8TILES( ocnCompName, ocnSSVsqName, |
| 44 |
|
|
I Nx_ocn, Ny_ocn, |
| 45 |
|
|
O vSq_ocn ) |
| 46 |
|
|
|
| 47 |
|
|
Cjrs Jean-Michel, need to add fluxCO2 from ocn passed here |
| 48 |
|
|
|
| 49 |
|
|
RETURN |
| 50 |
|
|
END |
| 51 |
|
|
|
| 52 |
|
|
#endif |