pub fn star_eclipse(
q: f64,
spin: f64,
r: f64,
ffac: f64,
iangle: f64,
posn: &Vec3,
delta: f64,
roche: bool,
star: Star,
eclipses: &mut Etype,
) -> Result<(), RocheError>Expand description
Covenience routine which wraps up the code to compute a star eclipse allowing for roche-dirstortion or not.
Arguments:
q: mass ratior: radius of starspin: spin/orbital frequency factorffac: roche filling factoriangle: inclination angleposn: position of pointdelta: accuracy in phaseroche: account for roche distortion or noteclipses: set of ingress/egress pairs