aboutsummaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorGravatar Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2021-10-22 21:42:22 -0700
committerGravatar GitHub <noreply@github.com> 2021-10-23 04:42:22 +0000
commit4d8fbaf4de0735537546c027b04380a2f0e42aeb (patch)
treebc46f01888f236ddbb01dbf8b14d2dfbea7579f2 /Python
parentcf0508c5276f53f60b9b26d7c3cc67d442294ec6 (diff)
downloadWarpX-4d8fbaf4de0735537546c027b04380a2f0e42aeb.tar.gz
WarpX-4d8fbaf4de0735537546c027b04380a2f0e42aeb.tar.zst
WarpX-4d8fbaf4de0735537546c027b04380a2f0e42aeb.zip
PICMI: Add div(E),div(B) Cleaning Options (#2477)
* PICMI: Add div(E),div(B) Cleaning Options * Update PICMI Version: 0.0.15
Diffstat (limited to 'Python')
-rw-r--r--Python/pywarpx/picmi.py2
-rw-r--r--Python/setup.py2
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
)