controller
Stable type · Solvers
Tier: stable · Kind: type · Topic: Solvers
| Julia | Rust |
|---|---|
| not exported | earthsci_integrator_solvers::controller::Controller |
Julia
Julia does not export this type.
Rust
pub struct Controller {
pub kind: ControllerKind,
pub beta1: f64,
pub beta2: f64,
pub beta3: f64,
pub gamma: f64,
pub qmin: f64,
pub qmax: f64,
pub qmax_first_step: f64,
pub qsteady_min: f64,
pub qsteady_max: f64,
pub failfactor: f64,
pub qoldinit: f64,
pub accept_safety: f64,
pub order: u32,
pub embedded_order: u32,
}
impl Controller { pub fn new(kind: ControllerKind, t: &Tableau) -> Option<Self> }
impl Controller { pub fn initial_state(&self) -> ControllerState }
impl Controller { pub fn evaluate(&self, s: &ControllerState, e: f64) -> Evaluation }
impl Controller { pub fn accept(&self, s: &mut ControllerState, ev: &Evaluation, e: f64, h_base: f64) -> f64 }
impl Controller { pub fn reject(&self, ev: &Evaluation, h: f64) -> f64 }
Controller constants plus the method’s orders.