Version: dev

Julia API index

Every stable name Julia exports, and its extension seams.

Package: EarthSciASTDiff 0.1.0

Documentation extracted with Base.Docs (Julia 1.13.3).

Extension-tier names are on the Julia extension page .

Stable names

JuliaCanonicalKindSummary
assemble_jacobianassemble_jacobianfunctionOne-shot convenience over prepare_jacobian: evaluate the analytical Jacobian at a point (defaults: the document’s initial state and parameters).
BandbandtypeOne structured block of ∂(rhs of the equation for u)/∂v:
BandErrorband_errorerrorAn expression has a form the band calculus cannot differentiate (for example a filtered faq node or a non-"+" semiring).
BlockDiagonalPlanblock_diagonal_plantypePer-cell block factorization info for a :block_diagonal Jacobian (the chemistry shape: every coupling is within-cell, so the global matrix is one identical ns × ns-patterned…
cse_templatescse_templatesfunctionGreedy largest-first extraction of repeated subtrees over exprs.
DerivativeRuleErrorderivative_rule_errorerrorA scalar operator has no derivative rule (spec §3).
detect_structuredetect_structurefunctionClassify the Jacobian’s structure from the band list:
dscalardscalarfunctionDerivative of the scalar expression e with respect to site s, as a new ESM expression.
jac_prototypejac_prototypefunctionA freshly zeroed sparse prototype on the structural pattern — the object to pass as ODEFunction(f!; jac_prototype = …).
JacEntryjac_entrytypeOne band of the model Jacobian: ∂(equation for state u)/∂v`` with its Band.
jacobian_bandsjacobian_bandsfunctionDifferentiate every differential equation of the system with respect to every state (wrt = :states) or every parameter (wrt = :parameters) that structurally occurs in its…
jacobian_documentjacobian_documentfunctionThe serialized input document plus the draft "jacobians" top-level block (esm-jacobian-spec.md §4): per model, the differentiation axis, the band entries, the detected…
jacobian_patternjacobian_patternfunctionThe structural (global, point-independent) sparsity pattern of the Jacobian as a SparseMatrixCSC{Bool}.
JacobianEvaluatorjacobian_evaluatortypePrepared analytical Jacobian: call as jac!(J, u, p, t) where J is (a copy of) jac.prototype.
lu_filllu_fillfunctionSymbolic (no-pivoting) LU of a structural pattern: the input pattern plus every fill-in entry Gaussian elimination creates, in natural order.
ode_componentsode_componentsfunctionEverything a stiff ODE solver needs, with no solver dependency:
plan_factorizationplan_factorizationfunctionSymbolic factorization info for the detected structure class, or nothing when no plan is implemented for that class (the Jacobian itself is still fully usable — a plan is an…
prepare_jacobianprepare_jacobianfunctionBuild the analytical Jacobian evaluator once: differentiates the system, compiles the derived band-field model through the ordinary EarthSciAST.build_evaluator, and precomputes…
scatter_planscatter_planfunctionBuild the scatter plan of a model’s state Jacobian for layout.
ScatterPlanscatter_plantypeBand fields → storage positions for one (band list, layout).
simplify_branchessimplify_branchesfunctionConditional-specific simplification, complementing EarthSciAST.simplify:
SitesitetypeThe thing a scalar derivative is taken with respect to: a bare VarExpr (scalar variable) or an index(v, i…) node (one symbolic cell of an array variable).
stable_jsonstable_jsonfunctionDeterministic JSON: object keys emitted in sorted order at every level, scalars formatted by JSON3.
SysViewsys_viewtypeUniform system view: variables (name → ModelVariable), equations, and the document’s index_sets.
sysviewsysviewfunction