aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/picmi.py
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/pywarpx/picmi.py
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/pywarpx/picmi.py')
-rw-r--r--Python/pywarpx/picmi.py2
1 files changed, 2 insertions, 0 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):