Skip to main content

thor_rs_propagator/
lib.rs

1//! thor-rs-propagator: the propagator contract for THOR.
2//!
3//! The [`Propagator`] trait and the state / ephemeris / configuration types
4//! every dynamical backend implements. This crate is deliberately tiny and
5//! dependency-light (serde + thiserror): it is the semver-governed seam
6//! between THOR's pipeline and its physics backends, so backends can live in
7//! their own crates and repositories.
8//!
9//! Frames and conventions: states are heliocentric ecliptic J2000 unless a
10//! type says otherwise on the field; epochs are MJD TDB. Backends signal
11//! capabilities they lack with [`PropagatorError::Unsupported`] — loudly,
12//! never by silent substitution.
13
14mod api;
15mod error;
16mod types;
17
18pub use api::Propagator;
19pub use error::PropagatorError;
20pub use types::{
21    CartesianState, CovarianceKind, CovarianceMethod, CovarianceQuality, Ephemeris,
22    EphemerisConfig, Frame, IntegratorProfile, ObserverState, Origin, PropagatedState,
23    PropagationConfig, PropagationProfile, SphericalState, TestOrbit,
24};