aboutsummaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/pywarpx/picmi.py3
-rw-r--r--Python/setup.py2
2 files changed, 4 insertions, 1 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)
diff --git a/Python/setup.py b/Python/setup.py
index 5e7a581f6..b1857a061 100644
--- a/Python/setup.py
+++ b/Python/setup.py
@@ -59,7 +59,7 @@ setup(name = 'pywarpx',
package_dir = {'pywarpx': 'pywarpx'},
description = """Wrapper of WarpX""",
package_data = package_data,
- install_requires = ['numpy', 'picmistandard==0.0.15', 'periodictable'],
+ install_requires = ['numpy', 'picmistandard==0.0.16', 'periodictable'],
python_requires = '>=3.6',
zip_safe=False
)