Skip to content

Commit

Permalink
Merge pull request #139 from hklion/patch_to_boundary_bathymetry
Browse files Browse the repository at this point in the history
fillboundary rather than fillpatch for bathymetry init
  • Loading branch information
hklion authored Jan 16, 2024
2 parents 4af278a + 353464e commit 41b2dda
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 41b2dda

Please sign in to comment.