1 |
jmc |
1.2 |
C $Header: $ |
2 |
|
|
C $Name: $ |
3 |
|
|
|
4 |
jscott |
1.1 |
#include "ATM2D_OPTIONS.h" |
5 |
|
|
#ifdef ATM2D_MPI_ON |
6 |
|
|
|
7 |
|
|
CStartOfInterface |
8 |
|
|
SUBROUTINE CPL_SEND_OCN_ATMCONFIG |
9 |
|
|
C /==========================================================\ |
10 |
|
|
C | SUBROUTINE CPL_SEND_OCN_ATMCONFIG | |
11 |
|
|
C | o Routine for sending atmos. config to ocean component. | |
12 |
|
|
C |==========================================================| |
13 |
|
|
C | This version talks to the MITgcm general circulation | |
14 |
|
|
C | model. For now just send atmosphere depths. | |
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 |
|
|
CHARACTER*(10) atmDepthName |
27 |
|
|
PARAMETER( atmDepthName = 'ATM Depths' ) |
28 |
|
|
INTEGER i,j |
29 |
|
|
|
30 |
|
|
CEndOfInterface |
31 |
|
|
|
32 |
|
|
DO i=1,Nx_ocn |
33 |
|
|
DO j=1,Ny_ocn |
34 |
|
|
AtmDepths_ocn(i,j)=1. _d 5 !ocean code checks for this |
35 |
|
|
ENDDO |
36 |
|
|
ENDDO |
37 |
|
|
|
38 |
jmc |
1.2 |
|
39 |
jscott |
1.1 |
C Send atmos. config to ocean component |
40 |
jmc |
1.2 |
CALL COUPSEND_R8TILES( ocnCompName, atmDepthName, Nx_ocn, Ny_ocn, |
41 |
jscott |
1.1 |
& AtmDepths_ocn ) |
42 |
|
|
|
43 |
|
|
RETURN |
44 |
|
|
END |
45 |
|
|
|
46 |
|
|
#endif |