From b0057112f5e09f747fc464f3e2782a1be3ebf8fe Mon Sep 17 00:00:00 2001 From: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Date: Mon, 25 Oct 2021 16:14:18 -0700 Subject: PICMI: Add PML div(E),div(B) Cleaning Options (#2480) --- Python/pywarpx/picmi.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Python/pywarpx/picmi.py') 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) -- cgit v1.2.3