aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/PML/inputs2d
blob: c6abe2b88e25a1e19f8261934f04abc69b181984 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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)