OrbitThreader::computeMaximalImplicitDrift not yielding correct results
Summary
The method OrbitThreader::computeMaximalImplicitDrift doesn't yield correct results if elements are placed in 3D in the input file.
Steps to reproduce
Download and unpack the attached tar file and then run it with the current master version of OPAL.
What is the current bug behavior?
The rotated quadrupole in the beam line is neglected in the output of the orbit threader and stops tracking after the second element.
What is the expected correct behavior?
OPAL should track the beam through all elements.
Relevant logs and/or screenshots
Possible fixes
Track with a single particle until it leaves the bounding box which encloses all elements.
(If you can, link to the line of code that might be responsible for the problem)
Edited by kraus