Skip to content

Commit 820ddfb

Browse files
Merge pull request #1131 from abhro/alias-docstring-signatures
Move type/constructor signatures for alias types to top of docstrings
2 parents f9b12cc + e132598 commit 820ddfb

15 files changed

+17
-15
lines changed

src/problems/analytical_problems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ end
3030
export AnalyticalProblem, AbstractAnalyticalProblem
3131

3232
@doc doc"""
33+
AnalyticalAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)
3334
3435
Holds information on what variables to alias
3536
when solving an AnalyticalProblem. Conforms to the AbstractAliasSpecifier interface.
36-
`AnalyticalAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)`
3737
3838
When a keyword argument is `nothing`, the default behaviour of the solver is used.
3939

src/problems/bvp_problems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,10 @@ function TwoPointSecondOrderBVProblem(
444444
end
445445

446446
@doc doc"""
447+
BVPAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)
447448
448449
Holds information on what variables to alias
449450
when solving an BVP. Conforms to the AbstractAliasSpecifier interface.
450-
`BVPAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)`
451451
452452
When a keyword argument is `nothing`, the default behaviour of the solver is used.
453453

src/problems/dae_problems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ function ConstructionBase.constructorof(::Type{P}) where {P <: DAEProblem}
121121
end
122122

123123
@doc doc"""
124+
DAEAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)
124125
125126
Holds information on what variables to alias
126127
when solving a DAE. Conforms to the AbstractAliasSpecifier interface.
127-
`DAEAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)`
128128
129129
When a keyword argument is `nothing`, the default behaviour of the solver is used.
130130

src/problems/dde_problems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,10 +398,10 @@ function SecondOrderDDEProblem(f::DynamicalDDEFunction, args...; kwargs...)
398398
end
399399

400400
@doc doc"""
401+
DDEAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)
401402
402403
Holds information on what variables to alias
403404
when solving a DDE. Conforms to the AbstractAliasSpecifier interface.
404-
`DDEAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)`
405405
406406
When a keyword argument is `nothing`, the default behaviour of the solver is used.
407407

src/problems/discrete_problems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,10 @@ function DiscreteProblem(u0::Union{AbstractArray, Number}, tspan,
166166
end
167167

168168
@doc doc"""
169+
DiscreteAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)
169170
170171
Holds information on what variables to alias
171172
when solving a DiscreteProblem. Conforms to the AbstractAliasSpecifier interface.
172-
`DiscreteAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)`
173173
174174
When a keyword argument is `nothing`, the default behaviour of the solver is used.
175175

src/problems/implicit_discrete_problems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ function ConstructionBase.constructorof(::Type{P}) where {P <: ImplicitDiscreteP
132132
end
133133

134134
@doc doc"""
135+
ImplicitDiscreteAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)
135136
136137
Holds information on what variables to alias
137138
when solving an ODE. Conforms to the AbstractAliasSpecifier interface.
138-
`DiscreteAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)`
139139
140140
When a keyword argument is `nothing`, the default behaviour of the solver is used.
141141

src/problems/integral_problems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ struct SampledIntegralProblem{Y, X, K} <: AbstractIntegralProblem{false}
169169
end
170170

171171
@doc doc"""
172+
IntegralAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)
172173
173174
Holds information on what variables to alias
174175
when solving an IntegralProblem. Conforms to the AbstractAliasSpecifier interface.
175-
`IntegralAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)``
176176
177177
When a keyword argument is `nothing`, the default behaviour of the solver is used.
178178

src/problems/linear_problems.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,10 @@ function SymbolicIndexingInterface.set_parameter!(
144144
end
145145

146146
@doc doc"""
147+
LinearAliasSpecifier(; alias_A = nothing, alias_b = nothing, alias = nothing)
148+
147149
Holds information on what variables to alias
148150
when solving a LinearProblem. Conforms to the AbstractAliasSpecifier interface.
149-
`LinearAliasSpecifier(; alias_A = nothing, alias_b = nothing, alias = nothing)`
150151
151152
When a keyword argument is `nothing`, the default behaviour of the solver is used.
152153

src/problems/nonlinear_problems.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,9 +566,10 @@ function SymbolicIndexingInterface.set_parameter!(prob::SCCNonlinearProblem, val
566566
end
567567

568568
@doc doc"""
569+
NonlinearAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)
570+
569571
Holds information on what variables to alias when solving a `NonlinearProblem`.
570572
Conforms to the AbstractAliasSpecifier interface.
571-
`NonlinearAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)`
572573
573574
When a keyword argument is `nothing`, the default behaviour of the solver is used.
574575

src/problems/ode_problems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,10 +512,10 @@ function IncrementingODEProblem{iip}(f::IncrementingODEFunction, u0, tspan,
512512
end
513513

514514
@doc doc"""
515+
ODEAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = false, alias_du0 = false, alias_tstops = false, alias = nothing)
515516
516517
Holds information on what variables to alias
517518
when solving an ODE. Conforms to the AbstractAliasSpecifier interface.
518-
`ODEAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = false, alias_du0 = false, alias_tstops = false, alias = nothing)`
519519
520520
When a keyword argument is `nothing`, the default behaviour of the solver is used.
521521

0 commit comments

Comments
 (0)