diff options
author | 2020-01-27 13:47:28 -0800 | |
---|---|---|
committer | 2020-01-27 13:47:28 -0800 | |
commit | cb93a9c54bd616ca01d189a0eaa910ac82a5c899 (patch) | |
tree | be0621c397672e007ba9888108603b1031cd8eb5 /Source/Particles/WarpXParticleContainer.cpp | |
parent | 4b4f13857bd4fd623096a367b784e30fe15a8810 (diff) | |
download | WarpX-cb93a9c54bd616ca01d189a0eaa910ac82a5c899.tar.gz WarpX-cb93a9c54bd616ca01d189a0eaa910ac82a5c899.tar.zst WarpX-cb93a9c54bd616ca01d189a0eaa910ac82a5c899.zip |
fix EOL whitespace
Diffstat (limited to 'Source/Particles/WarpXParticleContainer.cpp')
-rw-r--r-- | Source/Particles/WarpXParticleContainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/WarpXParticleContainer.cpp b/Source/Particles/WarpXParticleContainer.cpp index eab410a18..170770c58 100644 --- a/Source/Particles/WarpXParticleContainer.cpp +++ b/Source/Particles/WarpXParticleContainer.cpp @@ -288,7 +288,7 @@ WarpXParticleContainer::DepositCurrent(WarpXParIter& pti, const auto& aos = pti.GetArrayOfStructs(); const ParticleType* AMREX_RESTRICT pstruct = aos().dataPtr() + offset; - + // Lower corner of tile box physical domain // Note that this includes guard cells since it is after tilebox.ngrow const Dim3 lo = lbound(tilebox); @@ -751,7 +751,7 @@ WarpXParticleContainer::PushX (int lev, amrex::Real dt) ParticleType& p = pstructs[i]; // Particle object that gets updated #ifndef WARPX_DIM_RZ UpdatePosition( p, ux[i], uy[i], uz[i], dt); -#else +#else // For WARPX_DIM_RZ, the particles are still pushed in 3D Cartesian ParticleReal x, y, z; // Temporary variables GetCartesianPositionFromCylindrical( x, y, z, p, theta[i] ); |