initial_dt
Stable function · Solvers
Tier: stable · Kind: function · Topic: Solvers
| Julia | Rust |
|---|---|
| not exported | earthsci_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, its norms over every entry of the leaf’s state
vector u0. 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).