CCPP SciDoc  v6.0.0
Common Community Physics Package Developed at DTC

◆ gfs_rrtmg_setup_timestep_init()

subroutine, public gfs_rrtmg_setup::gfs_rrtmg_setup_timestep_init ( integer, dimension(:), intent(in)  idate,
integer, dimension(:), intent(in)  jdate,
real(kind=kind_phys), intent(in)  deltsw,
real(kind=kind_phys), intent(in)  deltim,
logical, intent(in)  lsswr,
integer, intent(in)  me,
real(kind=kind_phys), intent(out)  slag,
real(kind=kind_phys), intent(out)  sdec,
real(kind=kind_phys), intent(out)  cdec,
real(kind=kind_phys), intent(out)  solcon,
character(len=*), intent(out)  errmsg,
integer, intent(out)  errflg 
)

Argument Table

GFS_rrtmg_setup_timestep_init argument table
local_namestandard_namelong_nameunitstypedimensionskindintent
idatedate_and_time_at_model_initialization_in_iso_orderinitialization date and timenoneinteger(ccpp_constant_one:8)in
jdatedate_and_time_of_forecast_in_united_states_ordercurrent forecast date and timenoneinteger(ccpp_constant_one:8)in
deltswperiod_of_shortwave_radiation_callsfrequency for shortwave radiationsreal()kind_physin
deltimtimestep_for_dynamicsdynamics timestepsreal()kind_physin
lsswrflag_for_calling_shortwave_radiationlogical flags for sw radiation callsflaglogical()in
mempi_rankcurrent MPI-rankindexinteger()in
slagequation_of_timeequation of time (radian)radianreal()kind_physout
sdecsine_of_solar_declination_anglesin of the solar declination anglenonereal()kind_physout
cdeccosine_of_solar_declination_anglecos of the solar declination anglenonereal()kind_physout
solconsolar_constantsolar constant (sun-earth distant adjusted)W m-2real()kind_physout
errmsgccpp_error_messageerror message for error handling in CCPPnonecharacter()len=*out
errflgccpp_error_codeerror code for error handling in CCPP1integer()out