bmad-sim / BeamTracking.jl

Julia routines for tracking particle beams through accelerators
Other
0 stars 2 forks source link

implement tracking through a quadrupole #5

Open dtabell opened 2 months ago

dtabell commented 2 months ago

element Quadrupole

dtabell commented 1 week ago

@mattsignorelli I have an initial implementation. see the branch 5-track-symplectic-quad. It needs testing, and I have plenty of questions about both type stability and performance. The former we should address ASAP. The latter we can address later.

In addition, I added two new functions to utils.jl: sincu and sinch. These also need attention from an expert in type stability.

We should also discuss spin.

dtabell commented 6 days ago

Some possible tests: