INTERFACE:
subroutine csm_dosndrcv(doalb)DESCRIPTION:
Determine when to send and receive messages to/from the flux coupler on this time-step. Determine if send/receive information to/from flux coupler Send msgs (land state and fluxes) to the flux coupler only when doalb is true (i.e. on time steps before the atm does a solar radiation computation). Receive msgs (atm state) from the flux coupler only when dorad is true (i.e. on time steps when the atm does a solar radiation computation). The fluxes are then averaged between the send and receive calls.USES:
use clm_varctl , only : csm_doflxave
use time_manager , only : get_step_size, get_nstep
use shr_const_mod, only : SHR_CONST_CDAY
ARGUMENTS:
implicit none
logical, intent(in) :: doalb !true=>next timestep a radiation time step
REVISION HISTORY:
02.09.17 Mariana Vertenstein Updated to clm2_1 data structures