pub mod error_ctrl;
pub use self::error_ctrl::*;
pub mod events;
mod rk;
pub use self::rk::*;
mod dormand;
pub use self::dormand::*;
mod fehlberg;
pub use self::fehlberg::*;
mod verner;
pub use self::verner::*;
mod propagator;
pub use self::propagator::*;
pub trait RK
where
Self: Sized,
{
fn order() -> u8;
fn stages() -> usize;
fn a_coeffs() -> &'static [f64];
fn b_coeffs() -> &'static [f64];
}
#[derive(Clone, Debug)]
pub struct IntegrationDetails {
pub step: f64,
pub error: f64,
pub attempts: u8,
}