aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/laser_injection_from_file/inputs.1d_test
blob: 6124b4552a2bdc501ae7c56b6b7ec361fd7e5bb6 (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
48
49
50
#################################
####### GENERAL PARAMETERS ######
#################################
stop_time = 40.e-15
amr.n_cell = 1024
amr.max_grid_size = 512
amr.blocking_factor = 32
amr.max_level = 0
geometry.dims = 1
geometry.prob_lo     = -25.e-6   # physical domain
geometry.prob_hi     =  25.e-6
warpx.verbose = 1
warpx.serialize_initial_conditions = 1

#################################
####### Boundary condition ######
#################################
boundary.field_lo = periodic
boundary.field_hi = periodic

#################################
############ NUMERICS ###########
#################################
warpx.cfl = 0.98
warpx.use_filter = 0
algo.maxwell_solver = ckc
algo.load_balance_intervals = -1

# Order of particle shape factors
algo.particle_shape = 3

#################################
############# LASER #############
#################################
lasers.names        = lasy_laser
lasy_laser.position     = 0. 0. 0. # This point is on the laser plane
lasy_laser.direction    = 0. 0. 1.     # The plane normal direction
lasy_laser.polarization = 0. 1. 0.     # The main polarization vector
lasy_laser.e_max        = 1.e14        # Maximum amplitude of the laser field (in V/m)
lasy_laser.wavelength = 1.0e-6         # The wavelength of the laser (in meters)
lasy_laser.profile      = from_file
lasy_laser.time_chunk_size = 50
lasy_laser.lasy_file_name = "gaussianlaser3d_00000.h5"
lasy_laser.delay = 0.0

# Diagnostics
diagnostics.diags_names = diag1
diag1.intervals = -1
diag1.fields_to_plot = Ex Ey Ez Bx Bz jx jy jz
diag1.diag_type = Full