diff options
-rw-r--r-- | Exec/laser_injection/inputs.rt | 54 | ||||
-rw-r--r-- | Regression/WarpX-tests.ini | 12 |
2 files changed, 66 insertions, 0 deletions
diff --git a/Exec/laser_injection/inputs.rt b/Exec/laser_injection/inputs.rt new file mode 100644 index 000000000..071f4d446 --- /dev/null +++ b/Exec/laser_injection/inputs.rt @@ -0,0 +1,54 @@ +# Maximum number of time steps +max_step = 20 + +# number of grid points +amr.n_cell = 64 64 240 + +# Maximum allowable size of each subdomain in the problem domain; +# this is used to decompose the domain for parallel calculations. +amr.max_grid_size = 32 + +# Maximum level in hierarchy (for now must be 0, i.e., one level in total) +amr.max_level = 0 + +# Geometry +geometry.coord_sys = 0 # 0: Cartesian +geometry.is_periodic = 1 1 0 # Is periodic? +geometry.prob_lo = -20.e-6 -20.e-6 -12.e-6 # physical domain +geometry.prob_hi = 20.e-6 20.e-6 12.e-6 + +# Verbosity +warpx.verbose = 1 + +# Algorithms +algo.current_deposition = 0 +algo.charge_deposition = 0 +algo.field_gathering = 0 +algo.particle_pusher = 0 + +# CFL +warpx.cfl = 1.0 + +# Laser +warpx.use_laser = 1 +laser.profile = Gaussian +laser.position = 0. 0. 9.e-6 # This point is on the laser plane +laser.direction = 0. 0. 1. # The plane normal direction +laser.polarization = 0. 1. 0. # The main polarization vector +laser.e_max = 4.e12 # Maximum amplitude of the laser field (in V/m) +laser.profile_waist = 5.e-6 # The waist of the laser (in meters) +laser.profile_duration = 15.e-15 # The duration of the laser (in seconds) +laser.profile_t_peak = 30.e-15 # The time at which the laser reaches its peak (in seconds) +laser.profile_focal_distance = 100.e-6 # Focal distance from the antenna (in meters) +laser.wavelength = 0.8e-6 # The wavelength of the laser (in meters) + +# I/O +amr.plot_int = 20 + +# Moving window +warpx.do_moving_window = 1 +warpx.moving_window_dir = 2 # 0, 1, 2, for x, y, z +warpx.moving_window_v = 1.0 # in units of the speed of light + +# Remove species +particles.nspecies = 0 diff --git a/Regression/WarpX-tests.ini b/Regression/WarpX-tests.ini index 9a8681f4d..09f13ee59 100644 --- a/Regression/WarpX-tests.ini +++ b/Regression/WarpX-tests.ini @@ -118,6 +118,18 @@ numthreads = 2 compileTest = 0 doVis = 0 +[LaserInjection] +buildDir = Exec/laser_injection +inputFile = inputs.rt +dim = 3 +restartTest = 0 +useMPI = 1 +numprocs = 4 +useOMP = 0 +numthreads = 2 +compileTest = 0 +doVis = 0 + [Python_Langmuir] buildDir = Python/ inputFile = ../tests/Langmuir/langmuir.py |