aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/RigidInjectedParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Andrew Myers <atmyers2@gmail.com> 2020-01-27 13:47:28 -0800
committerGravatar Andrew Myers <atmyers2@gmail.com> 2020-01-27 13:47:28 -0800
commitcb93a9c54bd616ca01d189a0eaa910ac82a5c899 (patch)
treebe0621c397672e007ba9888108603b1031cd8eb5 /Source/Particles/RigidInjectedParticleContainer.cpp
parent4b4f13857bd4fd623096a367b784e30fe15a8810 (diff)
downloadWarpX-cb93a9c54bd616ca01d189a0eaa910ac82a5c899.tar.gz
WarpX-cb93a9c54bd616ca01d189a0eaa910ac82a5c899.tar.zst
WarpX-cb93a9c54bd616ca01d189a0eaa910ac82a5c899.zip
fix EOL whitespace
Diffstat (limited to 'Source/Particles/RigidInjectedParticleContainer.cpp')
-rw-r--r--Source/Particles/RigidInjectedParticleContainer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Particles/RigidInjectedParticleContainer.cpp b/Source/Particles/RigidInjectedParticleContainer.cpp
index ad2c89428..4d4aedb0e 100644
--- a/Source/Particles/RigidInjectedParticleContainer.cpp
+++ b/Source/Particles/RigidInjectedParticleContainer.cpp
@@ -87,7 +87,7 @@ RigidInjectedParticleContainer::RemapParticles()
auto& aos = pti.GetArrayOfStructs();
ParticleType* AMREX_RESTRICT const pstruct = aos().dataPtr();
-
+
// Loop over particles
const long np = pti.numParticles();
for (int i=0 ; i < np ; i++) {
@@ -211,7 +211,7 @@ RigidInjectedParticleContainer::PushPX (WarpXParIter& pti, Real dt, DtType a_dt_
auto& aos = pti.GetArrayOfStructs();
ParticleType* AMREX_RESTRICT const pstruct = aos().dataPtr();
-
+
ParticleReal* const AMREX_RESTRICT ux = uxp.dataPtr();
ParticleReal* const AMREX_RESTRICT uy = uyp.dataPtr();
ParticleReal* const AMREX_RESTRICT uz = uzp.dataPtr();
@@ -221,7 +221,7 @@ RigidInjectedParticleContainer::PushPX (WarpXParIter& pti, Real dt, DtType a_dt_
ParticleReal* const AMREX_RESTRICT Bxp = attribs[PIdx::Bx].dataPtr();
ParticleReal* const AMREX_RESTRICT Byp = attribs[PIdx::By].dataPtr();
ParticleReal* const AMREX_RESTRICT Bzp = attribs[PIdx::Bz].dataPtr();
-
+
if (!done_injecting_lev)
{
// If the old values are not already saved, create copies here.
@@ -242,7 +242,7 @@ RigidInjectedParticleContainer::PushPX (WarpXParIter& pti, Real dt, DtType a_dt_
amrex::Real* const AMREX_RESTRICT uxp_save_ptr = uxp_save.dataPtr();
amrex::Real* const AMREX_RESTRICT uyp_save_ptr = uyp_save.dataPtr();
amrex::Real* const AMREX_RESTRICT uzp_save_ptr = uzp_save.dataPtr();
-
+
amrex::ParallelFor( np,
[=] AMREX_GPU_DEVICE (long i) {
xp_save_ptr[i] = pstruct[i].pos(0);
@@ -251,7 +251,7 @@ RigidInjectedParticleContainer::PushPX (WarpXParIter& pti, Real dt, DtType a_dt_
uxp_save_ptr[i] = ux[i];
uyp_save_ptr[i] = uy[i];
uzp_save_ptr[i] = uz[i];
- });
+ });
// Scale the fields of particles about to cross the injection plane.
// This only approximates what should be happening. The particles
@@ -486,7 +486,7 @@ RigidInjectedParticleContainer::PushP (int lev, Real dt,
}
}
);
-
+
}
}
}