47 character(len=H_MID),
private,
parameter :: modelname =
"SCALE-RM ver. "//version
222 integer,
intent(in) :: comm_world
223 integer,
intent(in) :: intercomm_parent
224 integer,
intent(in) :: intercomm_child
225 character(len=*),
intent(in) :: cnf_fname
228 integer :: fpm_counter
236 call io_setup( modelname, cnf_fname )
300 call atmos_driver_tracer_setup
370 call prof_papi_rapstart
374 log_progress(*)
'START TIMESTEP' 426 if ( sign_exit )
then 427 log_error(
"scalerm",*)
'receive stop signal' 433 fpm_counter = fpm_counter + 1
440 log_progress(*)
'END TIMESTEP' 447 call prof_papi_rapstop
479 call prof_papi_rapreport
557 dens(:,:,:),
pott(:,:,:),
temp(:,:,:),
pres(:,:,:),
qv(:,:,:), &
558 cz(:), fz(:), fdz(:), rcdz(:), &
559 real_cz(:,:,:), real_fz(:,:,:), real_phi(:,:,:), area(:,:), &
subroutine, public atmos_refstate_update(KA, KS, KE, IA, IS, IE, JA, JS, JE, DENS, POTT, TEMP, PRES, QV, CZ, FZ, FDZ, RCDZ, REAL_CZ, REAL_FZ, REAL_PHI, AREA, nowsec, force)
Update reference state profile (Horizontal average)
subroutine, public file_close_all(skip_abort)
integer, public time_nowstep
current step [number]
integer, public fpm_polling_freq
real(rp), dimension(:,:,:), allocatable, public atmos_grid_cartesc_real_phi
geopotential [m2/s2] (cell center)
subroutine, public file_cartesc_setup
Setup.
subroutine, public urban_driver_calc_tendency(force)
Calclate tendency.
subroutine, public urban_grid_cartesc_setup
Setup.
subroutine, public prof_setup
subroutine, public atmos_surface_set(countup)
Set surface boundary condition.
module atmosphere / saturation
logical, public time_dourban_step
execute urban component in this step?
subroutine, public prof_setprefx(prefxname)
subroutine, public atmos_saturation_setup
Setup.
subroutine, public landuse_setup(OCEAN_do, URBAN_do, LAKE_do)
Setup.
subroutine, public ocean_grid_cartesc_index_setup
Setup.
subroutine, public land_driver_update
Land step.
real(dp), public time_nowms
subsecond part of current time [millisec]
logical, public time_doend
finish program in this step?
subroutine, public ocean_driver_setup
Setup.
subroutine, public land_grid_cartesc_real_setup
Setup real grid.
subroutine, public atmos_boundary_driver_set
set
subroutine, public ocean_grid_cartesc_real_setup
Setup area and volume.
integer, public ia
of whole cells: x, local, with HALO
module Atmosphere / Physics Cloud Microphysics
module land / grid / cartesianC / real
module land / grid / cartesianC / index
subroutine, public random_setup
Setup.
subroutine, public file_cartesc_cleanup
deallocate buffers
module Atmosphere Grid CartesianC metirc
subroutine, public user_calc_tendency
Calculation tendency.
subroutine, public urban_driver_update
Urban step.
subroutine, public atmos_grid_cartesc_metric_setup
Setup.
module atmosphere / reference state
subroutine, public land_vars_setup
Setup.
module ATMOSPHERIC Variables
subroutine, public ocean_vars_history
History output set for ocean variables.
real(dp), public time_nowdaysec
second of current time [sec]
subroutine, public monitor_cartesc_setup(dt, ATMOS_do, OCEAN_do, LAND_do, URBAN_do)
Setup.
subroutine, public urban_vars_history
History output set for urban variables.
subroutine, public prc_cartesc_setup
Setup Processor topology.
real(rp), dimension(:,:,:), allocatable, public atmos_grid_cartesc_real_fz
geopotential height [m] (wxy)
integer, public ja
of whole cells: y, local, with HALO
subroutine, public atmos_vars_calc_diagnostics
Calc diagnostic variables.
logical, public urban_land
subroutine, public land_grid_cartesc_setup
Setup.
real(rp), dimension(:), allocatable, public atmos_grid_cartesc_fdz
z-length of grid(i+1) to grid(i) [m]
subroutine, public user_tracer_setup
Config before setup of tracers.
real(rp), dimension(:,:,:), allocatable, target, public dens
real(rp), dimension(:), allocatable, public atmos_grid_cartesc_fz
face coordinate [m]: z, local
subroutine, public ocean_driver_update
Ocean step.
subroutine, public land_grid_cartesc_index_setup
Setup.
logical, public fpm_alive
subroutine, public atmos_grid_cartesc_real_setup
Setup.
subroutine, public atmos_driver_calc_tendency_from_sflux(force)
Calculation tendency from surface flux with coupler.
module urban / grid / icosahedralA / index
subroutine, public atmos_driver_calc_tendency(force)
Calculation tendency.
subroutine, public monitor_write(memo, nowstep)
Flush monitor buffer to formatted file.
subroutine, public land_admin_setup
Setup.
subroutine, public urban_surface_set(countup)
Set surface boundary to other model.
module SCALE-RM (a main routine of regional model)
subroutine, public atmos_grid_cartesc_index_setup(KMAX, IMAXG, JMAXG, IMAX, JMAX, KHALO, IHALO, JHALO, IBLOCK, JBLOCK)
setup index
logical, public io_l
output log or not? (this process)
subroutine, public admin_time_setup(setup_TimeIntegration)
Setup.
subroutine, public admin_restart_setup
Setup.
subroutine, public comm_cartesc_nest_setup(QA_MP, MP_TYPE_in, inter_parent, inter_child)
Setup.
subroutine, public topo_setup
Setup.
real(rp), dimension(:), allocatable, public atmos_grid_cartesc_rcdz
reciprocal of center-dz
module atmosphere / hydrometeor
module ADMIN VERSIONCHECK
logical, public time_doocean_step
execute ocean component in this step?
subroutine, public calendar_setup
Setup.
real(dp), public time_dtsec
time interval of model [sec]
logical, public time_doresume
resume in this step?
module atmosphere / grid / cartesC index
integer, public ke
end point of inner domain: z, local
module ocean / grid / cartesianC / real
subroutine, public land_driver_setup
Setup.
subroutine, public atmos_driver_tracer_setup
Tracer setup.
subroutine, public cpl_vars_setup
Setup.
subroutine, public ocean_surface_set(countup)
Put surface boundary to other model.
module ATMOSPHERE / Boundary treatment
real(rp), dimension(:,:,:), allocatable, target, public temp
subroutine, public atmos_vars_setup
Setup.
subroutine, public const_setup
Setup.
subroutine, public statistics_setup
Setup.
subroutine, public atmos_grid_cartesc_setup(basename, aggregate)
Setup.
module atmosphere / hydrostatic barance
module atmosphere / grid / cartesC
integer, public ks
start point of inner domain: z, local
subroutine, public rm_driver(comm_world, intercomm_parent, intercomm_child, cnf_fname)
Setup.
subroutine, public lake_admin_setup
Setup.
module urban / grid / cartesianC
subroutine, public atmos_thermodyn_setup
Setup.
real(rp), dimension(:,:,:), allocatable, target, public pott
subroutine, public atmos_driver_setup
Setup.
subroutine, public fpm_polling(run_stat, stop_signal)
Main system of FPM.
subroutine, public file_history_write
module administrator for restart
subroutine, public file_history_finalize
finalization
subroutine, public prc_abort
Abort Process.
subroutine, public urban_vars_setup
Setup.
real(rp), dimension(:,:,:), allocatable, pointer, target, public qv
subroutine, public prc_local_setup(comm, myrank, ismaster)
Setup MPI in local communicator.
subroutine, public urban_driver_setup
Setup.
subroutine, public land_driver_calc_tendency(force)
Calculate tendency.
module Communication CartesianC nesting
subroutine, public urban_grid_cartesc_real_setup
Setup real grid.
subroutine, public io_setup(APPNAME, conf_name, allow_noconf)
Setup.
subroutine, public file_history_cartesc_setup
Setup.
character(len=h_short), public atmos_phy_mp_type
subroutine, public ocean_admin_setup
Setup.
module land / grid / cartesianC
subroutine, public prof_rapstart(rapname_base, level)
Start raptime.
subroutine, public atmos_vars_monitor
monitor output
subroutine, public admin_restart_write
Write data to restart files.
module ocean / grid / cartesianC / index
real(rp), dimension(:,:,:), allocatable, public atmos_grid_cartesc_real_cz
geopotential height [m] (zxy)
subroutine, public comm_cleanup
subroutine, public monitor_finalize
Close file.
logical, public atmos_restart_check
Check value consistency?
subroutine, public urban_grid_cartesc_index_setup
Setup.
subroutine, public atmos_hydrometeor_setup
Setup.
module atmosphere / thermodyn
subroutine, public admin_time_advance
Advance the time & evaluate restart & stop.
module Atmosphere GRID CartesC Real(real space)
subroutine, public atmos_driver_finalize
Finalize.
subroutine, public cpl_admin_setup
Setup.
real(rp), dimension(:,:), allocatable, public atmos_grid_cartesc_real_area
horizontal area ( xy, normal z) [m2]
subroutine, public atmos_vars_history_setpres
Set pressure for history output.
logical, public time_doatmos_step
execute atmosphere component in this step?
subroutine, public ocean_driver_calc_tendency(force)
Calculate tendency.
subroutine, public io_log_setup(myrank, is_master)
Setup LOG.
subroutine, public atmos_admin_setup
Setup.
integer, public ka
of whole cells: z, local, with HALO
subroutine, public ocean_vars_setup
Setup.
subroutine, public land_vars_history
History output set for land variables.
module urban / grid / cartesianC / real
module file / history_cartesC
integer, dimension(6), public time_nowdate
current time [YYYY MM DD HH MM SS]
subroutine, public comm_setup
Setup.
subroutine, public admin_versioncheck
Setup.
subroutine, public urban_admin_setup
Setup.
subroutine, public user_setup
Setup before setup of other components.
subroutine, public bulkflux_setup(dx)
subroutine, public atmos_vars_history
History output set for atmospheric variables.
subroutine, public prof_rapend(rapname_base, level)
Save raptime.
subroutine, public atmos_vars_restart_check
Check and compare between last data and sample data.
integer, public io_fid_log
Log file ID.
real(rp), dimension(:), allocatable, public atmos_grid_cartesc_cz
center coordinate [m]: z, local
subroutine, public atmos_driver_update
advance atmospheric state
real(rp), dimension(:,:,:), allocatable, target, public pres
logical, public time_doland_step
execute land component in this step?
subroutine, public ocean_grid_cartesc_setup
Setup.
subroutine, public land_surface_set(countup)
Put surface boundary to other model.
subroutine, public user_update
User step.
subroutine, public atmos_hydrostatic_setup
Setup.
subroutine, public admin_restart_read
Read from restart files.
module ocean / grid / cartesianC
subroutine, public admin_time_checkstate
Evaluate component execution.
subroutine, public prof_rapreport
Report raptime.
subroutine, public file_history_set_nowdate(NOWDATE, NOWMS, NOWSTEP)
set now step