diff options
author | 2021-10-25 16:14:18 -0700 | |
---|---|---|
committer | 2021-10-25 16:14:18 -0700 | |
commit | b0057112f5e09f747fc464f3e2782a1be3ebf8fe (patch) | |
tree | b816acc6182e67dfffd3dfe71b1307f7de01af6a /Python | |
parent | 0032c91a358369bfa5b2ace82118d91acd60cdd5 (diff) | |
download | WarpX-b0057112f5e09f747fc464f3e2782a1be3ebf8fe.tar.gz WarpX-b0057112f5e09f747fc464f3e2782a1be3ebf8fe.tar.zst WarpX-b0057112f5e09f747fc464f3e2782a1be3ebf8fe.zip |
PICMI: Add PML div(E),div(B) Cleaning Options (#2480)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pywarpx/picmi.py | 3 | ||||
-rw-r--r-- | Python/setup.py | 2 |
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 ) |