1 |
C $Header: /u/gcmpack/MITgcm/pkg/aim_ocn_coupler/cpl_send_atm_ocnconfig.F,v 1.2 2004/05/21 19:31:50 jmc Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "CPP_OPTIONS.h" |
5 |
|
6 |
CStartOfInterface |
7 |
SUBROUTINE CPL_SEND_ATM_OCNCONFIG |
8 |
C /==========================================================\ |
9 |
C | SUBROUTINE CPL_SEND_ATM_OCNCONFIG | |
10 |
C | o Routine for sending atmos. config to ocean component. | |
11 |
C |==========================================================| |
12 |
C | This version talks to the MITgcm general circulation | |
13 |
C | model. For now just send atmosphere depths. | |
14 |
C \==========================================================/ |
15 |
IMPLICIT NONE |
16 |
|
17 |
C == Global variables == |
18 |
#include "ATMSIZE.h" |
19 |
#include "ATMVARS.h" |
20 |
#include "ATMIDS.h" |
21 |
#include "OCNSIZE.h" |
22 |
#include "OCNVARS.h" |
23 |
|
24 |
C == Routine arguments == |
25 |
CEndOfInterface |
26 |
|
27 |
C Map ocean depth map onto atmos. grid |
28 |
CALL OCN_TO_ATM_MAPXYR8( |
29 |
I Nx_ocn, Ny_ocn, |
30 |
I OcMxlD_ocn, |
31 |
I Nx_atm, Ny_atm, |
32 |
O OcMxlD_atm) |
33 |
|
34 |
C Send ocean config to atmos. component |
35 |
CALL COUPSEND_R8TILES( atmCompName, atmMxlDName, Nx_atm, Ny_atm, |
36 |
& OcMxlD_atm ) |
37 |
|
38 |
RETURN |
39 |
END |