aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/PML/inputs.2d
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/Tests/PML/inputs.2d')
-rw-r--r--Examples/Tests/PML/inputs.2d47
1 files changed, 47 insertions, 0 deletions
diff --git a/Examples/Tests/PML/inputs.2d b/Examples/Tests/PML/inputs.2d
new file mode 100644
index 000000000..c6abe2b88
--- /dev/null
+++ b/Examples/Tests/PML/inputs.2d
@@ -0,0 +1,47 @@
+# Maximum number of time steps
+max_step = 300
+
+# number of grid points
+amr.n_cell = 128 512
+
+# Maximum allowable size of each subdomain in the problem domain;
+# this is used to decompose the domain for parallel calculations.
+amr.max_grid_size = 128
+
+# Maximum level in hierarchy (for now must be 0, i.e., one level in total)
+amr.max_level = 0
+
+amr.plot_int = 50 # How often to write plotfiles. "<= 0" means no plotfiles.
+
+# Geometry
+geometry.coord_sys = 0
+geometry.is_periodic = 0 0 0
+geometry.prob_lo = -30.e-6 -120.e-6
+geometry.prob_hi = 30.e-6 120.e-6
+
+# Verbosity
+warpx.verbose = 1
+
+# Algorithms
+
+warpx.cfl = 1.0
+warpx.do_pml = 1
+particles.nspecies = 0
+
+warpx.do_moving_window = 0
+# warpx.moving_window_dir = z
+# warpx.moving_window_v = 1.0 # in units of the speed of light
+
+# Laser
+lasers.nlasers = 1
+lasers.names = laser1
+laser1.profile = Gaussian
+laser1.position = 0. 0. 0.e-6 # This point is on the laser plane
+laser1.direction = 1. 0. 1. # The plane normal direction
+laser1.polarization = -1. 1. 1. # The main polarization vector
+laser1.e_max = 1.e1 # Maximum amplitude of the laser field (in V/m)
+laser1.profile_waist = 5.e-6 # The waist of the laser (in meters)
+laser1.profile_duration = 15.e-15 # The duration of the laser (in seconds)
+laser1.profile_t_peak = 30.e-15 # The time at which the laser reaches its peak (in seconds)
+laser1.profile_focal_distance = 1.e-6 # Focal distance from the antenna (in meters)
+laser1.wavelength = 2.e-6 # The wavelength of the laser (in meters)