diff options
author | 2019-12-20 10:02:12 -0800 | |
---|---|---|
committer | 2019-12-20 10:02:12 -0800 | |
commit | 48a50f8a6f95217fef854a7b032f9be2205b43f8 (patch) | |
tree | cfca157a3881ebaa1bda2125014a0388378edaf4 /Python/pywarpx/picmi.py | |
parent | fa66a510bb3c8180eaeb81c0625b853734264882 (diff) | |
parent | b76ff18732925af2e65e4e0e6522beb52056c57e (diff) | |
download | WarpX-48a50f8a6f95217fef854a7b032f9be2205b43f8.tar.gz WarpX-48a50f8a6f95217fef854a7b032f9be2205b43f8.tar.zst WarpX-48a50f8a6f95217fef854a7b032f9be2205b43f8.zip |
Merge remote-tracking branch 'upstream/dev' into picmi_ion
Diffstat (limited to '')
-rw-r--r-- | Python/pywarpx/picmi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py index a2bbcaaad..a59e2a56d 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -342,7 +342,7 @@ 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.refined_regions: assert len(self.refined_regions) == 1, Exception('WarpX only supports one refined region.') assert self.refined_regions[0][0] == 1, Exception('The one refined region can only be level 1') |