Skip to content

Commit b420a7b

Browse files
committed
update docstrings
1 parent dcd70ef commit b420a7b

15 files changed

+47
-18
lines changed

src/problems/analytical_problems.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,14 @@ end
4141
4242
Holds information on what variables to alias
4343
when solving an AnalyticalProblem. Conforms to the AbstractAliasSpecifier interface.
44-
AnalyticalAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)
44+
`AnalyticalAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)`
4545
46+
When a keyword argument is `nothing`, the default behaviour of the solver is used.
47+
4648
### Keywords
4749
* `alias_p::Union{Bool, Nothing}`
4850
* `alias_f::Union{Bool, Nothing}`
49-
* `alias_u0::Union{Bool, Nothing}`: alias the u0 array. Defaults to false .
51+
* `alias_u0::Union{Bool, Nothing}`: alias the u0 array.
5052
* `alias_du0::Union{Bool, Nothing}`: alias the du0 array for DAEs. Defaults to false.
5153
* `alias_tstops::Union{Bool, Nothing}`: alias the tstops array
5254
* `alias::Union{Bool, Nothing}`: sets all fields of the `AnalyticalAliasSpecifier` to `alias`

src/problems/bvp_problems.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,9 @@ end
453453
454454
Holds information on what variables to alias
455455
when solving an BVP. Conforms to the AbstractAliasSpecifier interface.
456-
BVPAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)
456+
`BVPAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)`
457+
458+
When a keyword argument is `nothing`, the default behaviour of the solver is used.
457459
458460
### Keywords
459461
* `alias_p::Union{Bool, Nothing}`

src/problems/dae_problems.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ end
134134
135135
Holds information on what variables to alias
136136
when solving a DAE. Conforms to the AbstractAliasSpecifier interface.
137-
DAEAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)
137+
`DAEAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)`
138+
139+
When a keyword argument is `nothing`, the default behaviour of the solver is used.
138140
139141
### Keywords
140142
* `alias_p::Union{Bool, Nothing}`

src/problems/dde_problems.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,9 @@ end
409409
410410
Holds information on what variables to alias
411411
when solving a DDE. Conforms to the AbstractAliasSpecifier interface.
412-
DDEAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)
412+
`DDEAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing)`
413+
414+
When a keyword argument is `nothing`, the default behaviour of the solver is used.
413415
414416
### Keywords
415417
* `alias_p::Union{Bool, Nothing}`

src/problems/discrete_problems.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,9 @@ end
165165
166166
Holds information on what variables to alias
167167
when solving a DiscreteProblem. Conforms to the AbstractAliasSpecifier interface.
168-
DiscreteAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)
168+
`DiscreteAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)`
169+
170+
When a keyword argument is `nothing`, the default behaviour of the solver is used.
169171
170172
### Keywords
171173
* `alias_p::Union{Bool, Nothing}`

src/problems/implicit_discrete_problems.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ end
131131
132132
Holds information on what variables to alias
133133
when solving an ODE. Conforms to the AbstractAliasSpecifier interface.
134-
DiscreteAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)
134+
`DiscreteAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)`
135+
136+
When a keyword argument is `nothing`, the default behaviour of the solver is used.
135137
136138
### Keywords
137139
* `alias_p::Union{Bool, Nothing}`

src/problems/integral_problems.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,9 @@ end
177177
178178
Holds information on what variables to alias
179179
when solving an IntegralProblem. Conforms to the AbstractAliasSpecifier interface.
180-
IntegralAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)
180+
`IntegralAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)``
181+
182+
When a keyword argument is `nothing`, the default behaviour of the solver is used.
181183
182184
### Keywords
183185
* `alias_p::Union{Bool, Nothing}`

src/problems/linear_problems.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,11 @@ struct LinearAliasSpecifier <: AbstractAliasSpecifier
8383
end
8484

8585
@doc doc"""
86-
Holds information on what variables to alias
86+
Holds information on what variables to alias
8787
when solving a LinearProblem. Conforms to the AbstractAliasSpecifier interface.
88+
`LinearAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_A = nothing, alias_b = nothing, alias = nothing)`
89+
90+
When a keyword argument is `nothing`, the default behaviour of the solver is used.
8891
8992
### Keywords
9093

src/problems/nonlinear_problems.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -558,15 +558,17 @@ struct NonlinearAliasSpecifier <: AbstractAliasSpecifier
558558
end
559559

560560
@doc doc"""
561-
Holds information on what variables to alias when solving a `NonlinearProblem`.
561+
Holds information on what variables to alias when solving a `NonlinearProblem`.
562562
Conforms to the AbstractAliasSpecifier interface.
563+
`NonlinearAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)`
564+
565+
When a keyword argument is `nothing`, the default behaviour of the solver is used.
563566
564567
### Keywords
565568
566569
* `alias_p::Union{Bool, Nothing}`
567570
* `alias_f::Union{Bool, Nothing}`
568-
* `alias_A::Union{Bool, Nothing}`: alias the `A` array.
569-
* `alias_b::Union{Bool, Nothing}`: alias the `b` array.
571+
* `alias_u0::Union{Bool, Nothing}`: alias the `u0` array.
570572
* `alias::Union{Bool, Nothing}`: sets all fields of the `NonlinearAliasSpecifier` to `alias`.
571573
"""
572574
function NonlinearAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)

src/problems/ode_problems.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,9 @@ end
525525
526526
Holds information on what variables to alias
527527
when solving an ODE. Conforms to the AbstractAliasSpecifier interface.
528-
ODEAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = false, alias_du0 = false, alias_tstops = false, alias = nothing)
528+
`ODEAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_u0 = false, alias_du0 = false, alias_tstops = false, alias = nothing)`
529+
530+
When a keyword argument is `nothing`, the default behaviour of the solver is used.
529531
530532
### Keywords
531533
* `alias_p::Union{Bool, Nothing}`

0 commit comments

Comments
 (0)