1pub mod roche_context;
2pub use roche_context::RocheContext;
3
4pub mod vec3;
5pub use vec3::Vec3;
6
7pub mod point;
8pub use point::Point;
9
10pub mod planck;
11pub use planck::*;
12
13pub mod blink;
14pub use blink::blink;
15
16pub mod x_lagrange;
17pub use x_lagrange::*;
18
19pub mod pot_min;
20pub use pot_min::*;
21
22pub mod set_earth;
23pub use set_earth::*;
24
25pub mod potential;
26pub use potential::*;
27
28pub mod zeta_rlobe_eggleton;
29pub use zeta_rlobe_eggleton::*;
30
31pub mod sphere_eclipse;
32pub use sphere_eclipse::*;
33
34pub mod ref_sphere;
35pub use ref_sphere::ref_sphere;
36
37pub mod stream_physics;
38pub use stream_physics::*;
39
40pub mod fblink;
41pub use fblink::fblink;
42
43pub mod ingress_egress;
44pub use ingress_egress::ingress_egress;
45
46pub mod disc_eclipse;
47pub use disc_eclipse::disc_eclipse;
48
49pub mod face;
50pub use face::face;
51
52pub mod vel_transform;
53pub use vel_transform::vel_transform;
54
55
56#[derive(Debug, PartialEq, Eq, Clone, Copy)]
57pub enum Star {
58 Primary,
59 Secondary,
60}
61
62pub type Etype = Vec<(f64, f64)>;
63
64
65pub fn add(left: u64, right: u64) -> u64 {
66 left + right
67}
68
69#[cfg(test)]
70mod tests {
71 use super::*;
72
73 #[test]
74 fn it_works() {
75 let result = add(2, 2);
76 assert_eq!(result, 4);
77 }
78}