| 1 |
jscott |
1.2 |
#include "ATM2D_OPTIONS.h" |
| 2 |
jscott |
1.1 |
#ifdef ATM2D_MPI_ON |
| 3 |
|
|
|
| 4 |
|
|
CStartOfInterface |
| 5 |
|
|
SUBROUTINE CPL_SEND_OCN_ATMCONFIG |
| 6 |
|
|
C /==========================================================\ |
| 7 |
|
|
C | SUBROUTINE CPL_SEND_OCN_ATMCONFIG | |
| 8 |
|
|
C | o Routine for sending atmos. config to ocean component. | |
| 9 |
|
|
C |==========================================================| |
| 10 |
|
|
C | This version talks to the MITgcm general circulation | |
| 11 |
|
|
C | model. For now just send atmosphere depths. | |
| 12 |
|
|
C \==========================================================/ |
| 13 |
|
|
IMPLICIT NONE |
| 14 |
|
|
|
| 15 |
|
|
C == Global variables == |
| 16 |
|
|
#include "OCNSIZE.h" |
| 17 |
|
|
#include "OCNVARS.h" |
| 18 |
|
|
#include "OCNIDS.h" |
| 19 |
|
|
|
| 20 |
|
|
C == Routine arguments == |
| 21 |
|
|
|
| 22 |
|
|
C == Local variables == |
| 23 |
|
|
CHARACTER*(10) atmDepthName |
| 24 |
|
|
PARAMETER( atmDepthName = 'ATM Depths' ) |
| 25 |
jscott |
1.2 |
INTEGER i,j |
| 26 |
jscott |
1.1 |
|
| 27 |
|
|
CEndOfInterface |
| 28 |
|
|
|
| 29 |
jscott |
1.2 |
DO i=1,Nx_ocn |
| 30 |
|
|
DO j=1,Ny_ocn |
| 31 |
|
|
AtmDepths_ocn(i,j)=1. _d 5 !ocean code checks for this |
| 32 |
|
|
ENDDO |
| 33 |
|
|
ENDDO |
| 34 |
|
|
|
| 35 |
jscott |
1.1 |
|
| 36 |
|
|
C Send atmos. config to ocean component |
| 37 |
|
|
CALL COUPSEND_R8TILES( ocnCompName, atmDepthName, Nx_ocn, Ny_ocn, |
| 38 |
|
|
& AtmDepths_ocn ) |
| 39 |
|
|
|
| 40 |
|
|
RETURN |
| 41 |
|
|
END |
| 42 |
|
|
|
| 43 |
|
|
#endif |