Replies: 2 comments 10 replies
-
|
@EZoni The problem is what is displayed does not show how things will work with more complex constructions. Can you modify this to show how these options will work with elements defined outside the |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Another option would be to just get rid if Element:
name: quad1
kind: Quadrupole
length: 1.0
MagneticMultipoleP:
Kn1: 1.0
Lattice:
- Branch: fodo
BeamLine:
name: fodo
line:
- Element:
name: drift1
kind: Drift
length: 0.25
- Element:
- Inherit: quad1
- name: quad1_A
- length: 2.0
- Element:
repetition: 2
direction: -1
name: drift2
kind: Drift
length: 0.5
- Element:
name: quad2
kind: Quadrupole
length: 1.0
MagneticMultipoleP:
Kn1: -1.0
Beamline:
name: full_line
line:
- BeamLine:
name: fodo
repetition: 3
- Element:
name: drift3
kind: Drift
length: 0.5 |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Based on discussions with @jlvay and @cemitch99, we would like to compare three different variations of a YAML file defining a FODO cell example and discuss with the community which one(s) may be preferred, as far as PALS is concerned. For the choice of parameters, we used the ImpactX example described here.
Option consistent with PALS, as is:
Option without
itemandElement, using element's name as identifier:Option without
itemandElement, using element's kind as identifier:Beta Was this translation helpful? Give feedback.
All reactions