Skip to content

Commit

Permalink
fix oops (#1510)
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren authored Mar 19, 2024
1 parent 357c582 commit b2318a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Source/Utils/VelocityToMomentum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ void VelocityToMomentum (const MultiFab& xvel_in,

ParallelFor(tbx, tby, tbz,
[=] AMREX_GPU_DEVICE (int i, int j, int k) {
Real rho_x_face =
momx(i,j,k) = velx(i,j,k) * 0.5 * (dens_arr(i,j,k,Rho_comp) + dens_arr(i-1,j,k,Rho_comp));
},
[=] AMREX_GPU_DEVICE (int i, int j, int k) {
Expand Down

0 comments on commit b2318a6

Please sign in to comment.