Package extensions

Extensions load automatically when the corresponding optional dependency is present in the environment:

ExtensionTriggerProvides
PyrolysisKLUExtusing KLUklu_factorization linear-solver hook
PyrolysisAMGExtusing AlgebraicMultigridamg_preconditioner
PyrolysisPardisoExtusing Pardisopardiso_factorization
PyrolysisPlotsExtusing RecipesBase (or Plots)Plot recipes for PyrolysisSolution
PyrolysisSciMLSensitivityExtusing SciMLSensitivity, Zygoteforward_sensitivity / adjoint_sensitivity
PyrolysisSymbolicsExtusing Symbolicsverify_mixing_derivatives (test-only)

Calling a stub without its trigger dependency loaded raises a MethodError naming the package to load. See the User Guide's extensions section.

Pyrolysis.klu_factorizationFunction
klu_factorization()

KLU sparse-direct factorization for the integrator's linear solves, suitable as the linear_solver keyword of solve. The concrete method is attached by the PyrolysisKLUExt extension: load KLU first (using KLU); calling the stub without it raises a MethodError.

source
Pyrolysis.pardiso_factorizationFunction
pardiso_factorization()

MKL Pardiso sparse-direct factorization for the integrator's linear solves, suitable as the linear_solver keyword of solve. The concrete method is attached by the PyrolysisPardisoExt extension: load Pardiso first (using Pardiso); calling the stub without it raises a MethodError.

source
Pyrolysis.amg_preconditionerFunction
amg_preconditioner(A)

Algebraic-multigrid preconditioner built from the sparse matrix A, for use with the ILU/Krylov iterative linear solvers. The concrete method is attached by the PyrolysisAMGExt extension: load AlgebraicMultigrid first (using AlgebraicMultigrid); calling the stub without it raises a MethodError.

source