SCALE-RM
|
module ADMIN TIME More...
Functions/Subroutines | |
subroutine, public | admin_time_setup (setup_TimeIntegration) |
Setup. More... | |
subroutine, public | admin_time_checkstate |
Evaluate component execution. More... | |
subroutine, public | admin_time_advance |
Advance the time & evaluate restart & stop. More... | |
Variables | |
real(dp), public | time_dtsec_atmos_restart |
time interval of atmosphere restart [sec] More... | |
real(dp), public | time_dtsec_ocean_restart |
time interval of ocean restart [sec] More... | |
real(dp), public | time_dtsec_land_restart |
time interval of land restart [sec] More... | |
real(dp), public | time_dtsec_urban_restart |
time interval of urban restart [sec] More... | |
real(dp), public | time_dtsec_resume |
time interval for resume [sec] More... | |
integer, public | time_dstep_atmos_restart |
interval of atmosphere restart [step] More... | |
integer, public | time_dstep_ocean_restart |
interval of ocean restart [step] More... | |
integer, public | time_dstep_land_restart |
interval of land restart [step] More... | |
integer, public | time_dstep_urban_restart |
interval of urban restart [step] More... | |
integer, public | time_dstep_resume |
interval for resume [step] More... | |
logical, public | time_doatmos_step |
execute atmosphere component in this step? More... | |
logical, public | time_doatmos_dyn |
execute dynamics in this step? More... | |
logical, public | time_doatmos_phy_cp |
execute physics in this step? (cumulus ) More... | |
logical, public | time_doatmos_phy_mp |
execute physics in this step? (microphysics) More... | |
logical, public | time_doatmos_phy_rd |
execute physics in this step? (radiation ) More... | |
logical, public | time_doatmos_phy_sf |
execute physics in this step? (surface flux) More... | |
logical, public | time_doatmos_phy_tb |
execute physics in this step? (turbulence ) More... | |
logical, public | time_doatmos_phy_bl |
execute physics in this step? (boudary layer ) More... | |
logical, public | time_doatmos_phy_ch |
execute physics in this step? (chemistry ) More... | |
logical, public | time_doatmos_phy_ae |
execute physics in this step? (aerosol ) More... | |
logical, public | time_doatmos_restart |
execute atmosphere restart output in this step? More... | |
logical, public | time_doocean_step |
execute ocean component in this step? More... | |
logical, public | time_doocean_restart |
execute ocean restart output in this step? More... | |
logical, public | time_doland_step |
execute land component in this step? More... | |
logical, public | time_doland_restart |
execute land restart output in this step? More... | |
logical, public | time_dourban_step |
execute urban component in this step? More... | |
logical, public | time_dourban_restart |
execute urban restart output in this step? More... | |
logical, public | time_doresume |
resume in this step? More... | |
logical, public | time_doend |
finish program in this step? More... | |
module ADMIN TIME
name | type | default value | comment |
---|---|---|---|
TIME_STARTDATE | integer, dimension(6) | (/ -999, 1, 1, 0, 0, 0 /) | |
TIME_STARTMS | real(DP) | 0.0_DP | [millisec] |
TIME_DURATION | real(DP) | UNDEF8 | |
TIME_DURATION_UNIT | character(len=H_SHORT) | "SEC" | |
TIME_DT | real(DP) | UNDEF8 | |
TIME_DT_UNIT | character(len=H_SHORT) | "SEC" | |
TIME_DT_ATMOS_DYN | real(DP) | UNDEF8 | |
TIME_DT_ATMOS_DYN_UNIT | character(len=H_SHORT) | "SEC" | |
TIME_NSTEP_ATMOS_DYN | integer | -1 | |
TIME_DT_ATMOS_PHY_CP | real(DP) | UNDEF8 | |
TIME_DT_ATMOS_PHY_CP_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_ATMOS_PHY_MP | real(DP) | UNDEF8 | |
TIME_DT_ATMOS_PHY_MP_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_ATMOS_PHY_RD | real(DP) | UNDEF8 | |
TIME_DT_ATMOS_PHY_RD_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_ATMOS_PHY_SF | real(DP) | UNDEF8 | |
TIME_DT_ATMOS_PHY_SF_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_ATMOS_PHY_TB | real(DP) | UNDEF8 | |
TIME_DT_ATMOS_PHY_TB_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_ATMOS_PHY_BL | real(DP) | UNDEF8 | |
TIME_DT_ATMOS_PHY_BL_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_ATMOS_PHY_CH | real(DP) | UNDEF8 | |
TIME_DT_ATMOS_PHY_CH_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_ATMOS_PHY_AE | real(DP) | UNDEF8 | |
TIME_DT_ATMOS_PHY_AE_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_ATMOS_RESTART | real(DP) | UNDEF8 | |
TIME_DT_ATMOS_RESTART_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_OCEAN | real(DP) | UNDEF8 | |
TIME_DT_OCEAN_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_OCEAN_RESTART | real(DP) | UNDEF8 | |
TIME_DT_OCEAN_RESTART_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_LAND | real(DP) | UNDEF8 | |
TIME_DT_LAND_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_LAND_RESTART | real(DP) | UNDEF8 | |
TIME_DT_LAND_RESTART_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_URBAN | real(DP) | UNDEF8 | |
TIME_DT_URBAN_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_URBAN_RESTART | real(DP) | UNDEF8 | |
TIME_DT_URBAN_RESTART_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_WALLCLOCK_CHECK | real(DP) | UNDEF8 | |
TIME_DT_WALLCLOCK_CHECK_UNIT | character(len=H_SHORT) | "" | |
TIME_DT_RESUME | real(DP) | UNDEF8 | |
TIME_DT_RESUME_UNIT | character(len=H_SHORT) | "" | |
TIME_WALLCLOCK_LIMIT | real(DP) | -1.0_DP | Elapse time limit of wall clock time [sec] |
TIME_WALLCLOCK_SAFE | real(DP) | 0.9_DP | Safety coefficient for elapse time limit |
DEBUG | logical | .false. |
subroutine, public mod_admin_time::admin_time_setup | ( | logical, intent(in) | setup_TimeIntegration | ) |
Setup.
Definition at line 117 of file mod_admin_time.F90.
References mod_atmos_vars::atmos_restart_in_basename, scale_calendar::calendar_adjust_daysec(), scale_calendar::calendar_cfunits2sec(), scale_calendar::calendar_combine_daysec(), scale_calendar::calendar_date2char(), scale_calendar::calendar_date2daysec(), scale_calendar::calendar_daysec2date(), scale_calendar::calendar_unit2sec(), scale_const::const_undef8, scale_io::io_fid_conf, scale_prc::prc_abort(), scale_prc::prc_mpitime(), scale_prc::prc_myrank, scale_time::time_dstep_atmos_dyn, scale_time::time_dstep_atmos_phy_ae, scale_time::time_dstep_atmos_phy_bl, scale_time::time_dstep_atmos_phy_ch, scale_time::time_dstep_atmos_phy_cp, scale_time::time_dstep_atmos_phy_mp, scale_time::time_dstep_atmos_phy_rd, scale_time::time_dstep_atmos_phy_sf, scale_time::time_dstep_atmos_phy_tb, time_dstep_atmos_restart, scale_time::time_dstep_land, time_dstep_land_restart, scale_time::time_dstep_ocean, time_dstep_ocean_restart, time_dstep_resume, scale_time::time_dstep_urban, time_dstep_urban_restart, scale_time::time_dstep_wallclock_check, scale_time::time_dtsec, scale_time::time_dtsec_atmos_dyn, scale_time::time_dtsec_atmos_phy_ae, scale_time::time_dtsec_atmos_phy_bl, scale_time::time_dtsec_atmos_phy_ch, scale_time::time_dtsec_atmos_phy_cp, scale_time::time_dtsec_atmos_phy_mp, scale_time::time_dtsec_atmos_phy_rd, scale_time::time_dtsec_atmos_phy_sf, scale_time::time_dtsec_atmos_phy_tb, time_dtsec_atmos_restart, scale_time::time_dtsec_land, time_dtsec_land_restart, scale_time::time_dtsec_ocean, time_dtsec_ocean_restart, time_dtsec_resume, scale_time::time_dtsec_urban, time_dtsec_urban_restart, scale_time::time_dtsec_wallclock_check, scale_time::time_nowdate, scale_time::time_nowday, scale_time::time_nowdaysec, scale_time::time_nowms, scale_time::time_nowsec, scale_time::time_nowstep, scale_time::time_nstep, scale_time::time_nstep_atmos_dyn, scale_time::time_offset_year, and scale_time::time_startdaysec.
Referenced by mod_rm_driver::rm_driver(), and mod_rm_prep::rm_prep().
subroutine, public mod_admin_time::admin_time_checkstate | ( | ) |
Evaluate component execution.
Definition at line 813 of file mod_admin_time.F90.
References scale_calendar::calendar_date2char(), scale_io::io_step_to_stdout, scale_prc::prc_mpitime(), scale_prc::prc_universal_ismaster, time_doatmos_dyn, time_doatmos_phy_ae, time_doatmos_phy_bl, time_doatmos_phy_ch, time_doatmos_phy_cp, time_doatmos_phy_mp, time_doatmos_phy_rd, time_doatmos_phy_sf, time_doatmos_phy_tb, time_doatmos_step, time_doland_step, time_doocean_step, time_doresume, time_dourban_step, scale_time::time_dstep_atmos_dyn, scale_time::time_dstep_atmos_phy_ae, scale_time::time_dstep_atmos_phy_bl, scale_time::time_dstep_atmos_phy_ch, scale_time::time_dstep_atmos_phy_cp, scale_time::time_dstep_atmos_phy_mp, scale_time::time_dstep_atmos_phy_rd, scale_time::time_dstep_atmos_phy_sf, scale_time::time_dstep_atmos_phy_tb, scale_time::time_dstep_land, scale_time::time_dstep_ocean, time_dstep_resume, scale_time::time_dstep_urban, scale_time::time_nowdate, scale_time::time_nowms, scale_time::time_nowstep, and scale_time::time_nstep.
Referenced by mod_rm_driver::rm_driver().
subroutine, public mod_admin_time::admin_time_advance | ( | ) |
Advance the time & evaluate restart & stop.
Definition at line 968 of file mod_admin_time.F90.
References scale_calendar::calendar_adjust_daysec(), scale_calendar::calendar_combine_daysec(), scale_calendar::calendar_daysec2date(), scale_prc::prc_ismaster, scale_prc::prc_mpitime(), time_doatmos_restart, time_doend, time_doland_restart, time_doocean_restart, time_dourban_restart, time_dstep_atmos_restart, time_dstep_land_restart, time_dstep_ocean_restart, time_dstep_urban_restart, scale_time::time_dstep_wallclock_check, scale_time::time_dtsec, scale_time::time_nowdate, scale_time::time_nowday, scale_time::time_nowdaysec, scale_time::time_nowms, scale_time::time_nowsec, scale_time::time_nowstep, scale_time::time_nstep, and scale_time::time_offset_year.
Referenced by mod_rm_driver::rm_driver().
real(dp), public mod_admin_time::time_dtsec_atmos_restart |
time interval of atmosphere restart [sec]
Definition at line 34 of file mod_admin_time.F90.
Referenced by admin_time_setup().
real(dp), public mod_admin_time::time_dtsec_ocean_restart |
time interval of ocean restart [sec]
Definition at line 35 of file mod_admin_time.F90.
Referenced by admin_time_setup().
real(dp), public mod_admin_time::time_dtsec_land_restart |
time interval of land restart [sec]
Definition at line 36 of file mod_admin_time.F90.
Referenced by admin_time_setup().
real(dp), public mod_admin_time::time_dtsec_urban_restart |
time interval of urban restart [sec]
Definition at line 37 of file mod_admin_time.F90.
Referenced by admin_time_setup().
real(dp), public mod_admin_time::time_dtsec_resume |
time interval for resume [sec]
Definition at line 38 of file mod_admin_time.F90.
Referenced by admin_time_setup().
integer, public mod_admin_time::time_dstep_atmos_restart |
interval of atmosphere restart [step]
Definition at line 40 of file mod_admin_time.F90.
Referenced by admin_time_advance(), and admin_time_setup().
integer, public mod_admin_time::time_dstep_ocean_restart |
interval of ocean restart [step]
Definition at line 41 of file mod_admin_time.F90.
Referenced by admin_time_advance(), and admin_time_setup().
integer, public mod_admin_time::time_dstep_land_restart |
interval of land restart [step]
Definition at line 42 of file mod_admin_time.F90.
Referenced by admin_time_advance(), and admin_time_setup().
integer, public mod_admin_time::time_dstep_urban_restart |
interval of urban restart [step]
Definition at line 43 of file mod_admin_time.F90.
Referenced by admin_time_advance(), and admin_time_setup().
integer, public mod_admin_time::time_dstep_resume |
interval for resume [step]
Definition at line 44 of file mod_admin_time.F90.
Referenced by admin_time_checkstate(), and admin_time_setup().
logical, public mod_admin_time::time_doatmos_step |
execute atmosphere component in this step?
Definition at line 46 of file mod_admin_time.F90.
Referenced by admin_time_checkstate(), and mod_rm_driver::rm_driver().
logical, public mod_admin_time::time_doatmos_dyn |
execute dynamics in this step?
Definition at line 47 of file mod_admin_time.F90.
Referenced by admin_time_checkstate(), and mod_atmos_driver::atmos_driver_update().
logical, public mod_admin_time::time_doatmos_phy_cp |
execute physics in this step? (cumulus )
Definition at line 48 of file mod_admin_time.F90.
Referenced by admin_time_checkstate(), and mod_atmos_driver::atmos_driver_calc_tendency().
logical, public mod_admin_time::time_doatmos_phy_mp |
execute physics in this step? (microphysics)
Definition at line 49 of file mod_admin_time.F90.
Referenced by admin_time_checkstate(), mod_atmos_driver::atmos_driver_calc_tendency(), and mod_atmos_driver::atmos_driver_update().
logical, public mod_admin_time::time_doatmos_phy_rd |
execute physics in this step? (radiation )
Definition at line 50 of file mod_admin_time.F90.
Referenced by admin_time_checkstate(), and mod_atmos_driver::atmos_driver_calc_tendency().
logical, public mod_admin_time::time_doatmos_phy_sf |
execute physics in this step? (surface flux)
Definition at line 51 of file mod_admin_time.F90.
Referenced by admin_time_checkstate(), mod_atmos_driver::atmos_driver_calc_tendency(), and mod_atmos_driver::atmos_driver_calc_tendency_from_sflux().
logical, public mod_admin_time::time_doatmos_phy_tb |
execute physics in this step? (turbulence )
Definition at line 52 of file mod_admin_time.F90.
Referenced by admin_time_checkstate(), and mod_atmos_driver::atmos_driver_calc_tendency().
logical, public mod_admin_time::time_doatmos_phy_bl |
execute physics in this step? (boudary layer )
Definition at line 53 of file mod_admin_time.F90.
Referenced by admin_time_checkstate(), mod_atmos_driver::atmos_driver_calc_tendency(), and mod_atmos_driver::atmos_driver_calc_tendency_from_sflux().
logical, public mod_admin_time::time_doatmos_phy_ch |
execute physics in this step? (chemistry )
Definition at line 54 of file mod_admin_time.F90.
Referenced by admin_time_checkstate(), and mod_atmos_driver::atmos_driver_calc_tendency().
logical, public mod_admin_time::time_doatmos_phy_ae |
execute physics in this step? (aerosol )
Definition at line 55 of file mod_admin_time.F90.
Referenced by admin_time_checkstate(), mod_atmos_driver::atmos_driver_calc_tendency(), and mod_atmos_driver::atmos_driver_update().
logical, public mod_admin_time::time_doatmos_restart |
execute atmosphere restart output in this step?
Definition at line 56 of file mod_admin_time.F90.
Referenced by mod_admin_restart::admin_restart_write(), admin_time_advance(), and mod_rm_prep::rm_prep().
logical, public mod_admin_time::time_doocean_step |
execute ocean component in this step?
Definition at line 57 of file mod_admin_time.F90.
Referenced by admin_time_checkstate(), and mod_rm_driver::rm_driver().
logical, public mod_admin_time::time_doocean_restart |
execute ocean restart output in this step?
Definition at line 58 of file mod_admin_time.F90.
Referenced by mod_admin_restart::admin_restart_write(), admin_time_advance(), and mod_rm_prep::rm_prep().
logical, public mod_admin_time::time_doland_step |
execute land component in this step?
Definition at line 59 of file mod_admin_time.F90.
Referenced by admin_time_checkstate(), and mod_rm_driver::rm_driver().
logical, public mod_admin_time::time_doland_restart |
execute land restart output in this step?
Definition at line 60 of file mod_admin_time.F90.
Referenced by mod_admin_restart::admin_restart_write(), admin_time_advance(), and mod_rm_prep::rm_prep().
logical, public mod_admin_time::time_dourban_step |
execute urban component in this step?
Definition at line 61 of file mod_admin_time.F90.
Referenced by admin_time_checkstate(), and mod_rm_driver::rm_driver().
logical, public mod_admin_time::time_dourban_restart |
execute urban restart output in this step?
Definition at line 62 of file mod_admin_time.F90.
Referenced by mod_admin_restart::admin_restart_write(), admin_time_advance(), and mod_rm_prep::rm_prep().
logical, public mod_admin_time::time_doresume |
resume in this step?
Definition at line 63 of file mod_admin_time.F90.
Referenced by admin_time_checkstate(), and mod_rm_driver::rm_driver().
logical, public mod_admin_time::time_doend |
finish program in this step?
Definition at line 64 of file mod_admin_time.F90.
Referenced by admin_time_advance(), and mod_rm_driver::rm_driver().