Version: dev

initial_dt

Stable function · Solvers

Tier: stable · Kind: function · Topic: Solvers

JuliaRust
not exportedearthsci_integrator_solvers::initdt::initial_dt

Julia

Julia does not export this function.

Rust

pub fn initial_dt<T: Scalar>(inp: &InitDtInput<'_, T>, f: &mut RhsFn<'_, T>) -> (f64, usize)

Computes the first step. f(out, u, t) overwrites out with the leaf’s right-hand side. Returns the step and the number of f evaluations (2, or 1 when the first evaluation has a NaN).

Source · Rust docs