aboutsummaryrefslogtreecommitdiff
path: root/Source/ParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-02-05 09:19:09 -0800
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2019-02-05 09:19:09 -0800
commita95c2d46ea81dba3c7062e3ee863525d4bd80a13 (patch)
tree251e5fe60491d19154aeacbea56507966423da6a /Source/ParticleContainer.cpp
parenta875adf635afc918567384d9aa91e4c4edb36759 (diff)
downloadWarpX-a95c2d46ea81dba3c7062e3ee863525d4bd80a13.tar.gz
WarpX-a95c2d46ea81dba3c7062e3ee863525d4bd80a13.tar.zst
WarpX-a95c2d46ea81dba3c7062e3ee863525d4bd80a13.zip
cleaning. Error in Redistribute: invalid particle
Diffstat (limited to 'Source/ParticleContainer.cpp')
-rw-r--r--Source/ParticleContainer.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/ParticleContainer.cpp b/Source/ParticleContainer.cpp
index 8ca6b7614..1598f5237 100644
--- a/Source/ParticleContainer.cpp
+++ b/Source/ParticleContainer.cpp
@@ -28,13 +28,7 @@ MultiParticleContainer::MultiParticleContainer (AmrCore* amr_core)
if (WarpX::use_laser) {
allcontainers[n-1].reset(new LaserParticleContainer(amr_core,n-1));
}
- // pc_tmp = WarpXParticleContainer(amr_core, 0);
- // pc_tmp = std::unique_ptr<WarpXParticleContainer> (new WarpXParticleContainer(this));
- pc_tmp.reset(new PhysicalParticleContainer(amr_core));
- // pc_tmp = std::unique_ptr<WarpXParticleContainer> (new WarpXParticleContainer(amr_core, 0));
- // pc_tmp = std::unique_ptr<PhysicalParticleContainer> (new PhysicalParticleContainer(amr_core));
- // pc_tmp = std::unique_ptr<amrex::ParticleContainer<0,0,PIdx::nattribs>> (new amrex::ParticleContainer<0,0,PIdx::nattribs>);
-
+ pc_tmp.reset(new PhysicalParticleContainer(amr_core));
}
void