Skip to content

Commit 3361874

Browse files
committed
Add input for a simple distribution test.
1 parent b0d9d1e commit 3361874

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
###############################################################################
2+
# Particle Beam(s)
3+
###############################################################################
4+
beam.npart = 10000
5+
beam.units = static
6+
beam.kin_energy = 2.0e3
7+
beam.charge = 1.0e-9
8+
beam.particle = proton
9+
beam.distribution = kurth4d
10+
beam.lambdaX = 1.0e-3
11+
beam.lambdaY = beam.lambdaX
12+
beam.lambdaT = 1.0e-3
13+
beam.lambdaPx = 1.0e-3
14+
beam.lambdaPy = beam.lambdaPx
15+
beam.lambdaPt = 2.0e-3
16+
beam.muxpx = 0.0
17+
beam.muypy = 0.0
18+
beam.mutpt = 0.0
19+
beam.polarization_x = 0.7
20+
beam.polarization_y = 0.0
21+
beam.polarization_z = 0.0
22+
23+
###############################################################################
24+
# Beamline: lattice elements and segments
25+
###############################################################################
26+
lattice.elements = monitor constf1 monitor
27+
28+
monitor.type = beam_monitor
29+
monitor.backend = h5
30+
31+
constf1.type = constf
32+
constf1.ds = 2.0
33+
constf1.kx = 1.0
34+
constf1.ky = 1.0
35+
constf1.kt = 1.0e-4
36+
37+
38+
###############################################################################
39+
# Algorithms
40+
###############################################################################
41+
algo.space_charge = false

0 commit comments

Comments
 (0)