SCALE-RM
|
module Atmosphere / Dynamics More...
Functions/Subroutines | |
subroutine, public | atmos_dyn_vars_setup |
Setup. More... | |
subroutine, public | atmos_dyn_vars_fillhalo |
HALO Communication. More... | |
subroutine, public | atmos_dyn_vars_restart_open |
Open restart file for read. More... | |
subroutine, public | atmos_dyn_vars_restart_read |
Read restart. More... | |
subroutine, public | atmos_dyn_vars_restart_create |
Create restart file. More... | |
subroutine, public | atmos_dyn_vars_restart_enddef |
Exit netCDF define mode. More... | |
subroutine, public | atmos_dyn_vars_restart_close |
Close restart file. More... | |
subroutine, public | atmos_dyn_vars_restart_def_var |
Define variables in restart file. More... | |
subroutine, public | atmos_dyn_vars_restart_write |
Write variables to restart file. More... | |
subroutine | atmos_dyn_vars_check |
Variables | |
logical, public | atmos_dyn_restart_output = .false. |
output restart file? More... | |
character(len=h_long), public | atmos_dyn_restart_in_basename = '' |
Basename of the input file. More... | |
logical, public | atmos_dyn_restart_in_aggregate |
Switch to use aggregate file. More... | |
logical, public | atmos_dyn_restart_in_postfix_timelabel = .false. |
Add timelabel to the basename of input file? More... | |
character(len=h_long), public | atmos_dyn_restart_out_basename = '' |
Basename of the output file. More... | |
logical, public | atmos_dyn_restart_out_aggregate |
Switch to use aggregate file. More... | |
logical, public | atmos_dyn_restart_out_postfix_timelabel = .true. |
Add timelabel to the basename of output file? More... | |
character(len=h_mid), public | atmos_dyn_restart_out_title = 'ATMOS_DYN restart' |
title of the output file More... | |
character(len=h_short), public | atmos_dyn_restart_out_dtype = 'DEFAULT' |
REAL4 or REAL8. More... | |
real(rp), dimension(:,:,:,:), allocatable, public | prog |
module Atmosphere / Dynamics
name | type | default value | comment |
---|---|---|---|
ATMOS_DYN_RESTART_IN_BASENAME | character(len=H_LONG) | '' | Basename of the input file |
ATMOS_DYN_RESTART_IN_AGGREGATE | logical | Switch to use aggregate file | |
ATMOS_DYN_RESTART_IN_POSTFIX_TIMELABEL | logical | .false. | Add timelabel to the basename of input file? |
ATMOS_DYN_RESTART_OUTPUT | logical | .false. | output restart file? |
ATMOS_DYN_RESTART_OUT_BASENAME | character(len=H_LONG) | '' | Basename of the output file |
ATMOS_DYN_RESTART_OUT_AGGREGATE | logical | Switch to use aggregate file | |
ATMOS_DYN_RESTART_OUT_POSTFIX_TIMELABEL | logical | .true. | Add timelabel to the basename of output file? |
ATMOS_DYN_RESTART_OUT_TITLE | character(len=H_MID) | 'ATMOS_DYN restart' | title of the output file |
ATMOS_DYN_RESTART_OUT_DTYPE | character(len=H_SHORT) | 'DEFAULT' | REAL4 or REAL8 |
subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_setup |
Setup.
Definition at line 80 of file mod_atmos_dyn_vars.F90.
References atmos_dyn_restart_in_aggregate, atmos_dyn_restart_in_basename, atmos_dyn_restart_in_postfix_timelabel, atmos_dyn_restart_out_aggregate, atmos_dyn_restart_out_basename, atmos_dyn_restart_out_dtype, atmos_dyn_restart_out_postfix_timelabel, atmos_dyn_restart_out_title, atmos_dyn_restart_output, scale_atmos_dyn_tstep_short::atmos_dyn_tstep_short_regist(), mod_atmos_admin::atmos_dyn_type, scale_const::const_undef, scale_atmos_grid_cartesc_index::ia, scale_io::io_fid_conf, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::ka, scale_prc::prc_abort(), prog, and scale_index::va.
Referenced by mod_atmos_vars::atmos_vars_setup().
subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_fillhalo |
HALO Communication.
Definition at line 174 of file mod_atmos_dyn_vars.F90.
References scale_atmos_grid_cartesc_index::ie, scale_atmos_grid_cartesc_index::is, scale_atmos_grid_cartesc_index::je, scale_atmos_grid_cartesc_index::js, scale_atmos_grid_cartesc_index::ka, scale_atmos_grid_cartesc_index::ke, scale_atmos_grid_cartesc_index::ks, prog, and scale_index::va.
Referenced by atmos_dyn_vars_restart_read(), and atmos_dyn_vars_restart_write().
subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_restart_open |
Open restart file for read.
Definition at line 203 of file mod_atmos_dyn_vars.F90.
References atmos_dyn_restart_in_aggregate, atmos_dyn_restart_in_basename, atmos_dyn_restart_in_postfix_timelabel, scale_file_cartesc::file_cartesc_open(), scale_time::time_gettimelabel(), and scale_index::va.
Referenced by mod_atmos_vars::atmos_vars_restart_open().
subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_restart_read |
Read restart.
Definition at line 240 of file mod_atmos_dyn_vars.F90.
References atmos_dyn_vars_check(), atmos_dyn_vars_fillhalo(), scale_file_cartesc::file_cartesc_flush(), scale_file::file_get_aggregate(), scale_atmos_grid_cartesc_index::ia, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::ka, scale_atmos_grid_cartesc_index::ke, scale_atmos_grid_cartesc_index::ks, scale_prc::prc_abort(), prog, and scale_index::va.
Referenced by mod_atmos_vars::atmos_vars_restart_read().
subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_restart_create |
Create restart file.
Definition at line 292 of file mod_atmos_dyn_vars.F90.
References atmos_dyn_restart_out_aggregate, atmos_dyn_restart_out_basename, atmos_dyn_restart_out_dtype, atmos_dyn_restart_out_postfix_timelabel, atmos_dyn_restart_out_title, scale_file_cartesc::file_cartesc_create(), scale_time::time_gettimelabel(), and scale_index::va.
Referenced by mod_atmos_vars::atmos_vars_restart_create().
subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_restart_enddef |
Exit netCDF define mode.
Definition at line 331 of file mod_atmos_dyn_vars.F90.
References scale_file_cartesc::file_cartesc_enddef(), and scale_index::va.
Referenced by mod_atmos_vars::atmos_vars_restart_enddef().
subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_restart_close |
Close restart file.
Definition at line 345 of file mod_atmos_dyn_vars.F90.
References scale_file_cartesc::file_cartesc_close().
Referenced by mod_atmos_vars::atmos_vars_restart_close().
subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_restart_def_var |
Define variables in restart file.
Definition at line 365 of file mod_atmos_dyn_vars.F90.
References atmos_dyn_restart_out_dtype, scale_file_cartesc::file_cartesc_def_var(), and scale_index::va.
Referenced by mod_atmos_vars::atmos_vars_restart_def_var().
subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_restart_write |
Write variables to restart file.
Definition at line 387 of file mod_atmos_dyn_vars.F90.
References atmos_dyn_vars_check(), atmos_dyn_vars_fillhalo(), prog, and scale_index::va.
Referenced by mod_atmos_vars::atmos_vars_restart_write().
subroutine mod_atmos_dyn_vars::atmos_dyn_vars_check |
Definition at line 410 of file mod_atmos_dyn_vars.F90.
References scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_totvol, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_vol, scale_atmos_grid_cartesc_index::ia, scale_atmos_grid_cartesc_index::ie, scale_atmos_grid_cartesc_index::is, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::je, scale_atmos_grid_cartesc_index::js, scale_atmos_grid_cartesc_index::ka, scale_atmos_grid_cartesc_index::ke, scale_atmos_grid_cartesc_index::ks, prog, and scale_index::va.
Referenced by atmos_dyn_vars_restart_read(), and atmos_dyn_vars_restart_write().
logical, public mod_atmos_dyn_vars::atmos_dyn_restart_output = .false. |
output restart file?
Definition at line 46 of file mod_atmos_dyn_vars.F90.
Referenced by mod_admin_restart::admin_restart_setup(), and atmos_dyn_vars_setup().
character(len=h_long), public mod_atmos_dyn_vars::atmos_dyn_restart_in_basename = '' |
Basename of the input file.
Definition at line 48 of file mod_atmos_dyn_vars.F90.
Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_open(), and atmos_dyn_vars_setup().
logical, public mod_atmos_dyn_vars::atmos_dyn_restart_in_aggregate |
Switch to use aggregate file.
Definition at line 49 of file mod_atmos_dyn_vars.F90.
Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_open(), and atmos_dyn_vars_setup().
logical, public mod_atmos_dyn_vars::atmos_dyn_restart_in_postfix_timelabel = .false. |
Add timelabel to the basename of input file?
Definition at line 50 of file mod_atmos_dyn_vars.F90.
Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_open(), and atmos_dyn_vars_setup().
character(len=h_long), public mod_atmos_dyn_vars::atmos_dyn_restart_out_basename = '' |
Basename of the output file.
Definition at line 51 of file mod_atmos_dyn_vars.F90.
Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_create(), and atmos_dyn_vars_setup().
logical, public mod_atmos_dyn_vars::atmos_dyn_restart_out_aggregate |
Switch to use aggregate file.
Definition at line 52 of file mod_atmos_dyn_vars.F90.
Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_create(), and atmos_dyn_vars_setup().
logical, public mod_atmos_dyn_vars::atmos_dyn_restart_out_postfix_timelabel = .true. |
Add timelabel to the basename of output file?
Definition at line 53 of file mod_atmos_dyn_vars.F90.
Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_create(), and atmos_dyn_vars_setup().
character(len=h_mid), public mod_atmos_dyn_vars::atmos_dyn_restart_out_title = 'ATMOS_DYN restart' |
title of the output file
Definition at line 54 of file mod_atmos_dyn_vars.F90.
Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_create(), and atmos_dyn_vars_setup().
character(len=h_short), public mod_atmos_dyn_vars::atmos_dyn_restart_out_dtype = 'DEFAULT' |
REAL4 or REAL8.
Definition at line 55 of file mod_atmos_dyn_vars.F90.
Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_create(), atmos_dyn_vars_restart_def_var(), and atmos_dyn_vars_setup().
real(rp), dimension(:,:,:,:), allocatable, public mod_atmos_dyn_vars::prog |
Definition at line 58 of file mod_atmos_dyn_vars.F90.
Referenced by mod_atmos_dyn_driver::atmos_dyn_driver(), mod_atmos_dyn_driver::atmos_dyn_driver_setup(), atmos_dyn_vars_check(), atmos_dyn_vars_fillhalo(), atmos_dyn_vars_restart_read(), atmos_dyn_vars_restart_write(), and atmos_dyn_vars_setup().