MethodicalAcceleratorDesign / MAD-NG

MAD Next-Generation official repository
GNU General Public License v3.0
32 stars 11 forks source link

True Parallel Rbend Backtracking Fix #379

Closed jgray-19 closed 1 year ago

jgray-19 commented 1 year ago

Simplify rbend fringe to solve backtracking for rbend true parallel

ldeniau commented 1 year ago

not clear to me that it is changing anything but may do some useless calculation in one case over two...

jgray-19 commented 1 year ago

The only difference is that e2 and e1 are swapped when sdir == -1 in the calculation of c.a