-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
147 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
############################################################################### | ||
# Particle Beam(s) | ||
############################################################################### | ||
beam.npart = 10000 | ||
beam.units = static | ||
beam.kin_energy = 2.5 | ||
beam.charge = 1.0e-9 | ||
beam.particle = proton | ||
beam.distribution = waterbag | ||
#beam.sigmaX = 2.0e-3 | ||
#beam.sigmaY = 2.0e-3 | ||
#beam.sigmaT = 1.0e-3 | ||
#beam.sigmaPx = 3.0e-4 | ||
#beam.sigmaPy = 3.0e-4 | ||
#beam.sigmaPt = 0.0 | ||
#beam.muxpx = 0.0 | ||
#beam.muypy = 0.0 | ||
#beam.mutpt = 0.0 | ||
beam.sigmaX = 1.397456296195e-003 | ||
beam.sigmaY = 1.397456296195e-003 | ||
beam.sigmaT = 1.0e-4 | ||
beam.sigmaPx = 1.256184325020e-003 | ||
beam.sigmaPy = 1.256184325020e-003 | ||
beam.sigmaPt = 0.0 | ||
beam.muxpx = 0.8090169943749474 | ||
beam.muypy = 0.8090169943749474 | ||
beam.mutpt = 0.0 | ||
|
||
|
||
############################################################################### | ||
# Beamline: lattice elements and segments | ||
############################################################################### | ||
lattice.elements = monitor lens const monitor | ||
|
||
lens.type = line | ||
lens.elements = = dr_end nll1 dr nll2 dr nll3 dr nll4 dr nll5 dr nll6 \ | ||
dr nll7 dr nll8 dr nll9 dr nll9 dr nll8 dr nll7 \ | ||
dr nll6 dr nll5 dr nll4 dr nll3 dr nll2 dr nll1 \ | ||
dr_end | ||
|
||
# Nonlinear lens segments | ||
nll1.type = nonlinear_lens | ||
nll1.knll = 2.2742558121e-6 | ||
nll1.cnll = 0.013262040169952 | ||
|
||
nll2.type = nonlinear_lens | ||
nll2.knll = 2.641786366e-6 | ||
nll2.cnll = 0.012304986694423 | ||
|
||
nll3.type = nonlinear_lens | ||
nll3.knll = 3.076868353e-6 | ||
nll3.cnll = 0.011401855643727 | ||
|
||
nll4.type = nonlinear_lens | ||
nll4.knll = 3.582606522e-6 | ||
nll4.cnll = 0.010566482535866 | ||
|
||
nll5.type = nonlinear_lens | ||
nll5.knll = 4.151211157e-6 | ||
nll5.cnll = 0.009816181575902 | ||
|
||
nll6.type = nonlinear_lens | ||
nll6.knll = 4.754946985e-6 | ||
nll6.cnll = 0.0091718544892154 | ||
|
||
nll7.type = nonlinear_lens | ||
nll7.knll = 5.337102374e-6 | ||
nll7.cnll = 0.008657195579489 | ||
|
||
nll8.type = nonlinear_lens | ||
nll8.knll = 5.811437818e-6 | ||
nll8.cnll = 0.008296371635942 | ||
|
||
nll9.type = nonlinear_lens | ||
nll9.knll = 6.081693334e-6 | ||
nll9.cnll = 0.008109941789663 | ||
|
||
dr.type = drift | ||
dr.ds = 0.1 | ||
|
||
dr_end.type = drift | ||
dr_end.ds = 0.05 | ||
|
||
# Focusing of the external lattice | ||
const.type = constf | ||
const.ds = 1.0e-8 | ||
const.kx = 12060.113295833 | ||
const.ky = 12060.113295833 | ||
const.kt = 1.0e-12 | ||
const.nslice = 1 | ||
|
||
# Beam Monitor: Diagnostics | ||
monitor.type = beam_monitor | ||
monitor.backend = h5 | ||
|
||
############################################################################### | ||
# Algorithms | ||
############################################################################### | ||
algo.particle_shape = 2 | ||
algo.space_charge = false | ||
|
||
|
||
############################################################################### | ||
# Diagnostics | ||
############################################################################### | ||
diag.alpha = 1.376381920471173 | ||
diag.beta = 1.892632003628881 | ||
diag.tn = 0.4 | ||
diag.cn = 0.01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters