Skip to content
7 changes: 6 additions & 1 deletion Registry/Registry.EM_COMMON
Original file line number Diff line number Diff line change
Expand Up @@ -2915,7 +2915,12 @@ package mynn_dmp_edmf bl_mynn_edmf==1 - state:edmf_a,
package pbl_cloud icloud_bl==1 - state:cldfra_bl,qc_bl

#SMS-3DTKE
package sms_3dtke km_opt==5 - state:gamu,gamv,nlflux,dlk,l_scale,elmin,xkmv_meso,xkmh_t,u_h_tend,u_z_tend,v_h_tend,v_z_tend,w_h_tend,w_z_tend,th_h_tend,th_z_tend,tke_buoy_tend,tke_shear_tend,tke_production_tend,tke_diffusion_h_tend,tke_diffusion_z_tend
#jm deleting from package sms_3dtke variables used elsewhere
# l_scale
# th_h_tend
# tke_diffusion_h_tend
package sms_3dtke km_opt==5 - state:gamu,gamv,nlflux,dlk,elmin,xkmv_meso,xkmh_t,u_h_tend,u_z_tend,v_h_tend,v_z_tend,w_h_tend,w_z_tend,th_z_tend,tke_buoy_tend,tke_shear_tend,tke_production_tend,tke_diffusion_z_tend
#package sms_3dtke km_opt==5 - state:gamu,gamv,nlflux,dlk,l_scale,elmin,xkmv_meso,xkmh_t,u_h_tend,u_z_tend,v_h_tend,v_z_tend,w_h_tend,w_z_tend,th_h_tend,th_z_tend,tke_buoy_tend,tke_shear_tend,tke_production_tend,tke_diffusion_h_tend,tke_diffusion_z_tend

# dfi
package mynnpblscheme2_dfi bl_pbl_physics_dfi==5 - dfi_scalar:dfi_qke_adv
Expand Down
6 changes: 3 additions & 3 deletions phys/module_fr_fire_util.F
Original file line number Diff line number Diff line change
Expand Up @@ -1361,9 +1361,9 @@ subroutine print_chsum( id, &

if(fire_print_msg.le.0)return

ipe1=ifval(ipe.eq.ide.and.istag.ne.0,ipe+1,ipe)
kpe1=ifval(kpe.eq.kde.and.kstag.ne.0,kpe+1,kpe)
jpe1=ifval(jpe.eq.jde.and.jstag.ne.0,jpe+1,jpe)
ipe1=min(ime,ifval(ipe.eq.ide.and.istag.ne.0,ipe+1,ipe))
kpe1=min(kme,ifval(kpe.eq.kde.and.kstag.ne.0,kpe+1,kpe))
jpe1=min(jme,ifval(jpe.eq.jde.and.jstag.ne.0,jpe+1,jpe))
is=ifval(istag.ne.0,1,0)
ks=ifval(kstag.ne.0,1,0)
js=ifval(jstag.ne.0,1,0)
Expand Down