aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/WarpXParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-08-29 21:07:10 -0700
committerGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-08-29 21:07:10 -0700
commit70ca786dc9f28bb88c7ceed288698f600797cd6a (patch)
tree68d5de274e624fe1b7d4f59d1e205c468a2aa0fa /Source/Particles/WarpXParticleContainer.cpp
parent72e25b7fe8c8578055afd1a72c6161bfa3fbb769 (diff)
parent9dd0c194c15885024c0c15a36a92fedd561993d6 (diff)
downloadWarpX-70ca786dc9f28bb88c7ceed288698f600797cd6a.tar.gz
WarpX-70ca786dc9f28bb88c7ceed288698f600797cd6a.tar.zst
WarpX-70ca786dc9f28bb88c7ceed288698f600797cd6a.zip
Merge branch 'dev' into picsar_cleanup
Diffstat (limited to 'Source/Particles/WarpXParticleContainer.cpp')
-rw-r--r--Source/Particles/WarpXParticleContainer.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/Source/Particles/WarpXParticleContainer.cpp b/Source/Particles/WarpXParticleContainer.cpp
index 646644f94..80d1caa0f 100644
--- a/Source/Particles/WarpXParticleContainer.cpp
+++ b/Source/Particles/WarpXParticleContainer.cpp
@@ -85,17 +85,6 @@ WarpXParticleContainer::WarpXParticleContainer (AmrCore* amr_core, int ispecies)
particle_comps["theta"] = PIdx::theta;
#endif
- if (WarpX::do_boosted_frame_diagnostic && do_boosted_frame_diags)
- {
- particle_comps["xold"] = PIdx::nattribs;
- particle_comps["yold"] = PIdx::nattribs+1;
- particle_comps["zold"] = PIdx::nattribs+2;
- particle_comps["uxold"] = PIdx::nattribs+3;
- particle_comps["uyold"] = PIdx::nattribs+4;
- particle_comps["uzold"] = PIdx::nattribs+5;
-
- }
-
// Initialize temporary local arrays for charge/current deposition
int num_threads = 1;
#ifdef _OPENMP
@@ -240,12 +229,6 @@ WarpXParticleContainer::AddNParticles (int lev,
if ( (NumRuntimeRealComps()>0) || (NumRuntimeIntComps()>0) ){
auto& ptile = DefineAndReturnParticleTile(0, 0, 0);
- if (WarpX::do_boosted_frame_diagnostic && do_boosted_frame_diags)
- {
- ptile.push_back_real(particle_comps["xold"], x[i]);
- ptile.push_back_real(particle_comps["yold"], y[i]);
- ptile.push_back_real(particle_comps["zold"], z[i]);
- }
}
particle_tile.push_back(p);
@@ -260,12 +243,6 @@ WarpXParticleContainer::AddNParticles (int lev,
if ( (NumRuntimeRealComps()>0) || (NumRuntimeIntComps()>0) ){
auto& ptile = DefineAndReturnParticleTile(0, 0, 0);
- if (WarpX::do_boosted_frame_diagnostic && do_boosted_frame_diags)
- {
- ptile.push_back_real(particle_comps["uxold"], vx + ibegin, vx + iend);
- ptile.push_back_real(particle_comps["uyold"], vy + ibegin, vy + iend);
- ptile.push_back_real(particle_comps["uzold"], vz + ibegin, vz + iend);
- }
}
for (int comp = PIdx::uz+1; comp < PIdx::nattribs; ++comp)