From 66c48e9a2e91a0639937e79095a42caa4c099618 Mon Sep 17 00:00:00 2001 From: Yingbo Ma Date: Sat, 3 Jul 2021 12:55:37 -0400 Subject: [PATCH] add ODEForwardSensitivityFunction --- src/scimlfunctions.jl | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/scimlfunctions.jl b/src/scimlfunctions.jl index adb4bacbe..6a82a2d68 100644 --- a/src/scimlfunctions.jl +++ b/src/scimlfunctions.jl @@ -50,6 +50,32 @@ struct ODEFunction{iip,F,TMM,Ta,Tt,TJ,JVP,VJP,JP,SP,TW,TWt,TPJ,S,S2,O,TCV} <: Ab colorvec::TCV end +# Constructors are defined in DiffEqSensitivity +struct ODEForwardSensitivityFunction{iip,F,A,Tt,J,JP,S,PJ,TW,TWt,UF,PF,JC,PJC,Alg,fc,JM,pJM,MM,CV} <: AbstractODEFunction{iip} + f::F + analytic::A + tgrad::Tt + jac::J + jac_prototype::JP + sparsity::S + paramjac::PJ + Wfact::TW + Wfact_t::TWt + uf::UF + pf::PF + J::JM + pJ::pJM + jac_config::JC + paramjac_config::PJC + alg::Alg + numparams::Int + numindvar::Int + f_cache::fc + mass_matrix::MM + isautojacvec::Bool + colorvec::CV +end + """ $(TYPEDEF) """