diff options
author | 2019-08-21 09:23:45 -0700 | |
---|---|---|
committer | 2019-08-21 09:23:45 -0700 | |
commit | d871e6f89e33aa5e9d5b308d19f84e86c5383d9a (patch) | |
tree | 1dc322d56f34a30361bfa01bbaa374fefb4844ed /Source/Particles/PhysicalParticleContainer.cpp | |
parent | 16dd4d0491b32fb669a1ee07ed2866f68aafd6da (diff) | |
download | WarpX-d871e6f89e33aa5e9d5b308d19f84e86c5383d9a.tar.gz WarpX-d871e6f89e33aa5e9d5b308d19f84e86c5383d9a.tar.zst WarpX-d871e6f89e33aa5e9d5b308d19f84e86c5383d9a.zip |
add comments for charge deposition
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 3db413104..a82c97945 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -1179,7 +1179,7 @@ PhysicalParticleContainer::Evolve (int lev, BL_PROFILE_VAR_STOP(blp_copy); if (rho) { - + // Deposit charge before particle push, in component 0 of MultiFab rho. int* AMREX_RESTRICT ion_lev; if (do_field_ionization){ ion_lev = pti.GetiAttribs(particle_icomps["ionization_level"]).dataPtr(); @@ -1336,6 +1336,7 @@ PhysicalParticleContainer::Evolve (int lev, } if (rho) { + // Deposit charge after particle push, in component 1 of MultiFab rho. int* AMREX_RESTRICT ion_lev; if (do_field_ionization){ ion_lev = pti.GetiAttribs(particle_icomps["ionization_level"]).dataPtr(); |