FV3DYCORE  Version 2.0.0
fv_nesting.F90 File Reference

Go to the source code of this file.

Modules

module  fv_nesting_mod
 The module 'fv_nesting' is a collection of routines pertaining to grid nesting [harris2013two].
 

Functions/Subroutines

subroutine, public fv_nesting_mod::setup_nested_grid_bcs (npx, npy, npz, zvir, ncnst, u, v, w, pt, delp, delz, q, uc, vc, nested, inline_q, make_nh, ng, gridstruct, flagstruct, neststruct, nest_timestep, tracer_nest_timestep, domain, parent_grid, bd, nwat, ak, bk)
 The subroutine 'setup_nested_grid_BCs' fetches data from the coarse grid to set up the nested-grid boundary conditions. More...
 
subroutine, public fv_nesting_mod::set_physics_bcs (ps, u_dt, v_dt, flagstruct, gridstruct, neststruct, npx, npy, npz, ng, ak, bk, bd)
 
subroutine fv_nesting_mod::set_bc_direct (pe_src_BC, pe_dst_BC, buf, var, neststruct, npx, npy, npz, npz_coarse, ng, bd, istag, jstag, iv, kord)
 
subroutine fv_nesting_mod::setup_pt_bc (pt_BC, pe_eul_BC, sphum_BC, npx, npy, npz, zvir, bd)
 
subroutine fv_nesting_mod::setup_pt_bc_k (ptBC, sphumBC, peBC, zvir, isd_BC, ied_BC, istart, iend, jstart, jend, npz)
 
subroutine fv_nesting_mod::setup_eul_delp_bc (delp_lag_BC, delp_eul_BC, pe_lag_BC, pe_eul_BC, ak_dst, bk_dst, npx, npy, npz, npz_coarse, ptop_src, bd)
 
subroutine fv_nesting_mod::setup_eul_delp_bc_k (delplagBC, delpeulBC, pelagBC, peeulBC, ptop_src, ak_dst, bk_dst, isd_BC, ied_BC, istart, iend, jstart, jend, npz, npz_coarse)
 
subroutine fv_nesting_mod::copy_ps_bc (ps, pe_BC, npx, npy, npz, istag, jstag, bd)
 
subroutine fv_nesting_mod::setup_eul_pe_bc (pe_src_BC, pe_eul_BC, ak_dst, bk_dst, npx, npy, npz, npz_src, istag, jstag, bd, make_src_in, ak_src, bk_src)
 
subroutine fv_nesting_mod::setup_eul_pe_bc_k (pesrcBC, peeulBC, ak_dst, bk_dst, isd_BC, ied_BC, istart, iend, jstart, jend, npz, npz_src, make_src, ak_src, bk_src)
 
subroutine fv_nesting_mod::remap_bc (pe_lag_BC, pe_eul_BC, var_lag_BC, var_eul_BC, npx, npy, npz, npz_coarse, bd, istag, jstag, iv, kord, varname, do_log_pe)
 
subroutine fv_nesting_mod::remap_bc_direct (pe_lag_BC, pe_eul_BC, var_lag_BC, var, npx, npy, npz, npz_coarse, bd, istag, jstag, iv, kord, do_log_pe)
 
subroutine fv_nesting_mod::remap_bc_k (pe_lagBC, pe_eulBC, var_lagBC, var_eulBC, isd_BC, ied_BC, istart, iend, jstart, jend, npz, npz_coarse, iv, kord, log_pe)
 
subroutine fv_nesting_mod::remap_delz_bc (pe_lag_BC, pe_eul_BC, delp_lag_BC, delz_lag_BC, delp_eul_BC, delz_eul_BC, npx, npy, npz, npz_coarse, bd, istag, jstag, iv, kord)
 
subroutine fv_nesting_mod::compute_specific_volume_bc_k (delpBC, delzBC, isd_BC, ied_BC, istart, iend, jstart, jend, npz)
 
subroutine fv_nesting_mod::compute_delz_bc_k (delpBC, delzBC, isd_BC, ied_BC, istart, iend, jstart, jend, npz)
 
subroutine fv_nesting_mod::setup_pt_nh_bc (pt_BC, delp_BC, delz_BC, sphum_BC, q_BC, nq, npx, npy, npz, zvir, bd)
 
subroutine fv_nesting_mod::setup_pt_nh_bc_k (ptBC, sphumBC, delpBC, delzBC, liq_watBC, rainwatBC, ice_watBC, snowwatBC, graupelBC, zvir, isd_BC, ied_BC, istart, iend, jstart, jend, npz)
 
subroutine fv_nesting_mod::set_nh_bcs_t0 (neststruct)
 
subroutine fv_nesting_mod::set_bcs_t0 (ncnst, hydrostatic, neststruct)
 
subroutine fv_nesting_mod::d2c_setup (u, v, ua, va, uc, vc, dord4, isd, ied, jsd, jed, is, ie, js, je, npx, npy, grid_type, bounded_domain, se_corner, sw_corner, ne_corner, nw_corner, rsin_u, rsin_v, cosa_s, rsin2)
 
subroutine fv_nesting_mod::d2a_setup (u, v, ua, va, dord4, isd, ied, jsd, jed, is, ie, js, je, npx, npy, grid_type, bounded_domain, cosa_s, rsin2)
 
subroutine, public fv_nesting_mod::twoway_nesting (Atm, ngrids, grids_on_this_pe, zvir, Time, this_grid)
 The subroutine'twoway_nesting' performs a two-way update of nested-grid data onto the parent grid. More...
 
subroutine fv_nesting_mod::twoway_nest_update (npx, npy, npz, zvir, ncnst, sphum, u, v, w, pt, delp, q, pe, pkz, delz, ps, ptop, ak, bk, gridstruct, flagstruct, neststruct, domain, parent_grid, bd, grid_number, conv_theta_in)
 
subroutine fv_nesting_mod::level_sum (q, area, domain, bd, npz, L_sum)
 
subroutine fv_nesting_mod::remap_up_k (ps_src, ps_dst, ak_src, bk_src, ak_dst, bk_dst, var_src, var_dst, bd, istart, iend, jstart, jend, istag, jstag, npz_src, npz_dst, iv, kord, blend_wt, log_pe)
 
subroutine fv_nesting_mod::after_twoway_nest_update (npx, npy, npz, ng, ncnst, u, v, w, delz, pt, delp, q, ps, pe, pk, peln, pkz, phis, ua, va, ptop, gridstruct, flagstruct, domain, bd, Time)
 
subroutine fv_nesting_mod::update_remap_tqw (npz, ak_dst, bk_dst, ps_dst, t_dst, q_dst, w_dst, hydrostatic, kmd, ps_src, ak_src, bk_src, t_src, w_src, zvir, ptop, nq, kord_tm, kord_tr, kord_wz, is, ie, js, je, isd, ied, jsd, jed, do_q, istart, iend, jstart, jend, blend_wt)
 The subroutine 'update_remap_tqw' remaps (interpolated) nested-grid data to the coarse-grid's vertical coordinate. More...
 
subroutine fv_nesting_mod::update_remap_uv (npz, ak_dst, bk_dst, ps_dst, u_dst, v_dst, kmd, ak_src, bk_src, ps_src, u_src, v_src, kord_mt, is, ie, js, je, isd, ied, jsd, jed, ptop, istart, iend, jstart, jend, blend_wt)
 

Variables

logical fv_nesting_mod::rf_initialized = .false.
 
logical fv_nesting_mod::bad_range
 
real, dimension(:), allocatable fv_nesting_mod::rf
 
real, dimension(:), allocatable fv_nesting_mod::rw
 
integer fv_nesting_mod::kmax =1
 
real, dimension(:,:), allocatable fv_nesting_mod::te_2d_coarse
 
real, dimension(:,:,:), allocatable fv_nesting_mod::dp1_coarse
 
type(fv_nest_bc_type_3d) fv_nesting_mod::u_buf
 
type(fv_nest_bc_type_3d) fv_nesting_mod::v_buf
 
type(fv_nest_bc_type_3d) fv_nesting_mod::uc_buf
 
type(fv_nest_bc_type_3d) fv_nesting_mod::vc_buf
 
type(fv_nest_bc_type_3d) fv_nesting_mod::delp_buf
 
type(fv_nest_bc_type_3d) fv_nesting_mod::delz_buf
 
type(fv_nest_bc_type_3d) fv_nesting_mod::pt_buf
 
type(fv_nest_bc_type_3d) fv_nesting_mod::w_buf
 
type(fv_nest_bc_type_3d) fv_nesting_mod::divg_buf
 
type(fv_nest_bc_type_3d) fv_nesting_mod::pe_u_buf
 
type(fv_nest_bc_type_3d) fv_nesting_mod::pe_v_buf
 
type(fv_nest_bc_type_3d) fv_nesting_mod::pe_b_buf
 
type(fv_nest_bc_type_3d), dimension(:), allocatable fv_nesting_mod::q_buf
 
real, dimension(:,:,:), allocatable, target fv_nesting_mod::dum_west
 
real, dimension(:,:,:), allocatable, target fv_nesting_mod::dum_east
 
real, dimension(:,:,:), allocatable, target fv_nesting_mod::dum_north
 
real, dimension(:,:,:), allocatable, target fv_nesting_mod::dum_south