planned_operator
Stable type · Other
Tier: stable · Kind: type · Topic: Other
| Julia | Rust |
|---|---|
PlannedOperator | planned::PlannedOperator |
Julia
struct PlannedOperator <: EarthSciIntegrator.AbstractOperator
PlannedOperator(name::String, writes::Vector{Int64}, structure::EarthSciIntegrator.Structure, depends_on_t::Bool, linear_in_u::Bool, rhs::R, jac::J, points::Vector{Tuple{Int64, Int64, Int64}}, cache::EarthSciIntegrator.BandCache, layout::EarthSciIntegrator.DofLayout, blockable::Bool, forcing::Union{Nothing, EarthSciIntegrator.ForcingRuntime}, rhs_fs::Base.RefValue{Union{Nothing, EarthSciIntegrator.EpochSet}}, jac_fs::Base.RefValue{Union{Nothing, EarthSciIntegrator.EpochSet}}) where {R<:EarthSciIntegrator.PlanDocument, J<:EarthSciIntegrator.PlanDocument}
PlannedOperator
An operator a plan supplies (spec/operator-interface.md §8): the right-hand
side and Jacobian documents built by EarthSciAST, the canonical DOFs it
writes, its structure, and every point of its bands as (slot, row, col),
the slot of the band field J_k cell in the Jacobian document and the
canonical row and column DOFs it adds into. It provides rhs, jvp_u,
vjp_u and jac (§8.3); the other calls are not provided at M2.