diff options
author | 2021-04-13 12:00:17 -0700 | |
---|---|---|
committer | 2021-04-13 12:00:17 -0700 | |
commit | 7b7267ed685b4b045c576004a17ad8090bc6744c (patch) | |
tree | 5b33528e0fe4dee7f91e5d8026132d837de7c45d /Source/Particles/RigidInjectedParticleContainer.cpp | |
parent | 599d590e60e480cf2e8a7c766565da1edaf79b0b (diff) | |
download | WarpX-7b7267ed685b4b045c576004a17ad8090bc6744c.tar.gz WarpX-7b7267ed685b4b045c576004a17ad8090bc6744c.tar.zst WarpX-7b7267ed685b4b045c576004a17ad8090bc6744c.zip |
Add an option to skip deposition in the `Evolve` function ; use it for electrostatic (#1807)
* Introduce new option skip_deposition
* Properly implement the option to skip deposition
* Skip deposition for electrostatic solver
* Correct typo
Diffstat (limited to 'Source/Particles/RigidInjectedParticleContainer.cpp')
-rw-r--r-- | Source/Particles/RigidInjectedParticleContainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/RigidInjectedParticleContainer.cpp b/Source/Particles/RigidInjectedParticleContainer.cpp index dc2f88239..5cb49f69c 100644 --- a/Source/Particles/RigidInjectedParticleContainer.cpp +++ b/Source/Particles/RigidInjectedParticleContainer.cpp @@ -347,7 +347,7 @@ RigidInjectedParticleContainer::Evolve (int lev, MultiFab* rho, MultiFab* crho, const MultiFab* cEx, const MultiFab* cEy, const MultiFab* cEz, const MultiFab* cBx, const MultiFab* cBy, const MultiFab* cBz, - Real t, Real dt, DtType a_dt_type) + Real t, Real dt, DtType a_dt_type, bool skip_deposition) { // Update location of injection plane in the boosted frame @@ -374,7 +374,7 @@ RigidInjectedParticleContainer::Evolve (int lev, rho, crho, cEx, cEy, cEz, cBx, cBy, cBz, - t, dt, a_dt_type); + t, dt, a_dt_type, skip_deposition); } void |