SCALE-RM
|
module Atmosphere Grid CartesianC metirc More...
Functions/Subroutines | |
subroutine, public | atmos_grid_cartesc_metric_setup |
Setup. More... | |
subroutine, public | atmos_grid_cartesc_metric_finalize |
Finalize. More... | |
subroutine | atmos_grid_cartesc_metric_rotcoef |
Calculate rotation coeffient. More... | |
Variables | |
real(rp), dimension(:,:,:,:), allocatable, public | atmos_grid_cartesc_metric_mapf |
map factor More... | |
real(rp), dimension(:,:,:), allocatable, public | atmos_grid_cartesc_metric_rotc |
rotation coefficient More... | |
real(rp), dimension(:,:,:,:), allocatable, public | atmos_grid_cartesc_metric_gsqrt |
transformation metrics from Z to Xi, {G}^1/2 More... | |
real(rp), dimension(:,:,:,:), allocatable, public | atmos_grid_cartesc_metric_j13g |
(1,3) element of Jacobian matrix * {G}^1/2 More... | |
real(rp), dimension(:,:,:,:), allocatable, public | atmos_grid_cartesc_metric_j23g |
(2,3) element of Jacobian matrix * {G}^1/2 More... | |
real(rp), public | atmos_grid_cartesc_metric_j33g |
(3,3) element of Jacobian matrix * {G}^1/2 More... | |
real(rp), dimension(:,:,:,:), allocatable, public | atmos_grid_cartesc_metric_limyz |
flux limiter y-z face More... | |
real(rp), dimension(:,:,:,:), allocatable, public | atmos_grid_cartesc_metric_limxz |
flux limiter x-z face More... | |
real(rp), dimension(:,:,:,:), allocatable, public | atmos_grid_cartesc_metric_limxy |
flux limiter x-y face More... | |
module Atmosphere Grid CartesianC metirc
name | type | default value | comment |
---|---|---|---|
ATMOS_GRID_CARTESC_METRIC_OUT_BASENAME | character(len=H_LONG) | '' | basename of the output file |
ATMOS_GRID_CARTESC_METRIC_OUT_DTYPE | character(len=H_SHORT) | 'DEFAULT' | REAL4 or REAL8 |
ATMOS_GRID_CARTESC_METRIC_TOPO_TYPE | character(len=H_SHORT) | 'TERRAINFOLLOWING' | topographical shceme |
ATMOS_GRID_CARTESC_METRIC_THINWALL_XDIV | integer | 50 | number dividing quarter-cell (x) |
ATMOS_GRID_CARTESC_METRIC_THINWALL_YDIV | integer | 50 | number dividing quarter-cell (y) |
subroutine, public scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_setup |
Setup.
Definition at line 73 of file scale_atmos_grid_cartesC_metric.F90.
References atmos_grid_cartesc_metric_gsqrt, atmos_grid_cartesc_metric_j13g, atmos_grid_cartesc_metric_j23g, atmos_grid_cartesc_metric_j33g, atmos_grid_cartesc_metric_limxy, atmos_grid_cartesc_metric_limxz, atmos_grid_cartesc_metric_limyz, atmos_grid_cartesc_metric_mapf, atmos_grid_cartesc_metric_rotc, atmos_grid_cartesc_metric_rotcoef(), 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(), and scale_prc_cartesc::prc_twod.
Referenced by mod_rm_driver::rm_driver(), and mod_rm_prep::rm_prep().
subroutine, public scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_finalize |
Finalize.
Definition at line 172 of file scale_atmos_grid_cartesC_metric.F90.
References atmos_grid_cartesc_metric_gsqrt, atmos_grid_cartesc_metric_j13g, atmos_grid_cartesc_metric_j23g, atmos_grid_cartesc_metric_limxy, atmos_grid_cartesc_metric_limxz, atmos_grid_cartesc_metric_limyz, atmos_grid_cartesc_metric_mapf, atmos_grid_cartesc_metric_rotc, scale_atmos_grid_cartesc::atmos_grid_cartesc_rcdx, scale_atmos_grid_cartesc::atmos_grid_cartesc_rcdy, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_lat, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_latuv, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_latuy, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_latxv, scale_atmos_grid_cartesc_index::i_uv, scale_atmos_grid_cartesc_index::i_uy, scale_atmos_grid_cartesc_index::i_xv, scale_atmos_grid_cartesc_index::i_xy, 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_prc_cartesc::prc_twod, and scale_topography::topography_calc_tan_slope().
Referenced by mod_rm_driver::rm_driver(), and mod_rm_prep::rm_prep().
subroutine scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_rotcoef |
Calculate rotation coeffient.
Definition at line 271 of file scale_atmos_grid_cartesC_metric.F90.
References scale_atmos_grid_cartesc::atmos_grid_cartesc_cx, scale_atmos_grid_cartesc::atmos_grid_cartesc_cy, scale_atmos_grid_cartesc::atmos_grid_cartesc_cz, scale_atmos_grid_cartesc::atmos_grid_cartesc_fx, scale_atmos_grid_cartesc::atmos_grid_cartesc_fy, scale_atmos_grid_cartesc::atmos_grid_cartesc_fz, atmos_grid_cartesc_metric_gsqrt, atmos_grid_cartesc_metric_j13g, atmos_grid_cartesc_metric_j23g, atmos_grid_cartesc_metric_j33g, atmos_grid_cartesc_metric_limxy, atmos_grid_cartesc_metric_limxz, atmos_grid_cartesc_metric_limyz, atmos_grid_cartesc_metric_mapf, atmos_grid_cartesc_metric_rotc, scale_atmos_grid_cartesc::atmos_grid_cartesc_rcdx, scale_atmos_grid_cartesc::atmos_grid_cartesc_rcdy, scale_atmos_grid_cartesc::atmos_grid_cartesc_rcdz, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_basepoint_lat, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_basepoint_lon, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_cz, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_czuv, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_czuy, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_czxv, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_fz, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_fzuv, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_fzuy, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_fzxv, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_lat, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_lon, scale_atmos_grid_cartesc::atmos_grid_cartesc_rfdx, scale_atmos_grid_cartesc::atmos_grid_cartesc_rfdy, scale_atmos_grid_cartesc::atmos_grid_cartesc_rfdz, scale_const::const_radius, scale_atmos_grid_cartesc_index::i_fxy, scale_atmos_grid_cartesc_index::i_fxz, scale_atmos_grid_cartesc_index::i_fyz, scale_atmos_grid_cartesc_index::i_uv, scale_atmos_grid_cartesc_index::i_uvz, scale_atmos_grid_cartesc_index::i_uy, scale_atmos_grid_cartesc_index::i_uyw, scale_atmos_grid_cartesc_index::i_uyz, scale_atmos_grid_cartesc_index::i_xv, scale_atmos_grid_cartesc_index::i_xvw, scale_atmos_grid_cartesc_index::i_xvz, scale_atmos_grid_cartesc_index::i_xy, scale_atmos_grid_cartesc_index::i_xyw, scale_atmos_grid_cartesc_index::i_xyz, 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, scale_prc::prc_abort(), scale_prc_cartesc::prc_twod, scale_topography::topography_zsfc, and scale_vector::vectr_distance().
Referenced by atmos_grid_cartesc_metric_setup().
real(rp), dimension (:,:,:,:), allocatable, public scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_mapf |
map factor
Definition at line 35 of file scale_atmos_grid_cartesC_metric.F90.
Referenced by mod_atmos_dyn_driver::atmos_dyn_driver(), atmos_grid_cartesc_metric_finalize(), atmos_grid_cartesc_metric_rotcoef(), atmos_grid_cartesc_metric_setup(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_electric_field(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_sato2019_setup(), mod_atmos_phy_tb_driver::atmos_phy_tb_driver_calc_tendency(), mod_atmos_phy_tb_driver::atmos_phy_tb_driver_setup(), mod_atmos_vars::atmos_vars_check(), mod_rm_driver::rm_driver(), and mod_rm_prep::rm_prep().
real(rp), dimension (:,:,:), allocatable, public scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_rotc |
rotation coefficient
Definition at line 36 of file scale_atmos_grid_cartesC_metric.F90.
Referenced by atmos_grid_cartesc_metric_finalize(), atmos_grid_cartesc_metric_rotcoef(), atmos_grid_cartesc_metric_setup(), mod_atmos_vars::atmos_vars_get_diagnostic_3d(), com_gamma(), scale_comm_cartesc_nest::comm_cartesc_nest_nestdown_recv(), scale_comm_cartesc_nest::comm_cartesc_nest_nestdown_send(), mod_atmos_phy_sf_driver::history_output(), and mod_realinput::realinput_surface().
real(rp), dimension(:,:,:,:), allocatable, public scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_gsqrt |
transformation metrics from Z to Xi, {G}^1/2
Definition at line 38 of file scale_atmos_grid_cartesC_metric.F90.
Referenced by scale_atmos_diagnostic_cartesc::atmos_diagnostic_cartesc_get_vel(), mod_atmos_dyn_driver::atmos_dyn_driver(), atmos_grid_cartesc_metric_finalize(), atmos_grid_cartesc_metric_rotcoef(), atmos_grid_cartesc_metric_setup(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_electric_field(), mod_atmos_phy_tb_driver::atmos_phy_tb_driver_calc_tendency(), and scale_atmos_phy_lt_sato2019::gs_ilu().
real(rp), dimension (:,:,:,:), allocatable, public scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_j13g |
(1,3) element of Jacobian matrix * {G}^1/2
Definition at line 39 of file scale_atmos_grid_cartesC_metric.F90.
Referenced by scale_atmos_diagnostic_cartesc::atmos_diagnostic_cartesc_get_vel(), mod_atmos_dyn_driver::atmos_dyn_driver(), atmos_grid_cartesc_metric_finalize(), atmos_grid_cartesc_metric_rotcoef(), atmos_grid_cartesc_metric_setup(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_electric_field(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_sato2019_setup(), and mod_atmos_phy_tb_driver::atmos_phy_tb_driver_calc_tendency().
real(rp), dimension (:,:,:,:), allocatable, public scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_j23g |
(2,3) element of Jacobian matrix * {G}^1/2
Definition at line 40 of file scale_atmos_grid_cartesC_metric.F90.
Referenced by scale_atmos_diagnostic_cartesc::atmos_diagnostic_cartesc_get_vel(), mod_atmos_dyn_driver::atmos_dyn_driver(), atmos_grid_cartesc_metric_finalize(), atmos_grid_cartesc_metric_rotcoef(), atmos_grid_cartesc_metric_setup(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_electric_field(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_sato2019_setup(), and mod_atmos_phy_tb_driver::atmos_phy_tb_driver_calc_tendency().
real(rp), public scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_j33g |
(3,3) element of Jacobian matrix * {G}^1/2
Definition at line 41 of file scale_atmos_grid_cartesC_metric.F90.
Referenced by mod_atmos_dyn_driver::atmos_dyn_driver(), atmos_grid_cartesc_metric_rotcoef(), atmos_grid_cartesc_metric_setup(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_electric_field(), scale_atmos_phy_lt_sato2019::atmos_phy_lt_sato2019_setup(), and mod_atmos_phy_tb_driver::atmos_phy_tb_driver_calc_tendency().
real(rp), dimension(:,:,:,:), allocatable, public scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_limyz |
flux limiter y-z face
Definition at line 43 of file scale_atmos_grid_cartesC_metric.F90.
Referenced by atmos_grid_cartesc_metric_finalize(), atmos_grid_cartesc_metric_rotcoef(), and atmos_grid_cartesc_metric_setup().
real(rp), dimension(:,:,:,:), allocatable, public scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_limxz |
flux limiter x-z face
Definition at line 44 of file scale_atmos_grid_cartesC_metric.F90.
Referenced by atmos_grid_cartesc_metric_finalize(), atmos_grid_cartesc_metric_rotcoef(), and atmos_grid_cartesc_metric_setup().
real(rp), dimension(:,:,:,:), allocatable, public scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_limxy |
flux limiter x-y face
Definition at line 45 of file scale_atmos_grid_cartesC_metric.F90.
Referenced by atmos_grid_cartesc_metric_finalize(), atmos_grid_cartesc_metric_rotcoef(), and atmos_grid_cartesc_metric_setup().