SCALE-RM
|
module MONITOR More...
Functions/Subroutines | |
subroutine, public | monit_setup |
Setup. More... | |
subroutine, public | monit_reg (itemid, item, desc, unit, ndim, isflux) |
Search existing item, or matching check between requested and registered item. More... | |
subroutine | monit_put_3d (itemid, var) |
Put total value to the monitor buffer. More... | |
subroutine | monit_in_2d (var, item, desc, unit, ndim, isflux) |
Wrapper routine of MONIT_reg+MONIT_put. More... | |
subroutine, public | monit_write (memo) |
Flush monitor buffer to formatted file. More... | |
subroutine, public | monit_finalize |
Close file. More... | |
module MONITOR
name | type | default value | comment |
---|---|---|---|
MONITOR_OUT_BASENAME | character(len=H_LONG) | 'monitor' | filename of monitor output |
MONITOR_USEDEVATION | logical | .true. | use deviation from first step? |
MONITOR_STEP_INTERVAL | integer | 1 | step interval |
name | type | default value | comment |
---|---|---|---|
ITEM | character(len=*) | name of the item |
subroutine, public scale_monitor::monit_setup | ( | ) |
Setup.
Definition at line 89 of file scale_monitor.F90.
References scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_fid_nml, scale_stdio::io_l, scale_stdio::io_nml, and scale_process::prc_mpistop().
Referenced by mod_rm_driver::scalerm().
subroutine, public scale_monitor::monit_reg | ( | integer, intent(out) | itemid, |
character(len=*), intent(in) | item, | ||
character(len=*), intent(in) | desc, | ||
character(len=*), intent(in) | unit, | ||
integer, intent(in) | ndim, | ||
logical, intent(in) | isflux | ||
) |
Search existing item, or matching check between requested and registered item.
[out] | itemid | index number of the item |
[in] | item | name of the item |
[in] | desc | description of the item |
[in] | unit | unit of the item |
[in] | ndim | dimension of the item |
[in] | isflux | need to integrate value? |
Definition at line 176 of file scale_monitor.F90.
References scale_stdio::io_fid_log, scale_stdio::io_l, scale_grid_index::kmax, and scale_time::time_dtsec.
Referenced by mod_atmos_vars::atmos_vars_setup(), and monit_in_2d().
subroutine scale_monitor::monit_put_3d | ( | integer, intent(in) | itemid, |
real(rp), dimension(:,:,:), intent(in) | var | ||
) |
Put total value to the monitor buffer.
[in] | itemid | index number of the item |
[in] | var | value |
Definition at line 289 of file scale_monitor.F90.
References scale_time::time_dtsec.
subroutine scale_monitor::monit_in_2d | ( | real(rp), dimension(:,:), intent(in) | var, |
character(len=*), intent(in) | item, | ||
character(len=*), intent(in) | desc, | ||
character(len=*), intent(in) | unit, | ||
integer, intent(in) | ndim, | ||
logical, intent(in) | isflux | ||
) |
Wrapper routine of MONIT_reg+MONIT_put.
[in] | var | value |
[in] | item | name of the item |
[in] | desc | description of the item |
[in] | unit | unit of the item |
[in] | ndim | dimension of the item |
[in] | isflux | need to integrate values? |
Definition at line 338 of file scale_monitor.F90.
References monit_reg().
subroutine, public scale_monitor::monit_write | ( | character(len=*), intent(in) | memo | ) |
Flush monitor buffer to formatted file.
[in] | memo | note |
Definition at line 386 of file scale_monitor.F90.
References scale_stdio::io_fid_log, scale_stdio::io_get_available_fid(), scale_stdio::io_l, scale_stdio::io_log_allnode, scale_stdio::io_make_idstr(), scale_process::prc_ismaster, scale_process::prc_mpistop(), scale_process::prc_myrank, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), and scale_time::time_nowstep.
Referenced by mod_rm_driver::scalerm().
subroutine, public scale_monitor::monit_finalize | ( | ) |
Close file.
Definition at line 491 of file scale_monitor.F90.
References scale_stdio::io_fid_log, scale_stdio::io_l, scale_stdio::io_make_idstr(), and scale_process::prc_myrank.
Referenced by mod_rm_driver::scalerm().