Skip to content

Commit

Permalink
update h(i,j,0,1)
Browse files Browse the repository at this point in the history
  • Loading branch information
hklion committed Aug 28, 2023
1 parent 1ae4681 commit cbe34be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Exec/Upwelling/prob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ init_custom_bathymetry (const Geometry& geom,
[=] AMREX_GPU_DEVICE (int i, int j, int k, int n)
{
h(i,j,0) = -geomdata.ProbLo(2);
if (k==0) {
h(i,j,0,1) = h(i,j,0);
}
});
}
}
Expand Down

0 comments on commit cbe34be

Please sign in to comment.