Skip to content
Merged
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
1 change: 1 addition & 0 deletions src/array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ hasportion(::Tunable, ::AbstractArray) = true
hasportion(::Constants, ::AbstractArray) = false
hasportion(::Caches, ::AbstractArray) = false
hasportion(::Discrete, ::AbstractArray) = false
hasportion(::Initials, ::AbstractArray) = false

struct ArrayRepack{T}
x::T
Expand Down
6 changes: 6 additions & 0 deletions src/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,9 @@ struct Discrete <: AbstractPortion end
The inputs portion of the SciMLStructure.
"""
struct Input <: AbstractPortion end

"""
The portion of the SciMLStructure used for parameters solely involved in initialization.
These should be floating point numbers supporting automatic differentiation.
"""
struct Initials <: AbstractPortion end
Loading