diff options
author | 2019-07-12 18:09:34 -0700 | |
---|---|---|
committer | 2019-07-12 18:13:02 -0700 | |
commit | f86512d788477a8eab5ed3c3c92ce9a7453ae4c7 (patch) | |
tree | 3d4a1fb1caa84d046d5556198fd333126745834b /Source/Particles/PhysicalParticleContainer.cpp | |
parent | 31edd3bad5d2747c7e045240b488d7fd101f1a30 (diff) | |
download | WarpX-f86512d788477a8eab5ed3c3c92ce9a7453ae4c7.tar.gz WarpX-f86512d788477a8eab5ed3c3c92ce9a7453ae4c7.tar.zst WarpX-f86512d788477a8eab5ed3c3c92ce9a7453ae4c7.zip |
For RZ, updated documentation regarding num_particles_per_cell_each_dim
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index aa9fbada7..751f4e1eb 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -50,6 +50,7 @@ NumParticlesToAdd(const Box& overlap_box, const RealBox& overlap_realbox, #elif ( AMREX_SPACEDIM == 2 ) Real y = 0; #ifdef WARPX_RZ + // Note that for RZ, point[1] will be theta Real z = overlap_corner[1] + (iv[1] + point[2])*dx[1]; #else Real z = overlap_corner[1] + (iv[1] + point[1])*dx[1]; @@ -460,6 +461,7 @@ PhysicalParticleContainer::AddPlasmaCPU (int lev, RealBox part_realbox) #elif ( AMREX_SPACEDIM == 2 ) Real y = 0; #ifdef WARPX_RZ + // Note that for RZ, point[1] will be theta Real z = overlap_corner[1] + (iv[1] + point[2])*dx[1]; #else Real z = overlap_corner[1] + (iv[1] + point[1])*dx[1]; |