next up previous contents
Next: csm_recvgrid Up: Fortran: Module Interface clm_csmMod Previous: csm_recvorb   Contents

csm_sendcontrol


INTERFACE:

  subroutine csm_sendcontrol(irad)
DESCRIPTION:

    Send first control data to flux coupler and "invalid" grid
    containing special value data.
    The coupler treats points where the mask is nonzero as points where 
    you could possibly do a calculation (in the case of the runoff, this 
    corresponds to all rtm ocean points). The coupler then defines a "key"
    as points where the model can give you valid data (in the case of runoff, 
    this corresponds to points where the land model will give you valid 
    compressed data points). The key can be 0 where the mask is 1. However,
    the key cannot be 1 where the mask is 0 unless the data is also zero. 
    In the case of runoff, the key the coupler builds is time invariant.
    Send first control data to flux coupler and "invalid" grid
    containing special value data
USES:
     use clm_varctl, only : csm_doflxave, nsrest
     use RtmMod, only : area_r, longxy_r, latixy_r, mask_r
     use clm_varcon, only : re	
     use time_manager, only : get_step_size
     use shr_const_mod, only : SHR_CONST_CDAY
ARGUMENTS:
     implicit none
     integer, intent(in) :: irad  !frequency of radiation computation
REVISION HISTORY:
    02.09.17 Mariana Vertenstein Updated to clm2_1 data structures



Mariana Vertenstein 2003-01-14