aboutsummaryrefslogtreecommitdiff
path: root/Examples/Physics_applications/plasma_acceleration
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/Physics_applications/plasma_acceleration')
-rw-r--r--Examples/Physics_applications/plasma_acceleration/inputs_2d11
-rw-r--r--Examples/Physics_applications/plasma_acceleration/inputs_2d_boost8
-rw-r--r--Examples/Physics_applications/plasma_acceleration/inputs_3d_boost8
3 files changed, 20 insertions, 7 deletions
diff --git a/Examples/Physics_applications/plasma_acceleration/inputs_2d b/Examples/Physics_applications/plasma_acceleration/inputs_2d
index 9aceea519..f25f3d7ff 100644
--- a/Examples/Physics_applications/plasma_acceleration/inputs_2d
+++ b/Examples/Physics_applications/plasma_acceleration/inputs_2d
@@ -7,19 +7,24 @@ amr.max_grid_size = 128
amr.blocking_factor = 32
amr.max_level = 0
geometry.coord_sys = 0 # 0: Cartesian
-geometry.is_periodic = 0 0 # Is periodic?
geometry.prob_lo = -125.e-6 -149.e-6
geometry.prob_hi = 125.e-6 1.e-6
warpx.fine_tag_lo = -12.e-6 -110.e-6
warpx.fine_tag_hi = 12.e-6 -100.e-6
#################################
+######## Boundary condition #####
+#################################
+boundary.field_lo = pml pml
+boundary.field_hi = pml pml
+# PML
+warpx.pml_ncell = 10
+
+#################################
############ NUMERICS ###########
#################################
algo.maxwell_solver = ckc
warpx.use_filter = 1
-warpx.do_pml = 1
-warpx.pml_ncell = 10
warpx.cfl = .99
warpx.do_moving_window = 1
warpx.moving_window_dir = z
diff --git a/Examples/Physics_applications/plasma_acceleration/inputs_2d_boost b/Examples/Physics_applications/plasma_acceleration/inputs_2d_boost
index 0277067fb..304da69c8 100644
--- a/Examples/Physics_applications/plasma_acceleration/inputs_2d_boost
+++ b/Examples/Physics_applications/plasma_acceleration/inputs_2d_boost
@@ -7,17 +7,21 @@ amr.max_grid_size = 128
amr.blocking_factor = 32
amr.max_level = 0
geometry.coord_sys = 0 # 0: Cartesian
-geometry.is_periodic = 0 0 # Is periodic?
geometry.prob_lo = -125.e-6 -149.e-6
geometry.prob_hi = 125.e-6 1.e-6
#################################
+####### Boundary condition ######
+#################################
+boundary.field_lo = pml pml
+boundary.field_hi = pml pml
+
+#################################
############ NUMERICS ###########
#################################
algo.maxwell_solver = ckc
warpx.verbose = 1
warpx.use_filter = 1
-warpx.do_pml = 1
warpx.pml_ncell = 10
warpx.cfl = .99
warpx.do_moving_window = 1
diff --git a/Examples/Physics_applications/plasma_acceleration/inputs_3d_boost b/Examples/Physics_applications/plasma_acceleration/inputs_3d_boost
index 8ad4e3056..55f74cfcb 100644
--- a/Examples/Physics_applications/plasma_acceleration/inputs_3d_boost
+++ b/Examples/Physics_applications/plasma_acceleration/inputs_3d_boost
@@ -7,18 +7,22 @@ amr.max_grid_size = 64
amr.blocking_factor = 32
amr.max_level = 0
geometry.coord_sys = 0 # 0: Cartesian
-geometry.is_periodic = 1 1 0 # Is periodic?
geometry.prob_lo = -0.00015 -0.00015 -0.00012
geometry.prob_hi = 0.00015 0.00015 1.e-06
#################################
+####### Boundary condition ######
+#################################
+boundary.field_lo = periodic periodic pml
+boundary.field_hi = periodic periodic pml
+
+#################################
############ NUMERICS ###########
#################################
algo.maxwell_solver = ckc
warpx.verbose = 1
warpx.do_dive_cleaning = 0
warpx.use_filter = 1
-warpx.do_pml = 1
warpx.cfl = .99
warpx.do_moving_window = 1
warpx.moving_window_dir = z