Skip to content

Commit 9ec7895

Browse files
Merge pull request #34 from AayushSabharwal/as/initials
feat: add `Initials` portion
2 parents 3785e47 + f518f58 commit 9ec7895

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/array.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ hasportion(::Tunable, ::AbstractArray) = true
22
hasportion(::Constants, ::AbstractArray) = false
33
hasportion(::Caches, ::AbstractArray) = false
44
hasportion(::Discrete, ::AbstractArray) = false
5+
hasportion(::Initials, ::AbstractArray) = false
56

67
struct ArrayRepack{T}
78
x::T

src/interface.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,9 @@ struct Discrete <: AbstractPortion end
111111
The inputs portion of the SciMLStructure.
112112
"""
113113
struct Input <: AbstractPortion end
114+
115+
"""
116+
The portion of the SciMLStructure used for parameters solely involved in initialization.
117+
These should be floating point numbers supporting automatic differentiation.
118+
"""
119+
struct Initials <: AbstractPortion end

0 commit comments

Comments
 (0)