| 1 |
jscott |
1.1 |
C $Header: /u/gcmpack/MITgcm/pkg/atm_ocn_coupler/cpl_send_ocn_atmconfig.F,v 1.3 2006/06/15 23:29:17 jmc Exp $ |
| 2 |
|
|
C $Name: $ |
| 3 |
|
|
#ifdef ATM2D_MPI_ON |
| 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 |
|
|
CJRS#include "ATMSIZE.h" |
| 19 |
|
|
CJRS#include "ATMVARS.h" |
| 20 |
|
|
CJRS#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 |
|
|
CHARACTER*(10) atmDepthName |
| 29 |
|
|
PARAMETER( atmDepthName = 'ATM Depths' ) |
| 30 |
|
|
|
| 31 |
|
|
CEndOfInterface |
| 32 |
|
|
|
| 33 |
|
|
C Map atmos. depth map onto ocean grid |
| 34 |
|
|
CJRS CALL ATM_TO_OCN_MAPXYR8( |
| 35 |
|
|
C I Nx_atm, Ny_atm, |
| 36 |
|
|
C I AtmDepths_atm, |
| 37 |
|
|
C I Nx_ocn, Ny_ocn, |
| 38 |
|
|
C O AtmDepths_ocn) |
| 39 |
|
|
|
| 40 |
|
|
CJRS ask J-M if should be initialized? |
| 41 |
|
|
|
| 42 |
|
|
C Send atmos. config to ocean component |
| 43 |
|
|
CALL COUPSEND_R8TILES( ocnCompName, atmDepthName, Nx_ocn, Ny_ocn, |
| 44 |
|
|
& AtmDepths_ocn ) |
| 45 |
|
|
|
| 46 |
|
|
RETURN |
| 47 |
|
|
END |
| 48 |
|
|
|
| 49 |
|
|
#endif |