SCALE-RM
|
module Statistics More...
Functions/Subroutines | |
subroutine, public | stat_setup |
Setup. More... | |
subroutine | stat_total_2d (allstatval, var, varname) |
Calc volume/area-weighted global sum. More... | |
subroutine | stat_total_3d (allstatval, var, varname) |
Calc volume/area-weighted global sum. More... | |
subroutine, public | stat_detail (var, varname, supress_globalcomm) |
Search global maximum & minimum value. More... | |
Variables | |
logical, public | statistics_checktotal = .false. |
calc&report variable totals to logfile? More... | |
module Statistics
name | type | default value | comment |
---|---|---|---|
STATISTICS_CHECKTOTAL | logical | .false. | calc&report variable totals to logfile? |
STATISTICS_USE_GLOBALCOMM | logical | .false. | calculate total with global communication? |
subroutine, public scale_rm_statistics::stat_setup | ( | ) |
Setup.
Definition at line 63 of file scale_rm_statistics.F90.
References scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_l, scale_stdio::io_lnml, scale_process::prc_mpistop(), and statistics_checktotal.
Referenced by mod_rm_driver::scalerm(), and mod_rm_prep::scalerm_prep().
subroutine scale_rm_statistics::stat_total_2d | ( | real(rp), intent(out) | allstatval, |
real(rp), dimension(ia,ja), intent(in) | var, | ||
character(len=*), intent(in) | varname | ||
) |
Calc volume/area-weighted global sum.
[out] | allstatval | volume/area-weighted total |
[in] | var | 3D value |
[in] | varname | name of item |
Definition at line 103 of file scale_rm_statistics.F90.
References scale_comm::comm_datatype, scale_grid_index::ie, scale_stdio::io_fid_log, scale_stdio::io_l, scale_grid_index::is, scale_grid_index::je, scale_grid_index::js, scale_process::prc_mpistop(), scale_process::prc_myrank, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), and scale_grid_real::real_area.
subroutine scale_rm_statistics::stat_total_3d | ( | real(rp), intent(out) | allstatval, |
real(rp), dimension(ka,ia,ja), intent(in) | var, | ||
character(len=*), intent(in) | varname | ||
) |
Calc volume/area-weighted global sum.
[out] | allstatval | volume/area-weighted total |
[in] | var | 3D value |
[in] | varname | name of item |
Definition at line 172 of file scale_rm_statistics.F90.
References scale_comm::comm_datatype, scale_grid_index::ie, scale_stdio::io_fid_log, scale_stdio::io_l, scale_grid_index::is, scale_grid_index::je, scale_grid_index::js, scale_grid_index::ke, scale_grid_index::ks, scale_process::prc_mpistop(), scale_process::prc_myrank, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), and scale_grid_real::real_vol.
subroutine, public scale_rm_statistics::stat_detail | ( | real(rp), dimension(:,:,:,:), intent(inout) | var, |
character(len=*), dimension(:), intent(in) | varname, | ||
logical, intent(in), optional | supress_globalcomm | ||
) |
Search global maximum & minimum value.
[in,out] | var | values |
[in] | varname | name of item |
[in] | supress_globalcomm | supress global comm.? |
Definition at line 243 of file scale_rm_statistics.F90.
References scale_comm::comm_datatype, scale_const::const_undef2, scale_const::const_undef8, scale_grid_index::ia, scale_grid_index::ie, scale_stdio::io_fid_log, scale_stdio::io_l, scale_grid_index::is, scale_grid_index::ja, scale_grid_index::je, scale_grid_index::js, scale_grid_index::ka, scale_grid_index::ke, scale_grid_index::ks, scale_process::prc_myrank, scale_process::prc_nprocs, scale_prof::prof_rapend(), and scale_prof::prof_rapstart().
Referenced by mod_atmos_vars::atmos_vars_monitor(), and mod_cnvtopo::cnvtopo().
logical, public scale_rm_statistics::statistics_checktotal = .false. |
calc&report variable totals to logfile?
Definition at line 46 of file scale_rm_statistics.F90.
Referenced by mod_atmos_phy_ae_driver::atmos_phy_ae_driver(), mod_atmos_phy_ch_driver::atmos_phy_ch_driver(), mod_atmos_phy_cp_driver::atmos_phy_cp_driver(), mod_atmos_phy_mp_driver::atmos_phy_mp_driver(), mod_atmos_phy_rd_driver::atmos_phy_rd_driver(), mod_atmos_phy_sf_driver::atmos_phy_sf_driver(), mod_atmos_phy_tb_driver::atmos_phy_tb_driver(), mod_atmos_vars::atmos_vars_monitor(), mod_atmos_vars::atmos_vars_total(), mod_land_phy_driver::land_phy_driver(), mod_land_vars::land_vars_total(), mod_ocean_phy_driver::ocean_phy_driver(), mod_ocean_vars::ocean_vars_total(), stat_setup(), mod_urban_phy_driver::urban_phy_driver(), and mod_urban_vars::urban_vars_total().