You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Marcelo Forets edited this page Jan 20, 2019
·
1 revision
(rough idea, not finished)
abstract type AbstractModel endabstract type AbstractProblem endstruct IVPModel{IT, ST, MT} <:AbstractModel
id::Dict{Any, Any}
ivp::ST
options::MTendstruct ProblemInstance{MT<:AbstractModel, PT<:AbstractProperty} <:AbstractProblem
model::MT
property::PTendid(p::ProblemInstance) = p.model.id
function iss
endISS(model) =iss(...) # instantiate iss with default optionsfunctionrun(m::ProblemInstance)::AbstractSolution
. . .
end# define the iss model, independent of the concrete analysisfunctioniss(o::Options)::ISS
. . . .
endfunctiondefault_options(m::ISS)::Options
. . . .
end