Skip to content

Commit

Permalink
make the IntegralFunctions
Browse files Browse the repository at this point in the history
  • Loading branch information
lxvm committed Sep 19, 2023
1 parent cde1c51 commit 49b28f4
Show file tree
Hide file tree
Showing 4 changed files with 285 additions and 99 deletions.
16 changes: 13 additions & 3 deletions src/SciMLBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,14 @@ abstract type AbstractDiffEqFunction{iip} <:
"""
$(TYPEDEF)
Base for types defining integrand functions.
"""
abstract type AbstractIntegralFunction{iip} <:
AbstractSciMLFunction{iip} end

"""
$(TYPEDEF)
Base for types defining optimization functions.
"""
abstract type AbstractOptimizationFunction{iip} <: AbstractSciMLFunction{iip} end
Expand Down Expand Up @@ -659,7 +667,9 @@ function specialization(::Union{ODEFunction{iip, specialize},
RODEFunction{iip, specialize},
NonlinearFunction{iip, specialize},
OptimizationFunction{iip, specialize},
BVPFunction{iip, specialize}}) where {iip,
BVPFunction{iip, specialize},
IntegralFunction{iip, specialize},
BatchIntegralFunction{iip, specialize}}) where {iip,
specialize}
specialize
end
Expand Down Expand Up @@ -714,7 +724,6 @@ include("ensemble/ensemble_analysis.jl")

include("solve.jl")
include("interpolation.jl")
include("integrand_interface.jl")
include("integrator_interface.jl")
include("tabletraits.jl")
include("remake.jl")
Expand Down Expand Up @@ -790,7 +799,8 @@ export remake

export ODEFunction, DiscreteFunction, ImplicitDiscreteFunction, SplitFunction, DAEFunction,
DDEFunction, SDEFunction, SplitSDEFunction, RODEFunction, SDDEFunction,
IncrementingODEFunction, NonlinearFunction, IntervalNonlinearFunction, BVPFunction
IncrementingODEFunction, NonlinearFunction, IntervalNonlinearFunction, BVPFunction,
IntegralFunction, BatchIntegralFunction

export OptimizationFunction

Expand Down
95 changes: 0 additions & 95 deletions src/integrand_interface.jl

This file was deleted.

Loading

0 comments on commit 49b28f4

Please sign in to comment.