Skip to content

Commit

Permalink
Fix boxes for moisture var set region. (#1164)
Browse files Browse the repository at this point in the history
  • Loading branch information
AMLattanzi authored Jul 17, 2023
1 parent 7891c17 commit 09d3b1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Source/TimeIntegration/ERF_slow_rhs_post.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ void erf_slow_rhs_post (int /*level*/,
bdy_data_ylo, bdy_data_yhi);
} else if (moist_zero) {
Box bx_xlo, bx_xhi, bx_ylo, bx_yhi;
compute_interior_ghost_bxs_xy(domain, domain, width, 0,
compute_interior_ghost_bxs_xy(tbx, domain, width, 0,
bx_xlo, bx_xhi,
bx_ylo, bx_yhi);
int icomp;
Expand Down
4 changes: 4 additions & 0 deletions Source/Utils/InteriorGhostCells.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,10 @@ wrfbdy_compute_moist_interior_ghost_RHS(Box tbx,

// Zero RHS in set region
//==========================================================
compute_interior_ghost_bxs_xy(tbx, domain, width, 0,
bx_xlo, bx_xhi,
bx_ylo, bx_yhi);

zero_RHS_in_set_region(icomp, 1, bx_xlo, bx_xhi, bx_ylo, bx_yhi, rhs_arr);


Expand Down

0 comments on commit 09d3b1b

Please sign in to comment.