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

This is the documentation for the development version. For the latest release, see v0.2.0.

observed_values

Stable function · Other

Tier: stable · Kind: function · Topic: Other

JuliaRust
observed_valuesnot exported

Julia

observed_values(info::EarthSciIntegrator.AlgebraicInfo, x, p, t)
observed_values(O::ObservedDocument, u::AbstractVector{Float64}, p::AbstractVector{Float64}, t)
observed_values(O::ObservedDocument, u::AbstractVector{Float64}, p::AbstractVector{Float64}, t, F)
observed_values(O, u, p, t, F = nothing) -> Dict{String, Vector{Float64}}

Every observed of O at (u, p, t) with the forcing F (as eval_slots takes it), where u is the state in canonical order (empty for a document with no states) and p the program’s parameters in its order (O.built.pvec for the defaults): each observed’s value over its declared shape, column-major (first index fastest), one element for a scalar. The observeds are evaluated by the compiled program. The Rust planner’s numeric::Program::observed.


The values of the frozen observeds of info at the model state x (D125), by name: what a referenced bound or scale reads, once per invocation.

Source

Rust

Rust does not export this function.