From 5b9634c436cc1917be7cd59990ee305ced5d59c9 Mon Sep 17 00:00:00 2001 From: Dave Grote Date: Wed, 24 Apr 2019 13:10:34 -0700 Subject: Various fixes for RZ geometry --- Python/pywarpx/picmi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/pywarpx/picmi.py') diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py index c662a467e..6adf4b039 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -277,7 +277,7 @@ class CylindricalGrid(picmistandard.PICMI_CylindricalGrid): if self.moving_window_velocity is not None and np.any(np.not_equal(self.moving_window_velocity, 0.)): pywarpx.warpx.do_moving_window = 1 if self.moving_window_velocity[0] != 0.: - raise Exception('In cylindrical coordinates, a moving window in x can not be done') + raise Exception('In cylindrical coordinates, a moving window in r can not be done') if self.moving_window_velocity[1] != 0.: pywarpx.warpx.moving_window_dir = 'z' pywarpx.warpx.moving_window_v = self.moving_window_velocity[1]/c # in units of the speed of light -- cgit v1.2.3