aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/picmi.py
diff options
context:
space:
mode:
authorGravatar Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2021-10-25 16:14:18 -0700
committerGravatar GitHub <noreply@github.com> 2021-10-25 16:14:18 -0700
commitb0057112f5e09f747fc464f3e2782a1be3ebf8fe (patch)
treeb816acc6182e67dfffd3dfe71b1307f7de01af6a /Python/pywarpx/picmi.py
parent0032c91a358369bfa5b2ace82118d91acd60cdd5 (diff)
downloadWarpX-b0057112f5e09f747fc464f3e2782a1be3ebf8fe.tar.gz
WarpX-b0057112f5e09f747fc464f3e2782a1be3ebf8fe.tar.zst
WarpX-b0057112f5e09f747fc464f3e2782a1be3ebf8fe.zip
PICMI: Add PML div(E),div(B) Cleaning Options (#2480)
Diffstat (limited to 'Python/pywarpx/picmi.py')
-rw-r--r--Python/pywarpx/picmi.py3
1 files changed, 3 insertions, 0 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)