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

plan_problem

Stable function · Other

Tier: stable · Kind: function · Topic: Other

JuliaRust
plan_problemnot exported

Julia

plan_problem(dir::AbstractString; cache, model, cache_root, url_overrides, threads, eager_jacobians)
plan_problem(dir; cache = nothing, threads = 1, eager_jacobians = false) -> PlanProblem

Build every operator the resolved schedule of the plan in dir names, from its entry operators.<name> and its documents derived/<name>.rhs.esm and derived/<name>.jacobian.esm (spec/operator-interface.md §8). A derived document whose bytes do not hash to the plan’s derived entry is refused: the plan is stale. For eligible global explicit Runge–Kutta operators, Jacobian source is checked at setup and native compilation is deferred until first use. Set eager_jacobians = true to validate native Jacobian builds during setup. cache, a dictionary, reuses eagerly built documents across plans with the same effective worker budget. threads bounds the workers of full-domain RHS workspaces when EarthSciAST supports threaded workspaces. Otherwise the effective budget is one.

A plan with forcing reads data (§8.4): its model, at model (default: its inputs.model.path relative to dir) and checked against the plan’s hash, gives the providers, through EarthSciAST’s providers_from_document with EarthSciIO’s cache under cache_root (default dir/data-cache) and the source-name-to-URL-template map url_overrides. These three are run-time options, in neither the run config nor the plan.

Source

Rust

Rust does not export this function.