access default beam
Closed this issue · 1 comments
rdemaria commented
It is possible to get a beam associated to the a sequence, but could not find a way to retrieve the default beam.
coldfix commented
I think it's currently not implemented. I guess the default beam is stored in struct command* current_beam
(see MAD-X/src/mad_gvar.h
), but cpymad currently only uses sequence.beam
. Should be easy to add.