Description of issue / requirement to address
Currently there are a few places in the code where we compare the max/min of a closed flux surface to an x-point z-location. We could make use of o-to x-point vectors and their tangents, for an approach that is more generally applicable.
Proposed solution
No response
Alternative solutions
No response
Additional Context
No response