1 |
jmc |
1.3 |
C $Header: /u/gcmpack/MITgcm/pkg/aim_ocn_coupler/cpl_send_ocn_atmconfig.F,v 1.1 2003/12/15 02:28:01 jmc Exp $ |
2 |
jmc |
1.1 |
C $Name: $ |
3 |
|
|
|
4 |
|
|
#include "CPP_OPTIONS.h" |
5 |
|
|
|
6 |
|
|
CStartOfInterface |
7 |
|
|
SUBROUTINE CPL_SEND_OCN_ATMCONFIG |
8 |
|
|
C /==========================================================\ |
9 |
|
|
C | SUBROUTINE CPL_SEND_OCN_ATMCONFIG | |
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 |
|
|
#include "OCNIDS.h" |
24 |
|
|
|
25 |
|
|
C == Routine arguments == |
26 |
|
|
|
27 |
|
|
C == Local variables == |
28 |
|
|
|
29 |
|
|
CEndOfInterface |
30 |
|
|
|
31 |
|
|
C Map atmos. depth map onto ocean grid |
32 |
|
|
CALL ATM_TO_OCN_MAPXYR8( |
33 |
|
|
I Nx_atm, Ny_atm, |
34 |
|
|
I AtmDepths_atm, |
35 |
|
|
I Nx_ocn, Ny_ocn, |
36 |
|
|
O AtmDepths_ocn) |
37 |
|
|
|
38 |
|
|
C Send atmos. config to ocean component |
39 |
|
|
CALL COUPSEND_R8TILES( ocnCompName, atmDepthName, Nx_ocn, Ny_ocn, |
40 |
|
|
& AtmDepths_ocn ) |
41 |
|
|
|
42 |
|
|
RETURN |
43 |
|
|
END |