Skip to content

Commit

Permalink
Make sure nord_w and nord_t are correct
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianDeconinck committed Feb 12, 2024
1 parent a2e0ca6 commit cf6aef3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyFV3/stencils/d_sw.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,6 @@ def get_column_namelist(

col["d2_divg"].view[:] = min(0.2, config.d2_bg)
col["nord_v"].view[:] = min(2, config.nord)
col["nord_w"].view[:] = col["nord_v"].view[0]
col["nord_t"].view[:] = col["nord_v"].view[0]
if config.do_vort_damp:
col["damp_vt"].view[:] = config.vtdm4
else:
Expand All @@ -717,6 +715,8 @@ def get_column_namelist(
for n in range(3, config.n_sponge):
col["d2_divg"].view[n] = max(config.d2_bg, 0.2 * config.d2_bg_k2)
set_low_kvals(col, n)
col["nord_w"].view[:] = col["nord_v"].view[:]
col["nord_t"].view[:] = col["nord_v"].view[:]

# Checks for the column calculations
# Those checks are expected in the rest of the code. DO NOT REMOVE even if the
Expand Down

0 comments on commit cf6aef3

Please sign in to comment.