SCALE-RM
|
module INTERPOLATION More...
Functions/Subroutines | |
subroutine, public | interp_setup (weight_order, search_limit) |
Setup. More... | |
subroutine, public | interp_domain_compatibility (lon_org, lat_org, topc_org, lon_loc, lat_loc, topc_loc, topf_loc, skip_x, skip_y, skip_z) |
subroutine, public | interp_factor2d (npoints, IA_ref, JA_ref, lon_ref, lat_ref, IA, JA, lon, lat, idx_i, idx_j, hfact, search_limit, latlon_structure, weight_order) |
subroutine, public | interp_factor3d (npoints, KA_ref, KS_ref, KE_ref, IA_ref, JA_ref, lon_ref, lat_ref, hgt_ref, KA, KS, KE, IA, JA, lon, lat, hgt, idx_i, idx_j, hfact, idx_k, vfact) |
subroutine, public | interp_interp2d (npoints, IA_ref, JA_ref, IA, JA, idx_i, idx_j, hfact, val_ref, val) |
subroutine, public | interp_interp3d (npoints, KA_ref, IA_ref, JA_ref, KA, KS, KE, IA, JA, idx_i, idx_j, hfact, idx_k, vfact, val_ref, val, logwgt) |
subroutine | interp_search_horiz_struct (npoints, psizex, psizey, IA_ref, JA_ref, lon_ref, lat_ref, lon_min, lat_min, dlon, dlat, i0, i1, j0, j1, lon, lat, idx_i, idx_j, hfact, search_limit, weight_order) |
subroutine | interp_insert_2d (npoints, lon, lat, lon_ref, lat_ref, i, j, drad, idx_i, idx_j) |
subroutine | interp_div_block (nsize, psize, nidx_max, lon_ref, lat_ref, idx, nidx, lon_min, lon_max, lat_min, lat_max, dlon, dlat) |
module INTERPOLATION
subroutine, public scale_interp::interp_setup | ( | integer, intent(in) | weight_order, |
real(rp), intent(in), optional | search_limit | ||
) |
Setup.
Definition at line 69 of file scale_interp.F90.
References scale_io::io_fid_conf, and scale_prc::prc_abort().
Referenced by scale_comm_cartesc_nest::comm_cartesc_nest_setup().
subroutine, public scale_interp::interp_domain_compatibility | ( | real(rp), dimension (:,:), intent(in) | lon_org, |
real(rp), dimension (:,:), intent(in) | lat_org, | ||
real(rp), dimension(:,:), intent(in) | topc_org, | ||
real(rp), dimension (:,:), intent(in) | lon_loc, | ||
real(rp), dimension (:,:), intent(in) | lat_loc, | ||
real(rp), dimension(:,:), intent(in) | topc_loc, | ||
real(rp), dimension(:,:), intent(in) | topf_loc, | ||
logical, intent(in), optional | skip_x, | ||
logical, intent(in), optional | skip_y, | ||
logical, intent(in), optional | skip_z | ||
) |
Definition at line 119 of file scale_interp.F90.
References scale_const::const_d2r, and scale_prc::prc_abort().
Referenced by mod_copytopo::copytopo(), and mod_realinput::realinput_surface().
subroutine, public scale_interp::interp_factor2d | ( | integer, intent(in) | npoints, |
integer, intent(in) | IA_ref, | ||
integer, intent(in) | JA_ref, | ||
real(rp), dimension(ia_ref,ja_ref), intent(in) | lon_ref, | ||
real(rp), dimension(ia_ref,ja_ref), intent(in) | lat_ref, | ||
integer, intent(in) | IA, | ||
integer, intent(in) | JA, | ||
real(rp), dimension (ia,ja), intent(in) | lon, | ||
real(rp), dimension (ia,ja), intent(in) | lat, | ||
integer, dimension(ia,ja,npoints), intent(out) | idx_i, | ||
integer, dimension(ia,ja,npoints), intent(out) | idx_j, | ||
real(rp), dimension(ia,ja,npoints), intent(out) | hfact, | ||
real(rp), intent(in), optional | search_limit, | ||
logical, intent(in), optional | latlon_structure, | ||
integer, intent(in), optional | weight_order | ||
) |
Definition at line 226 of file scale_interp.F90.
References scale_const::const_undef, interp_div_block(), interp_search_horiz_struct(), scale_prc::prc_abort(), scale_prof::prof_rapend(), and scale_prof::prof_rapstart().
Referenced by scale_atmos_sfc_ch_rn222::atmos_sfc_ch_rn222_setup(), mod_cnvtopo::cnvtopo(), mod_copytopo::copytopo(), mod_realinput::land_interporation(), and mod_realinput::realinput_surface().
subroutine, public scale_interp::interp_factor3d | ( | integer, intent(in) | npoints, |
integer, intent(in) | KA_ref, | ||
integer, intent(in) | KS_ref, | ||
integer, intent(in) | KE_ref, | ||
integer, intent(in) | IA_ref, | ||
integer, intent(in) | JA_ref, | ||
real(rp), dimension(ia_ref,ja_ref), intent(in) | lon_ref, | ||
real(rp), dimension(ia_ref,ja_ref), intent(in) | lat_ref, | ||
real(rp), dimension(ka_ref,ia_ref,ja_ref), intent(in) | hgt_ref, | ||
integer, intent(in) | KA, | ||
integer, intent(in) | KS, | ||
integer, intent(in) | KE, | ||
integer, intent(in) | IA, | ||
integer, intent(in) | JA, | ||
real(rp), dimension (ia,ja), intent(in) | lon, | ||
real(rp), dimension (ia,ja), intent(in) | lat, | ||
real(rp), dimension (ka,ia,ja), intent(in) | hgt, | ||
integer, dimension(ia,ja,npoints), intent(out) | idx_i, | ||
integer, dimension(ia,ja,npoints), intent(out) | idx_j, | ||
real(rp), dimension(ia,ja,npoints), intent(out) | hfact, | ||
integer, dimension(ka,2,ia,ja,npoints), intent(out) | idx_k, | ||
real(rp), dimension(ka,2,ia,ja,npoints), intent(out) | vfact | ||
) |
Definition at line 484 of file scale_interp.F90.
References interp_div_block(), scale_prc::prc_abort(), scale_prof::prof_rapend(), and scale_prof::prof_rapstart().
Referenced by scale_comm_cartesc_nest::comm_cartesc_nest_setup(), mod_realinput::land_interporation(), and mod_realinput::realinput_surface().
subroutine, public scale_interp::interp_interp2d | ( | integer, intent(in) | npoints, |
integer, intent(in) | IA_ref, | ||
integer, intent(in) | JA_ref, | ||
integer, intent(in) | IA, | ||
integer, intent(in) | JA, | ||
integer, dimension (ia,ja,npoints), intent(in) | idx_i, | ||
integer, dimension (ia,ja,npoints), intent(in) | idx_j, | ||
real(rp), dimension (ia,ja,npoints), intent(in) | hfact, | ||
real(rp), dimension(ia_ref,ja_ref), intent(in) | val_ref, | ||
real(rp), dimension (ia,ja), intent(out) | val | ||
) |
Definition at line 594 of file scale_interp.F90.
References scale_const::const_eps, scale_const::const_undef, scale_prof::prof_rapend(), and scale_prof::prof_rapstart().
Referenced by scale_atmos_sfc_ch_rn222::atmos_sfc_ch_rn222_land_flux(), mod_cnvtopo::cnvtopo(), mod_copytopo::copytopo(), mod_realinput::land_interporation(), and mod_realinput::realinput_surface().
subroutine, public scale_interp::interp_interp3d | ( | integer, intent(in) | npoints, |
integer, intent(in) | KA_ref, | ||
integer, intent(in) | IA_ref, | ||
integer, intent(in) | JA_ref, | ||
integer, intent(in) | KA, | ||
integer, intent(in) | KS, | ||
integer, intent(in) | KE, | ||
integer, intent(in) | IA, | ||
integer, intent(in) | JA, | ||
integer, dimension (ia,ja,npoints), intent(in) | idx_i, | ||
integer, dimension (ia,ja,npoints), intent(in) | idx_j, | ||
real(rp), dimension (ia,ja,npoints), intent(in) | hfact, | ||
integer, dimension (ka,2,ia,ja,npoints), intent(in) | idx_k, | ||
real(rp), dimension (ka,2,ia,ja,npoints), intent(in) | vfact, | ||
real(rp), dimension(ka_ref,ia_ref,ja_ref), intent(in), target | val_ref, | ||
real(rp), dimension (ka,ia,ja), intent(out) | val, | ||
logical, intent(in), optional | logwgt | ||
) |
Definition at line 658 of file scale_interp.F90.
References scale_const::const_eps, scale_const::const_radius, scale_prof::prof_rapend(), and scale_prof::prof_rapstart().
Referenced by scale_comm_cartesc_nest::comm_cartesc_nest_intercomm_nestdown_3d(), mod_realinput::land_interporation(), and mod_realinput::realinput_surface().
subroutine scale_interp::interp_search_horiz_struct | ( | integer, intent(in) | npoints, |
integer, intent(in) | psizex, | ||
integer, intent(in) | psizey, | ||
integer, intent(in) | IA_ref, | ||
integer, intent(in) | JA_ref, | ||
real(rp), dimension(ia_ref), intent(in) | lon_ref, | ||
real(rp), dimension(ja_ref), intent(in) | lat_ref, | ||
real(rp), intent(in) | lon_min, | ||
real(rp), intent(in) | lat_min, | ||
real(rp), intent(in) | dlon, | ||
real(rp), intent(in) | dlat, | ||
integer, dimension(psizex), intent(in) | i0, | ||
integer, dimension(psizex), intent(in) | i1, | ||
integer, dimension(psizey), intent(in) | j0, | ||
integer, dimension(psizey), intent(in) | j1, | ||
real(rp), intent(in) | lon, | ||
real(rp), intent(in) | lat, | ||
integer, dimension(npoints), intent(out) | idx_i, | ||
integer, dimension(npoints), intent(out) | idx_j, | ||
real(rp), dimension(npoints), intent(out) | hfact, | ||
real(rp), intent(in), optional | search_limit, | ||
integer, intent(in), optional | weight_order | ||
) |
Definition at line 921 of file scale_interp.F90.
References scale_const::const_eps, scale_const::const_radius, scale_const::const_undef, interp_insert_2d(), and scale_prc::prc_abort().
Referenced by interp_factor2d().
subroutine scale_interp::interp_insert_2d | ( | integer, intent(in) | npoints, |
real(rp), intent(in) | lon, | ||
real(rp), intent(in) | lat, | ||
real(rp), intent(in) | lon_ref, | ||
real(rp), intent(in) | lat_ref, | ||
integer, intent(in) | i, | ||
integer, intent(in) | j, | ||
real(rp), dimension(npoints), intent(inout) | drad, | ||
integer, dimension(npoints), intent(inout) | idx_i, | ||
integer, dimension(npoints), intent(inout) | idx_j | ||
) |
Definition at line 1181 of file scale_interp.F90.
References scale_const::const_undef.
Referenced by interp_search_horiz_struct().
subroutine scale_interp::interp_div_block | ( | integer, intent(in) | nsize, |
integer, intent(in) | psize, | ||
integer, intent(in) | nidx_max, | ||
real(rp), dimension(nsize), intent(in) | lon_ref, | ||
real(rp), dimension(nsize), intent(in) | lat_ref, | ||
integer, dimension (nidx_max,psize,psize), intent(out) | idx, | ||
integer, dimension(psize,psize), intent(out) | nidx, | ||
real(rp), intent(out) | lon_min, | ||
real(rp), intent(out) | lon_max, | ||
real(rp), intent(out) | lat_min, | ||
real(rp), intent(out) | lat_max, | ||
real(rp), intent(out) | dlon, | ||
real(rp), intent(out) | dlat | ||
) |
Definition at line 1223 of file scale_interp.F90.
References scale_const::const_undef, and scale_prc::prc_abort().
Referenced by interp_factor2d(), and interp_factor3d().