diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pywarpx/picmi.py | 2 | ||||
-rw-r--r-- | Python/setup.py | 2 |
2 files changed, 3 insertions, 1 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): diff --git a/Python/setup.py b/Python/setup.py index 47604372d..5e7a581f6 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.14', 'periodictable'], + install_requires = ['numpy', 'picmistandard==0.0.15', 'periodictable'], python_requires = '>=3.6', zip_safe=False ) |