aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/AcceleratorLattice/inputs_quad_boosted_3d
blob: 668ec73d2dd181055d8a9d144ed43ceaaa6ca9b6 (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
max_step = 50
amr.n_cell = 16 16 8
amr.max_level = 0
geometry.dims = 3
geometry.prob_lo     = -0.2 -0.2 -0.1
geometry.prob_hi     = +0.2 +0.2 +0.1

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

warpx.gamma_boost = 2.
warpx.boost_direction = z

# Order of particle shape factors
algo.particle_shape = 1

particles.species_names = electron
electron.charge = -q_e
electron.mass = m_e
electron.injection_style = "SingleParticle"
electron.single_particle_pos = 0.05 0.0 0.0
electron.single_particle_u = 0.0 0.0 2.0  # gamma*beta
electron.single_particle_weight = 1.0

lattice.elements = drift1 quad1 drift2 quad2

drift1.type = drift
drift1.ds = 0.2

quad1.type = quad
quad1.ds = 0.2
quad1.dEdx = 1.e4

drift2.type = drift
drift2.ds = 0.6

quad2.type = quad
quad2.ds = 0.4
quad2.dEdx = -1.e4

# Diagnostics
diagnostics.diags_names = diag1
diag1.intervals = 50
diag1.diag_type = Full