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

Rust API index

Every stable name Rust exports, and its extension seams.

Documentation extracted with rustdoc JSON (rustdoc 1.101.0-nightly (21b707e3f 2026-09-30)), format_version 61.

Extension-tier names are on the Rust extension page .

Stable names

RustCanonicalKindSummary
adjoint::Gradientgradient_resulttypeThe functional and its gradient.
config::RunConfigrun_configtypeA run configuration.
earthsci_integrator_planner::jcs::to_stringjcsfunctionThe canonical form of v.
earthsci_integrator_planner::numeric::observed_documentobserved_documentfunctionThe document doc with one new state per observed of its flattened model, so that a program built from it reports the observeds’ values in its right-hand side: the observed at…
earthsci_integrator_planner::numeric::Programobserved_programtypeA document’s right-hand side, compiled by EarthSciAST (rhs_program), with the permutation between its own state layout and the canonical order.
earthsci_integrator_planner::Optionsplan_optionstypeWhat the caller may give besides the run config.
earthsci_integrator_planner::planplanfunctionPlans the run config at path.
earthsci_integrator_planner::PlanErrorplan_errorerrorWhy planning stopped.
earthsci_integrator_planner::PlannedplannedtypeEverything the planner computes for a run config.
earthsci_integrator_planner::Refusalplanner_refusalerrorA refusal: a code of spec/planner-errors.json, the JSON pointer into the run config it concerns (/model for the model), and a message.
earthsci_integrator_planner::runconfig::readread_run_configfunctionStep 1 of spec/plan.md §4: parse the run config, validate it against schemas/run-config.schema.json (run_config_invalid) and refuse a version this planner does not implement…
earthsci_integrator_planner::runconfig::RunConfigplanner_run_configtypeA run config as read from its file.
earthsci_integrator_solvers::controller::ControllercontrollertypeController constants plus the method’s orders.
earthsci_integrator_solvers::erk::ErkErrorerk_errorerrorThe error estimate (spec/methods.md §3.2).
earthsci_integrator_solvers::erk::ExplicitRkexplicit_rktypeAn explicit Runge–Kutta method built from its table.
earthsci_integrator_solvers::implicit::ImplicitimplicittypeAn implicit method built from its table.
earthsci_integrator_solvers::initdt::initial_dtinitial_dtfunctionComputes the first step, its norms over every entry of the leaf’s state vector u0.
earthsci_integrator_solvers::RhsFnrhs_fntypeThe leaf’s right-hand side as methods see it: f(out, u, t) overwrites out.
earthsci_integrator_solvers::rosenbrock::RosenbrockrosenbrocktypeA Rosenbrock method built from its table.
earthsci_integrator_solvers::ScalarscalartypeA floating-point element type for state vectors: f32 or f64.
earthsci_integrator_solvers::tableau::all_tableausall_tableausfunctionEvery table, by name.
earthsci_integrator_solvers::tableau::TableautableautypeOne coefficient table, as spec/schemas/tableau.schema.json defines it.
earthsci_integrator_solvers::tableau::tableautableaufunctionThe table for run-config alg value name, if there is one.
ErrorerrorerrorErrors: refusals of a run config or schedule, and failed runs.
forcing::DataOptionsdata_optionstypeThe run-time options of the data layer (spec/operator-interface.md §8.4.2 item 1): in neither the run config nor the plan, since none changes what is computed.
forcing::ForcingTimelineforcing_timelinetypeThe forcing epochs of a run (§8.4.3) and each epoch’s buffers.
operator::MapOperatormap_operatortypeA map operator u ← M(u, p, t, Δ) (§7).
operator::OperatoroperatortypeAn additive term operator f_k(u, p, t) (§1, §3).
planned::load_planload_planfunctionReads the plan directory dir and builds every operator its schedule names (operator-interface.md §8).
planned::load_plan_withload_plan_withfunctionload_plan, fetching the data of a plan with forcing as data says (operator-interface.md §8.4).
planned::LoadedPlanloaded_plantypeA plan loaded for running: the problem its operators make and the run config of its resolved schedule and step.
planned::PlannedOperatorplanned_operatortypeAn operator built from a plan (§8).
schedule::ForwardRunforward_runtypeThe result of a forward run or a replay.
schedule::RunSpecrun_spectypeA configured run: problem, schedule, interval, macro step, outputs and the adjoint settings.
SPEC_VERSIONspec_versionconstantVersion of the integrator spec (the run config’s esm_integrator key) this crate implements.
tape::TapetapetypeThe tape of a run.
toy::toy_problemtoy_problemfunctionBuilds the toy problem a case’s model: "toy:<problem>[/<variant>]" names.
toy::ToyProblemtoy_problemtypeA toy problem: its operators, layout, parameters, initial state, interval and the facts the conformance checks use.