From 4d8fbaf4de0735537546c027b04380a2f0e42aeb Mon Sep 17 00:00:00 2001 From: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Date: Fri, 22 Oct 2021 21:42:22 -0700 Subject: PICMI: Add div(E),div(B) Cleaning Options (#2477) * PICMI: Add div(E),div(B) Cleaning Options * Update PICMI Version: 0.0.15 --- Python/pywarpx/picmi.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Python/pywarpx/picmi.py') 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): -- cgit v1.2.3