getSteepestExitsOnBall.m#
Determines the exits on a ball, by reformulating as a trigonometric polynomial rootfinding problem. Exits are introduced in [Gibbs et al., 2024], but this algorithm is not described there. An explanation of this algorithm can be found in these extra notes.
SEs = getSteepestExitsOnBall(phaseCoeffs, centre, radius)
Inputs#
phaseCoeffs: Array of coefficients of the phase function \(g\).centre: Centre of the non-oscillatory ball.radius: Radius of the non-oscillatory ball.
Outputs#
SEs: An array of exits on the circumference of the non-oscillatory ball.