Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More flexible subsystem structure #2828

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/systems/diffeqs/odesystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ struct ODESystem <: AbstractODESystem
"""
The internal systems. These are required to have unique names.
"""
systems::Vector{ODESystem}
systems::Vector{Any}
"""
The default values to use when initial conditions and/or
parameters are not supplied in `ODEProblem`.
Expand Down
2 changes: 1 addition & 1 deletion src/systems/diffeqs/sdesystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ struct SDESystem <: AbstractODESystem
"""
The internal systems. These are required to have unique names.
"""
systems::Vector{SDESystem}
systems::Vector{Any}
"""
The default values to use when initial conditions and/or
parameters are not supplied in `ODEProblem`.
Expand Down
2 changes: 1 addition & 1 deletion src/systems/discrete_system/discrete_system.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct DiscreteSystem <: AbstractTimeDependentSystem
"""
The internal systems. These are required to have unique names.
"""
systems::Vector{DiscreteSystem}
systems::Vector{Any}
"""
The default values to use when initial conditions and/or
parameters are not supplied in `DiscreteProblem`.
Expand Down
2 changes: 1 addition & 1 deletion src/systems/jumps/jumpsystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ struct JumpSystem{U <: ArrayPartition} <: AbstractTimeDependentSystem
"""The name of the system."""
name::Symbol
"""The internal systems. These are required to have unique names."""
systems::Vector{JumpSystem}
systems::Vector{Any}
"""
The default values to use when initial conditions and/or
parameters are not supplied in `ODEProblem`.
Expand Down
2 changes: 1 addition & 1 deletion src/systems/nonlinear/nonlinearsystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ struct NonlinearSystem <: AbstractTimeIndependentSystem
"""
The internal systems. These are required to have unique names.
"""
systems::Vector{NonlinearSystem}
systems::Vector{Any}
"""
The default values to use when initial conditions and/or
parameters are not supplied in `ODEProblem`.
Expand Down
2 changes: 1 addition & 1 deletion src/systems/optimization/constraints_system.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct ConstraintsSystem <: AbstractTimeIndependentSystem
"""
The internal systems. These are required to have unique names.
"""
systems::Vector{ConstraintsSystem}
systems::Vector{Any}
"""
The default values to use when initial conditions and/or
parameters are not supplied in `ODEProblem`.
Expand Down
2 changes: 1 addition & 1 deletion src/systems/optimization/optimizationsystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ struct OptimizationSystem <: AbstractOptimizationSystem
"""The name of the system."""
name::Symbol
"""The internal systems. These are required to have unique names."""
systems::Vector{OptimizationSystem}
systems::Vector{Any}
"""
The default values to use when initial guess and/or
parameters are not supplied in `OptimizationProblem`.
Expand Down
2 changes: 1 addition & 1 deletion src/systems/pde/pdesystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ struct PDESystem <: ModelingToolkit.AbstractMultivariateSystem
"""
The internal systems. These are required to have unique names.
"""
systems::Vector
systems::Vector{Any}
"""
A vector of explicit symbolic expressions for the analytic solutions of each
dependent variable. e.g. `analytic = [u(t, x) ~ a*sin(c*t) * cos(k*x)]`.
Expand Down
Loading