diff options
author | 2023-02-01 12:09:27 -0800 | |
---|---|---|
committer | 2023-02-01 12:09:27 -0800 | |
commit | a0d53838f77e788c7f369b294e8e751bbf74d8bd (patch) | |
tree | 6517c03e05f0369478dbd0934dd8e7d5738ff2e4 /Source/Particles/PhysicalParticleContainer.cpp | |
parent | c0d9f4c3937c2bd7655dd154d6dabb793c2c8936 (diff) | |
download | WarpX-a0d53838f77e788c7f369b294e8e751bbf74d8bd.tar.gz WarpX-a0d53838f77e788c7f369b294e8e751bbf74d8bd.tar.zst WarpX-a0d53838f77e788c7f369b294e8e751bbf74d8bd.zip |
Fix NUniformPerCell for 1D (#3659)
* Fix NUniformPerCell for 1D
* Fix CI benchmarks
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 9dd49017a..680d794c6 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -176,7 +176,7 @@ namespace #else pos.x = 0.0_rt; pos.y = 0.0_rt; - pos.z = lo_corner[0] + (iv[0]+r.z)*dx[0]; + pos.z = lo_corner[0] + (iv[0]+r.x)*dx[0]; #endif return pos; } |