Skip to content

Commit

Permalink
Fix error from passing state to custom_init_pert. (#1496)
Browse files Browse the repository at this point in the history
  • Loading branch information
AMLattanzi authored Mar 14, 2024
1 parent 9aa8d65 commit b7c8ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Exec/DevTests/ParticlesOverWoA/prob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Problem::init_custom_pert(
// Set the z-velocity from impenetrable condition
amrex::ParallelFor(zbx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept
{
z_vel_pert(i, j, k) = WFromOmega(i, j, k, 0.0, x_vel, y_vel, z_nd, dxInv);
z_vel_pert(i, j, k) = WFromOmega(i, j, k, 0.0, x_vel_pert, y_vel_pert, z_nd, dxInv);
});

amrex::Gpu::streamSynchronize();
Expand Down

0 comments on commit b7c8ccc

Please sign in to comment.