From c26e7d89449586a17c9d2db1e20b916f3a484c49 Mon Sep 17 00:00:00 2001 From: "L. Diana Amorim" Date: Wed, 18 Dec 2019 13:53:10 -0800 Subject: moving_window_velocity does not exist in PICMI RZ --- Python/pywarpx/picmi.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'Python/pywarpx/picmi.py') diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py index ce0f1f0e6..a21775732 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -334,9 +334,6 @@ class CylindricalGrid(picmistandard.PICMI_CylindricalGrid): pywarpx.warpx.moving_window_v = self.moving_window_zvelocity/constants.c # in units of the speed of light else: raise Exception('RZ PICMI moving_window_velocity (only available in z direction) should be a scalar') - - if self.moving_window_velocity is not None: - raise Exception('PICMI RZ geometry uses moving_window_zvelocity (scalar) instead of moving_window_velocity (vector)') if self.refined_regions: assert len(self.refined_regions) == 1, Exception('WarpX only supports one refined region.') -- cgit v1.2.3