C $Header: /u/gcmpack/MITgcm/pkg/atm_ocn_coupler/cpl_send_atm_ocnconfig.F,v 1.5 2015/11/12 00:42:42 jmc Exp $
C $Name: $
#include "CPP_OPTIONS.h"
CBOP 0
C !ROUTINE: CPL_SEND_ATM_OCNCONFIG
C !INTERFACE:
SUBROUTINE CPL_SEND_ATM_OCNCONFIG
C !DESCRIPTION:
C *==========================================================*
C | SUBROUTINE CPL_SEND_ATM_OCNCONFIG
C | o Routine for sending atmos. config to ocean component.
C *==========================================================*
C | This version talks to the MITgcm general circulation
C | model. For now just send atmosphere depths.
C *==========================================================*
C !USES:
IMPLICIT NONE
C == Global variables ==
c#include "CPL_PARAMS.h"
#include "ATMIDS.h"
#include "ATMSIZE.h"
#include "ATMVARS.h"
#include "OCNSIZE.h"
#include "OCNVARS.h"
C !INPUT/OUTPUT PARAMETERS:
C !LOCAL VARIABLES:
CEOP
C- Map ocean depth map onto atmos. grid
CALL OCN_TO_ATM_MAPXYR8(
I Nx_ocn, Ny_ocn,
I OcMxlD_ocn,
I Nx_atm, Ny_atm,
O OcMxlD_atm)
C- Send ocean config to atmos. component
CALL COUPSEND_R8TILES( atmCompName, atmMxlDName, Nx_atm, Ny_atm,
& OcMxlD_atm )
RETURN
END