aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2022-07-06 08:59:35 -0700
committerGravatar GitHub <noreply@github.com> 2022-07-06 08:59:35 -0700
commit9d67de7fc56b7f1ed076e3b767c87277d7e7c145 (patch)
treebcde29887029021212e0587e30a414d380d27623 /Source/Particles/PhysicalParticleContainer.cpp
parent5d5f1183aae1fcb973e8651e902e5b83deaa3660 (diff)
downloadWarpX-9d67de7fc56b7f1ed076e3b767c87277d7e7c145.tar.gz
WarpX-9d67de7fc56b7f1ed076e3b767c87277d7e7c145.tar.zst
WarpX-9d67de7fc56b7f1ed076e3b767c87277d7e7c145.zip
Initialize multi-physics module (ionization, QED) when restarting simulations from checkpoints (#3194)
* Move the initialization of multi-physics module earlier * Fix syntax error * Initialize multi-physics modules also when restarting the simulation
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index 762b5080e..feed808df 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -385,9 +385,6 @@ PhysicalParticleContainer::BackwardCompatibility ()
void PhysicalParticleContainer::InitData ()
{
- // Init ionization module here instead of in the PhysicalParticleContainer
- // constructor because dt is required
- if (do_field_ionization) {InitIonizationModule();}
AddParticles(0); // Note - add on level 0
Redistribute(); // We then redistribute
}