Skip to content

Cancellation in the calculation of the orbital frequencies #56

@nielsw2

Description

@nielsw2

The equations for the Mino time t and phi frequencies (Eq. 21 of https://arxiv.org/pdf/0906.1420.pdf) have the term $r_3-r_+$ in the denominator and there are points in the parameter space where this is zero. As an example, consider:

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions