-
Notifications
You must be signed in to change notification settings - Fork 13
Cancellation in the calculation of the orbital frequencies #56
Copy link
Copy link
Open
Labels
Description
The equations for the Mino time t and phi frequencies (Eq. 21 of https://arxiv.org/pdf/0906.1420.pdf) have the term
a0 = 0.9;
p0 = 7.035330;
e0 = 0.251521;
rp = M + Sqrt[M^2 - a^2];
orbit = KerrGeoOrbit[a0, p0, e0, 1];
orbit["RadialRoots"] - Block[{M = 1, a = a0}, rp]
which gives
{7.96361, 4.18553, 3.41949*10^-14, -1.43589}
This does not seem to cause an issue in Mathematica (though no doubt careful fine tuning would lead to a loss of precision) but it is causing a problems with these equations are CForm'ed for use in FEW. There must be a way to re-write the equations to factor out the problematic term.
Reactions are currently unavailable