Skip to content

Commit

Permalink
Do not zero RHS in zmom; this is not set from wrf bdy or metem files.
Browse files Browse the repository at this point in the history
  • Loading branch information
AMLattanzi committed Jan 22, 2024
1 parent a41365b commit 9f09264
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Source/Utils/InteriorGhostCells.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,17 +164,6 @@ wrfbdy_compute_interior_ghost_rhs (const std::string& init_type,
bx_ylo, bx_yhi);
wrfbdy_zero_rhs_in_set_region(0, 1, bx_xlo, bx_xhi, bx_ylo, bx_yhi, rhs_ymom);
}

{
Box tbx = mfi.tilebox(IntVect(0,0,1));
Box domain = geom.Domain();
domain.convert(S_rhs[IntVar::zmom].boxArray().ixType());
Box bx_xlo, bx_xhi, bx_ylo, bx_yhi;
compute_interior_ghost_bxs_xy(tbx, domain, set_width, 0,
bx_xlo, bx_xhi,
bx_ylo, bx_yhi);
wrfbdy_zero_rhs_in_set_region(0, 1, bx_xlo, bx_xhi, bx_ylo, bx_yhi, rhs_zmom);
}
} // mfi

if (width > set_width+1) {
Expand Down

0 comments on commit 9f09264

Please sign in to comment.