aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/picmi.py
diff options
context:
space:
mode:
authorGravatar Dave Grote <grote1@llnl.gov> 2019-04-24 13:10:34 -0700
committerGravatar Dave Grote <grote1@llnl.gov> 2019-04-24 13:10:34 -0700
commit5b9634c436cc1917be7cd59990ee305ced5d59c9 (patch)
treec0c83ebedb30825e0407d67f8e5ca06654f061b0 /Python/pywarpx/picmi.py
parentc24271dd7e165decdbf354d85aca52c28f128ad7 (diff)
downloadWarpX-5b9634c436cc1917be7cd59990ee305ced5d59c9.tar.gz
WarpX-5b9634c436cc1917be7cd59990ee305ced5d59c9.tar.zst
WarpX-5b9634c436cc1917be7cd59990ee305ced5d59c9.zip
Various fixes for RZ geometry
Diffstat (limited to 'Python/pywarpx/picmi.py')
-rw-r--r--Python/pywarpx/picmi.py2
1 files changed, 1 insertions, 1 deletions
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