-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More ring design tutorial devel. (#1168)
- Loading branch information
1 parent
44c6a9d
commit b850fc1
Showing
15 changed files
with
25 additions
and
10 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
bmad-doc/tutorial_ring_design/lattices/4_MachineCoords/Exercise_solutions/simple.bmad
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,15 @@ | ||
! Lattice file: simple.bmad (bmad manual p. 107) | ||
beginning[beta_a] = 10. ! m a-mode beta function | ||
beginning[beta_b] = 10. ! m b-mode beta function | ||
beginning[e_tot] = 10e6 ! eV Or can set beginning[p0c] | ||
|
||
parameter[geometry] = open ! Or closed | ||
parameter[particle] = electron ! Reference particle. | ||
|
||
d: drift, L = 0.5 | ||
b: sbend, L = 0.5, g = 1, e1 = 0.1, dg = 0.001 ! g = 1 / design_bending_radius | ||
q: quadrupole, L = 0.6, k1 = 0.23 | ||
g: girder = {b, q}, x_pitch = 0.002, x_offset = 0.03 | ||
|
||
lat: line = (d, b, q) ! List of lattice elements | ||
use, lat ! Line used to construct the lattice |
File renamed without changes.