aboutsummaryrefslogtreecommitdiff
path: root/Examples/Physics_applications/laser_acceleration
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/Physics_applications/laser_acceleration')
-rw-r--r--Examples/Physics_applications/laser_acceleration/inputs_2d8
-rw-r--r--Examples/Physics_applications/laser_acceleration/inputs_2d_boost8
-rw-r--r--Examples/Physics_applications/laser_acceleration/inputs_2d_rz5
-rw-r--r--Examples/Physics_applications/laser_acceleration/inputs_3d8
4 files changed, 21 insertions, 8 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
diff --git a/Examples/Physics_applications/laser_acceleration/inputs_2d_boost b/Examples/Physics_applications/laser_acceleration/inputs_2d_boost
index 240c602bf..fa733880e 100644
--- a/Examples/Physics_applications/laser_acceleration/inputs_2d_boost
+++ b/Examples/Physics_applications/laser_acceleration/inputs_2d_boost
@@ -8,12 +8,17 @@ amr.max_grid_size = 64
amr.blocking_factor = 32
amr.max_level = 0
geometry.coord_sys = 0 # 0: Cartesian
-geometry.is_periodic = 1 0 # Is periodic?
# physical domain
geometry.prob_lo = -128.e-6 -40.e-6
geometry.prob_hi = 128.e-6 0.96e-6
#################################
+####### Boundary condition ######
+#################################
+boundary.field_lo = periodic pec
+boundary.field_hi = periodic pec
+
+#################################
############ NUMERICS ###########
#################################
warpx.verbose = 1
@@ -25,7 +30,6 @@ algo.particle_pusher = vay
algo.maxwell_solver = ckc
warpx.use_filter = 1
warpx.cfl = 1.
-warpx.do_pml = 0
# Moving window
warpx.do_moving_window = 1
warpx.moving_window_dir = z
diff --git a/Examples/Physics_applications/laser_acceleration/inputs_2d_rz b/Examples/Physics_applications/laser_acceleration/inputs_2d_rz
index 9b79634f8..718a96ee7 100644
--- a/Examples/Physics_applications/laser_acceleration/inputs_2d_rz
+++ b/Examples/Physics_applications/laser_acceleration/inputs_2d_rz
@@ -6,13 +6,15 @@ 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 = 1 # 0: Cartesian
-geometry.is_periodic = 0 0 # Is periodic?
geometry.prob_lo = 0. -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)
warpx.n_rz_azimuthal_modes = 2
+boundary.field_lo = none pec
+boundary.field_hi = pec pec
+
#################################
############ NUMERICS ###########
#################################
@@ -20,7 +22,6 @@ 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 = 0 # 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
diff --git a/Examples/Physics_applications/laser_acceleration/inputs_3d b/Examples/Physics_applications/laser_acceleration/inputs_3d
index 1dd0b5253..249a54669 100644
--- a/Examples/Physics_applications/laser_acceleration/inputs_3d
+++ b/Examples/Physics_applications/laser_acceleration/inputs_3d
@@ -6,7 +6,6 @@ amr.n_cell = 64 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 = 1 1 0 # Is periodic?
geometry.prob_lo = -30.e-6 -30.e-6 -56.e-6 # physical domain
geometry.prob_hi = 30.e-6 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 5.e-6 -30.e-6
#################################
+####### Boundary condition ######
+#################################
+boundary.field_lo = periodic periodic pec
+boundary.field_hi = periodic periodic pec
+
+#################################
############ 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 = 0 # 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