Skip to content
Snippets Groups Projects
Commit 4f87960c authored by Debolskiy Andrey's avatar Debolskiy Andrey :bicyclist_tone5:
Browse files

fix if

parent e8953e1f
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ module pbl_dry_contrgradient
cbl%va_up(kmax) = cbl%va_up0
do k = kmax-1 ,1,-1
if (grid%z_cell(k) > bl%hpbla_diag ) then
if (grid%z_cell(k) >= bl%hpbla_diag ) then
cbl%theta_up(k) = 0.0
cbl%thetav_up(k) = 0.0
cbl%qv_up(k) = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment