Project

EarthSciIntegrator

One specification for integrating EarthSciML models — explicit, implicit and IMEX methods, operator splitting, a planner, and discrete adjoints — implemented natively in Julia and Rust and checked against each other.

Contents

rhs_fn

Stable type · Solvers

Tier: stable · Kind: type · Topic: Solvers

JuliaRust
not exportedearthsci_integrator_solvers::RhsFn

Julia

Julia does not export this type.

Rust

pub type RhsFn<'a, T> = dyn FnMut(&mut [T], &[T], f64) + 'a;

The leaf’s right-hand side as methods see it: f(out, u, t) overwrites out.

Source · Rust docs