diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Particles/Deposition/CurrentDeposition.H | 4 | ||||
-rw-r--r-- | Source/Particles/Gather/FieldGather.H | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/Particles/Deposition/CurrentDeposition.H b/Source/Particles/Deposition/CurrentDeposition.H index df6481fd8..9b9853902 100644 --- a/Source/Particles/Deposition/CurrentDeposition.H +++ b/Source/Particles/Deposition/CurrentDeposition.H @@ -31,7 +31,7 @@ void doDepositionShapeN(const amrex::Real * const xp, const amrex::Array4<amrex::Real>& jz_arr, const long np_to_depose, const amrex::Real dt, const std::array<amrex::Real,3>& dx, - const std::array<Real, 3> xyzmin, + const std::array<amrex::Real, 3> xyzmin, const amrex::Dim3 lo, const amrex::Real stagger_shift, const amrex::Real q) @@ -191,7 +191,7 @@ void doEsirkepovDepositionShapeN (const amrex::Real * const xp, const amrex::Real clightsq = 1.0/PhysConst::c/PhysConst::c; // Loop over particles and deposit into Jx_arr, Jy_arr and Jz_arr - ParallelFor( + amrex::ParallelFor( np_to_depose, [=] AMREX_GPU_DEVICE (long ip) { diff --git a/Source/Particles/Gather/FieldGather.H b/Source/Particles/Gather/FieldGather.H index 3a1470d05..6d2030d21 100644 --- a/Source/Particles/Gather/FieldGather.H +++ b/Source/Particles/Gather/FieldGather.H @@ -46,7 +46,7 @@ void doGatherShapeN(const amrex::Real * const xp, // Loop over particles and gather fields from // {e,b}{x,y,z}_arr to {E,B}{xyz}p. - ParallelFor( + amrex::ParallelFor( np_to_gather, [=] AMREX_GPU_DEVICE (long ip) { // --- Compute shape factors |