aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/picmi.py
diff options
context:
space:
mode:
authorGravatar Dave Grote <grote1@llnl.gov> 2019-04-08 10:41:19 -0700
committerGravatar Dave Grote <grote1@llnl.gov> 2019-04-08 10:41:19 -0700
commit3ef898050705e584c3fe07e20af726b5adb039ae (patch)
treec46851688c8162af96514fe0a426187ff67004ad /Python/pywarpx/picmi.py
parentdf75bdb0872820279e52653999260d6f8538ba58 (diff)
downloadWarpX-3ef898050705e584c3fe07e20af726b5adb039ae.tar.gz
WarpX-3ef898050705e584c3fe07e20af726b5adb039ae.tar.zst
WarpX-3ef898050705e584c3fe07e20af726b5adb039ae.zip
In picmi, Added refined_regions to CylindricalGrid
Diffstat (limited to 'Python/pywarpx/picmi.py')
-rw-r--r--Python/pywarpx/picmi.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py
index b42bd4b69..6fa6e193a 100644
--- a/Python/pywarpx/picmi.py
+++ b/Python/pywarpx/picmi.py
@@ -282,7 +282,6 @@ class CylindricalGrid(picmistandard.PICMI_CylindricalGrid):
pywarpx.warpx.moving_window_dir = 'z'
pywarpx.warpx.moving_window_v = self.moving_window_velocity[1]/c # in units of the speed of light
- """Not implemented in standard yet
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')
@@ -292,7 +291,6 @@ class CylindricalGrid(picmistandard.PICMI_CylindricalGrid):
# The refinement_factor is ignored (assumed to be [2,2])
else:
pywarpx.amr.max_level = 0
- """
class Cartesian2DGrid(picmistandard.PICMI_Cartesian2DGrid):