SCALE-RM
|
module process / cartesC More...
Functions/Subroutines | |
subroutine, public | prc_cartesc_setup |
Setup Processor topology. More... | |
Variables | |
integer, parameter, public | prc_w = 1 |
[node direction] west More... | |
integer, parameter, public | prc_n = 2 |
[node direction] north More... | |
integer, parameter, public | prc_e = 3 |
[node direction] east More... | |
integer, parameter, public | prc_s = 4 |
[node direction] south More... | |
integer, parameter, public | prc_nw = 5 |
[node direction] northwest More... | |
integer, parameter, public | prc_ne = 6 |
[node direction] northeast More... | |
integer, parameter, public | prc_sw = 7 |
[node direction] southwest More... | |
integer, parameter, public | prc_se = 8 |
[node direction] southeast More... | |
integer, public | prc_num_x = 1 |
x length of 2D processor topology More... | |
integer, public | prc_num_y = 1 |
y length of 2D processor topology More... | |
integer, dimension(:,:), allocatable, public | prc_2drank |
node index in 2D topology More... | |
integer, dimension(8), public | prc_next = -1 |
node ID of 8 neighbour process More... | |
logical, public | prc_has_w |
logical, public | prc_has_n |
logical, public | prc_has_e |
logical, public | prc_has_s |
logical, public | prc_periodic_x = .true. |
periodic condition or not (X)? More... | |
logical, public | prc_periodic_y = .true. |
periodic condition or not (Y)? More... | |
logical, public | prc_twod = .false. |
2D experiment More... | |
module process / cartesC
name | type | default value | comment |
---|---|---|---|
PRC_NUM_X | integer | 1 | x length of 2D processor topology |
PRC_NUM_Y | integer | 1 | y length of 2D processor topology |
PRC_PERIODIC_X | logical | .true. | periodic condition or not (X)? |
PRC_PERIODIC_Y | logical | .true. | periodic condition or not (Y)? |
PRC_CART_REORDER | logical | .false. | flag for rank reordering over the cartesian map |
subroutine, public scale_prc_cartesc::prc_cartesc_setup |
Setup Processor topology.
Definition at line 70 of file scale_prc_cartesC.F90.
References scale_io::io_fid_conf, scale_io::io_fid_nml, scale_io::io_l, scale_io::io_nml, prc_2drank, scale_prc::prc_abort(), scale_prc::prc_abort_comm_world, prc_e, scale_prc::prc_global_comm_world, scale_prc::prc_global_ismaster, scale_prc::prc_global_myrank, scale_prc::prc_global_nprocs, prc_has_e, prc_has_n, prc_has_s, prc_has_w, scale_prc::prc_ismaster, scale_prc::prc_local_comm_world, scale_prc::prc_masterrank, scale_prc::prc_mpi_alive, scale_prc::prc_myrank, prc_n, prc_ne, prc_next, scale_prc::prc_nprocs, prc_num_x, prc_num_y, prc_nw, prc_periodic_x, prc_periodic_y, prc_s, prc_se, prc_sw, scale_prc::prc_universal_comm_world, scale_prc::prc_universal_ismaster, scale_prc::prc_universal_myrank, scale_prc::prc_universal_nprocs, and prc_w.
Referenced by mod_rm_driver::rm_driver(), and mod_rm_prep::rm_prep().
integer, parameter, public scale_prc_cartesc::prc_w = 1 |
[node direction] west
Definition at line 32 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_f2013(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_mg2001(), and prc_cartesc_setup().
integer, parameter, public scale_prc_cartesc::prc_n = 2 |
[node direction] north
Definition at line 33 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_f2013(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_mg2001(), and prc_cartesc_setup().
integer, parameter, public scale_prc_cartesc::prc_e = 3 |
[node direction] east
Definition at line 34 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_f2013(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_mg2001(), and prc_cartesc_setup().
integer, parameter, public scale_prc_cartesc::prc_s = 4 |
[node direction] south
Definition at line 35 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_f2013(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_mg2001(), and prc_cartesc_setup().
integer, parameter, public scale_prc_cartesc::prc_nw = 5 |
[node direction] northwest
Definition at line 36 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_f2013(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_mg2001(), and prc_cartesc_setup().
integer, parameter, public scale_prc_cartesc::prc_ne = 6 |
[node direction] northeast
Definition at line 37 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_f2013(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_mg2001(), and prc_cartesc_setup().
integer, parameter, public scale_prc_cartesc::prc_sw = 7 |
[node direction] southwest
Definition at line 38 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_f2013(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_mg2001(), and prc_cartesc_setup().
integer, parameter, public scale_prc_cartesc::prc_se = 8 |
[node direction] southeast
Definition at line 39 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_f2013(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_mg2001(), and prc_cartesc_setup().
integer, public scale_prc_cartesc::prc_num_x = 1 |
x length of 2D processor topology
Definition at line 41 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_grid_cartesc::atmos_grid_cartesc_generate(), scale_atmos_grid_cartesc_index::atmos_grid_cartesc_index_setup_main(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_f2013(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_mg2001(), scale_comm_cartesc_nest::comm_cartesc_nest_domain_shape(), scale_file_cartesc::construct_derived_datatype(), scale_dft::dft_setup(), scale_file_cartesc::file_cartesc_create(), scale_file_cartesc::file_cartesc_read_1d(), scale_file_cartesc::file_cartesc_read_var_3d(), scale_file_cartesc::file_cartesc_read_var_4d(), scale_file_cartesc::file_cartesc_setup(), scale_file_cartesc::file_cartesc_write_var_2d(), scale_file_cartesc::file_cartesc_write_var_3d(), scale_file_cartesc::file_cartesc_write_var_3d_t(), scale_file_cartesc::file_cartesc_write_var_4d(), scale_file_history_cartesc::file_history_cartesc_truncate_3d(), prc_cartesc_setup(), mod_mkinit::read_sounding(), and scale_file_cartesc::set_dimension_informations().
integer, public scale_prc_cartesc::prc_num_y = 1 |
y length of 2D processor topology
Definition at line 42 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_grid_cartesc::atmos_grid_cartesc_generate(), scale_atmos_grid_cartesc_index::atmos_grid_cartesc_index_setup_main(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_f2013(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_mg2001(), scale_comm_cartesc_nest::comm_cartesc_nest_domain_shape(), scale_file_cartesc::construct_derived_datatype(), scale_dft::dft_setup(), scale_file_cartesc::file_cartesc_create(), scale_file_cartesc::file_cartesc_read_1d(), scale_file_cartesc::file_cartesc_read_var_3d(), scale_file_cartesc::file_cartesc_read_var_4d(), scale_file_cartesc::file_cartesc_setup(), scale_file_cartesc::file_cartesc_write_var_2d(), scale_file_cartesc::file_cartesc_write_var_3d(), scale_file_cartesc::file_cartesc_write_var_3d_t(), scale_file_cartesc::file_cartesc_write_var_4d(), scale_file_history_cartesc::file_history_cartesc_truncate_3d(), prc_cartesc_setup(), and scale_file_cartesc::set_dimension_informations().
integer, dimension(:,:), allocatable, public scale_prc_cartesc::prc_2drank |
node index in 2D topology
Definition at line 44 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_grid_cartesc::atmos_grid_cartesc_generate(), scale_atmos_grid_cartesc_index::atmos_grid_cartesc_index_setup_main(), mod_copytopo::copytopo(), scale_dft::dft_setup(), scale_file_cartesc::file_cartesc_create(), scale_file_cartesc::file_cartesc_setup(), scale_file_cartesc::file_cartesc_write_axes(), scale_file_cartesc::file_cartesc_write_var_1d(), scale_file_cartesc::file_cartesc_write_var_2d(), scale_file_cartesc::file_cartesc_write_var_3d(), scale_file_cartesc::file_cartesc_write_var_3d_t(), scale_file_cartesc::file_cartesc_write_var_4d(), scale_file_history_cartesc::file_history_cartesc_set_pres(), scale_file_history_cartesc::file_history_cartesc_truncate_3d(), and prc_cartesc_setup().
integer, dimension(8), public scale_prc_cartesc::prc_next = -1 |
node ID of 8 neighbour process
Definition at line 45 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_f2013(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_mg2001(), and prc_cartesc_setup().
logical, public scale_prc_cartesc::prc_has_w |
Definition at line 47 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_dyn::atmos_dyn_setup(), scale_atmos_dyn_tstep_large_fvm_heve::atmos_dyn_tstep_large_fvm_heve_setup(), scale_atmos_grid_cartesc_index::atmos_grid_cartesc_index_setup_main(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_electric_field(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_f2013(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_mg2001(), mod_atmos_phy_tb_driver::atmos_phy_tb_driver_calc_tendency(), mod_atmos_bnd_driver::calc_mass(), scale_comm_cartesc::comm_setup(), scale_file_history_cartesc::file_history_cartesc_set_pres(), scale_file_history_cartesc::file_history_cartesc_setup(), scale_file_history_cartesc::file_history_cartesc_truncate_3d(), scale_comm_cartesc::pack_3d(), prc_cartesc_setup(), mod_atmos_bnd_driver::set_boundary(), and scale_file_cartesc::set_dimension_informations().
logical, public scale_prc_cartesc::prc_has_n |
Definition at line 48 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_dyn::atmos_dyn_setup(), scale_atmos_dyn_tstep_large_fvm_heve::atmos_dyn_tstep_large_fvm_heve_setup(), scale_atmos_grid_cartesc_index::atmos_grid_cartesc_index_setup_main(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_electric_field(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_f2013(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_mg2001(), mod_atmos_phy_tb_driver::atmos_phy_tb_driver_calc_tendency(), mod_atmos_bnd_driver::calc_mass(), scale_comm_cartesc::comm_setup(), scale_file_history_cartesc::file_history_cartesc_truncate_3d(), prc_cartesc_setup(), mod_atmos_bnd_driver::set_boundary(), and scale_file_cartesc::set_dimension_informations().
logical, public scale_prc_cartesc::prc_has_e |
Definition at line 49 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_dyn::atmos_dyn_setup(), scale_atmos_dyn_tstep_large_fvm_heve::atmos_dyn_tstep_large_fvm_heve_setup(), scale_atmos_grid_cartesc_index::atmos_grid_cartesc_index_setup_main(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_electric_field(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_f2013(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_mg2001(), mod_atmos_phy_tb_driver::atmos_phy_tb_driver_calc_tendency(), mod_atmos_bnd_driver::calc_mass(), scale_comm_cartesc::comm_setup(), scale_file_history_cartesc::file_history_cartesc_truncate_3d(), scale_comm_cartesc::pack_3d(), prc_cartesc_setup(), mod_atmos_bnd_driver::set_boundary(), and scale_file_cartesc::set_dimension_informations().
logical, public scale_prc_cartesc::prc_has_s |
Definition at line 50 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_dyn::atmos_dyn_setup(), scale_atmos_dyn_tstep_large_fvm_heve::atmos_dyn_tstep_large_fvm_heve_setup(), scale_atmos_grid_cartesc_index::atmos_grid_cartesc_index_setup_main(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_electric_field(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_f2013(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_neutralization_mg2001(), mod_atmos_phy_tb_driver::atmos_phy_tb_driver_calc_tendency(), mod_atmos_bnd_driver::calc_mass(), scale_comm_cartesc::comm_setup(), scale_file_history_cartesc::file_history_cartesc_set_pres(), scale_file_history_cartesc::file_history_cartesc_setup(), scale_file_history_cartesc::file_history_cartesc_truncate_3d(), prc_cartesc_setup(), mod_atmos_bnd_driver::set_boundary(), and scale_file_cartesc::set_dimension_informations().
logical, public scale_prc_cartesc::prc_periodic_x = .true. |
periodic condition or not (X)?
Definition at line 52 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_grid_cartesc_index::atmos_grid_cartesc_index_setup_main(), scale_file_cartesc::file_cartesc_create(), scale_file_history_cartesc::file_history_cartesc_set_pres(), scale_file_history_cartesc::file_history_cartesc_setup(), scale_file_history_cartesc::file_history_cartesc_truncate_3d(), prc_cartesc_setup(), and scale_file_cartesc::set_dimension_informations().
logical, public scale_prc_cartesc::prc_periodic_y = .true. |
periodic condition or not (Y)?
Definition at line 53 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_grid_cartesc_index::atmos_grid_cartesc_index_setup_main(), scale_file_cartesc::file_cartesc_create(), scale_file_history_cartesc::file_history_cartesc_set_pres(), scale_file_history_cartesc::file_history_cartesc_setup(), scale_file_history_cartesc::file_history_cartesc_truncate_3d(), prc_cartesc_setup(), and scale_file_cartesc::set_dimension_informations().
logical, public scale_prc_cartesc::prc_twod = .false. |
2D experiment
Definition at line 55 of file scale_prc_cartesC.F90.
Referenced by scale_atmos_diagnostic_cartesc::atmos_diagnostic_cartesc_get_vel(), scale_atmos_dyn::atmos_dyn(), mod_atmos_dyn_driver::atmos_dyn_driver(), scale_atmos_dyn_fvm_flux::atmos_dyn_fvm_flux_setup(), scale_atmos_dyn_fvm_numfilter::atmos_dyn_fvm_numfilter_setup(), scale_atmos_dyn::atmos_dyn_setup(), scale_atmos_dyn_tstep_large_fvm_heve::atmos_dyn_tstep_large_fvm_heve_setup(), scale_atmos_grid_cartesc_index::atmos_grid_cartesc_index_setup(), scale_atmos_grid_cartesc_index::atmos_grid_cartesc_index_setup_main(), scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_rotcoef(), scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_setup(), scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_calc_areavol(), mod_atmos_vars::atmos_vars_check(), mod_atmos_vars::atmos_vars_get_diagnostic_3d(), scale_comm_cartesc::copy_boundary_2d(), scale_file_cartesc::file_cartesc_def_var(), scale_file_history_cartesc::file_history_cartesc_setup(), scale_file_history_cartesc::file_history_cartesc_truncate_3d(), scale_mapprojection::mapprojection_setup(), scale_monitor_cartesc::monitor_cartesc_setup(), scale_comm_cartesc::pack_3d(), scale_topography::topography_calc_tan_slope(), scale_comm_cartesc::vars8_2d_mpi(), scale_comm_cartesc::vars8_3d_mpi(), scale_comm_cartesc::vars8_init_mpi_pc(), scale_comm_cartesc::vars_2d_mpi(), scale_comm_cartesc::vars_3d_mpi(), scale_comm_cartesc::vars_3d_mpi_pc(), scale_comm_cartesc::vars_init_mpi_pc(), scale_comm_cartesc::wait_2d_mpi(), scale_comm_cartesc::wait_3d_mpi(), and scale_comm_cartesc::wait_3d_mpi_pc().