Skip to content

Commit

Permalink
fix another oops
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Aug 17, 2024
1 parent 4f1fdc8 commit c735be9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Utils/hydro_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ HydroUtils::ComputeFluxes ( Box const& bx,
// X flux
//
const Box& xbx = amrex::surroundingNodes(bx,0);
amrex::ParallelFor(xbx, ncomp, [fx, umac, xed, ax, fluxes_are_area_weighted]
amrex::ParallelFor(xbx, ncomp, [fx, umac, xed, ax, fluxes_are_area_weightediconserv]
AMREX_GPU_DEVICE (int i, int j, int k, int n) noexcept
{
if (fluxes_are_area_weighted) {
Expand All @@ -62,7 +62,7 @@ HydroUtils::ComputeFluxes ( Box const& bx,
// Y flux
//
const Box& ybx = amrex::surroundingNodes(bx,1);
amrex::ParallelFor(ybx, ncomp, [fy, vmac, yed, ay, fluxes_are_area_weighted]
amrex::ParallelFor(ybx, ncomp, [fy, vmac, yed, ay, fluxes_are_area_weighted, iconserv]
AMREX_GPU_DEVICE (int i, int j, int k, int n) noexcept
{
if (fluxes_are_area_weighted) {
Expand Down

0 comments on commit c735be9

Please sign in to comment.