Skip to content

Commit

Permalink
fillboundary rather than fillpatch for bathymetry init
Browse files Browse the repository at this point in the history
  • Loading branch information
hklion committed Jan 13, 2024
1 parent 95ad6e3 commit 353464e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/REMORA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,8 @@ REMORA::set_bathymetry(int lev)
vec_Zt_avg1[lev]->setVal(0.0);

Real time = 0.0;
FillPatch(lev, time, *vec_Zt_avg1[lev], GetVecOfPtrs(vec_Zt_avg1));
FillPatch(lev, time, *vec_hOfTheConfusingName[lev], GetVecOfPtrs(vec_hOfTheConfusingName));
vec_Zt_avg1[lev]->FillBoundary(geom[lev].periodicity());
vec_hOfTheConfusingName[lev]->FillBoundary(geom[lev].periodicity());
}

void
Expand Down

0 comments on commit 353464e

Please sign in to comment.