aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/picmi.py
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pywarpx/picmi.py')
-rw-r--r--Python/pywarpx/picmi.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py
index c360e7509..52449b23f 100644
--- a/Python/pywarpx/picmi.py
+++ b/Python/pywarpx/picmi.py
@@ -615,6 +615,9 @@ class ElectromagneticSolver(picmistandard.PICMI_ElectromagneticSolver):
pywarpx.warpx.do_dive_cleaning = self.divE_cleaning
pywarpx.warpx.do_divb_cleaning = self.divB_cleaning
+ pywarpx.warpx.do_pml_dive_cleaning = self.pml_divE_cleaning
+ pywarpx.warpx.do_pml_divb_cleaning = self.pml_divB_cleaning
+
class ElectrostaticSolver(picmistandard.PICMI_ElectrostaticSolver):
def init(self, kw):
self.relativistic = kw.pop('warpx_relativistic', False)