1 |
jmc |
1.1 |
C $Header: /u/gcmpack/MITgcm/pkg/aim_ocn_coupler/cpl_recv_ocn_fields.F,v 1.1 2004/05/21 19:31:50 jmc Exp $ |
2 |
|
|
C $Name: $ |
3 |
|
|
|
4 |
|
|
#include "CPP_OPTIONS.h" |
5 |
|
|
|
6 |
|
|
CStartOfInterface |
7 |
|
|
SUBROUTINE CPL_RECV_OCN_FIELDS |
8 |
|
|
C /==========================================================\ |
9 |
|
|
C | SUBROUTINE CPL_RECV_OCN_FIELDS | |
10 |
|
|
C | o Routine for receiving surface fields from ocean | |
11 |
|
|
C | component. | |
12 |
|
|
C |==========================================================| |
13 |
|
|
C | This version talks to the MITgcm general circulation | |
14 |
|
|
C | model. | |
15 |
|
|
C \==========================================================/ |
16 |
|
|
IMPLICIT NONE |
17 |
|
|
|
18 |
|
|
C == Global variables == |
19 |
|
|
#include "OCNSIZE.h" |
20 |
|
|
#include "OCNVARS.h" |
21 |
|
|
#include "OCNIDS.h" |
22 |
|
|
|
23 |
|
|
C == Routine arguments == |
24 |
|
|
|
25 |
|
|
C == Local variables == |
26 |
|
|
|
27 |
|
|
CEndOfInterface |
28 |
|
|
|
29 |
|
|
C Receive Ocean mixed-layer depths from ocean component |
30 |
|
|
CALL COUPRECV_R8TILES( ocnCompName, ocnMxlDName, |
31 |
|
|
I Nx_ocn, Ny_ocn, |
32 |
|
|
O OcMxlD_ocn ) |
33 |
|
|
|
34 |
|
|
C Receive sea surface temperature from ocean component |
35 |
|
|
CALL COUPRECV_R8TILES( ocnCompName, ocnSSTName, |
36 |
|
|
I Nx_ocn, Ny_ocn, |
37 |
|
|
O SST_ocn ) |
38 |
|
|
|
39 |
|
|
C Receive sea surface salinity from ocean component |
40 |
|
|
CALL COUPRECV_R8TILES( ocnCompName, ocnSSSName, |
41 |
|
|
I Nx_ocn, Ny_ocn, |
42 |
|
|
O SSS_ocn ) |
43 |
|
|
|
44 |
|
|
C Receive sea surface velocity square from ocean component |
45 |
|
|
CALL COUPRECV_R8TILES( ocnCompName, ocnSSVsqName, |
46 |
|
|
I Nx_ocn, Ny_ocn, |
47 |
|
|
O vSq_ocn ) |
48 |
|
|
|
49 |
|
|
RETURN |
50 |
|
|
END |