diff --git a/src/ShockCloud/cloud.cpp b/src/ShockCloud/cloud.cpp index 54144b278..f8772738c 100644 --- a/src/ShockCloud/cloud.cpp +++ b/src/ShockCloud/cloud.cpp @@ -307,7 +307,8 @@ void computeCooling(amrex::MultiFab &mf, const Real dt_in, cloudy_tables &cloudy auto tables = cloudyTables.const_tables(); auto const &state = mf.arrays(); - amrex::ParallelFor(mf, [=] AMREX_GPU_DEVICE(int bx, int i, int j, int k) noexcept { + amrex::IntVect ng{0,0,0}; + amrex::ParallelFor(mf, ng, [=] AMREX_GPU_DEVICE(int bx, int i, int j, int k) noexcept { const Real rho = state[bx](i, j, k, HydroSystem::density_index); const Real x1Mom = state[bx](i, j, k, HydroSystem::x1Momentum_index); const Real x2Mom = state[bx](i, j, k, HydroSystem::x2Momentum_index);