aboutsummaryrefslogtreecommitdiff
path: root/Examples/Physics_applications/laser_acceleration/inputs_2d
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/Physics_applications/laser_acceleration/inputs_2d')
-rw-r--r--Examples/Physics_applications/laser_acceleration/inputs_2d8
1 files changed, 6 insertions, 2 deletions
diff --git a/Examples/Physics_applications/laser_acceleration/inputs_2d b/Examples/Physics_applications/laser_acceleration/inputs_2d
index afd6ea585..8917f5f05 100644
--- a/Examples/Physics_applications/laser_acceleration/inputs_2d
+++ b/Examples/Physics_applications/laser_acceleration/inputs_2d
@@ -6,7 +6,6 @@ amr.n_cell = 64 512
amr.max_grid_size = 64 # maximum size of each AMReX box, used to decompose the domain
amr.blocking_factor = 32 # minimum size of each AMReX box, used to decompose the domain
geometry.coord_sys = 0 # 0: Cartesian
-geometry.is_periodic = 0 0 # Is periodic?
geometry.prob_lo = -30.e-6 -56.e-6 # physical domain
geometry.prob_hi = 30.e-6 12.e-6
amr.max_level = 0 # Maximum level in hierarchy (1 might be unstable, >1 is not supported)
@@ -14,13 +13,18 @@ amr.max_level = 0 # Maximum level in hierarchy (1 might be unstable, >1 is not s
# warpx.fine_tag_hi = 5.e-6 -25.e-6
#################################
+####### Boundary condition ######
+#################################
+boundary.field_lo = pml pml
+boundary.field_hi = pml pml
+
+#################################
############ NUMERICS ###########
#################################
warpx.verbose = 1
warpx.do_dive_cleaning = 0
warpx.use_filter = 1
warpx.cfl = 1. # if 1., the time step is set to its CFL limit
-warpx.do_pml = 1 # use Perfectly Matched Layer as boundary condition
warpx.do_moving_window = 1
warpx.moving_window_dir = z # Only z is supported for the moment
warpx.moving_window_v = 1.0 # units of speed of light