aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pywarpx')
-rw-r--r--Python/pywarpx/picmi.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py
index 1b55055b6..c360e7509 100644
--- a/Python/pywarpx/picmi.py
+++ b/Python/pywarpx/picmi.py
@@ -612,6 +612,8 @@ class ElectromagneticSolver(picmistandard.PICMI_ElectromagneticSolver):
if self.source_smoother is not None:
self.source_smoother.initialize_inputs(self)
+ pywarpx.warpx.do_dive_cleaning = self.divE_cleaning
+ pywarpx.warpx.do_divb_cleaning = self.divB_cleaning
class ElectrostaticSolver(picmistandard.PICMI_ElectrostaticSolver):
def init(self, kw):