From 3fde18912506bbfeeeaacc255f0c8a66ab2e2a05 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Fri, 11 Dec 2020 09:16:54 -0800 Subject: PSATD Runtime Control (#1300) * Docs: PSATD Runtime Option * Tests: PSATD Runtime Option Add new runtime option to PSATD regression test matrix. * PICMI: PSATD runtime option * Source: PSATD Runtime Option --- Python/pywarpx/picmi.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Python/pywarpx/picmi.py') diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py index 784d9af01..05986e785 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -503,9 +503,8 @@ class ElectromagneticSolver(picmistandard.PICMI_ElectromagneticSolver): self.galilean_velocity = [self.galilean_velocity[0], 0., self.galilean_velocity[1]] pywarpx.psatd.v_galilean = np.array(self.galilean_velocity)/constants.c - else: - # --- Same method names are used, though mapped to lower case. - pywarpx.algo.maxwell_solver = self.method + # --- Same method names are used, though mapped to lower case. + pywarpx.algo.maxwell_solver = self.method if self.cfl is not None: pywarpx.warpx.cfl = self.cfl -- cgit v1.2.3