Skip to content

Commit 1025504

Browse files
format
1 parent 49a61f5 commit 1025504

22 files changed

+54
-75
lines changed

docs/src/interfaces/Common_Keywords.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ Note that if a method does not have adaptivity, the following rules apply:
102102
## Memory Optimizations
103103

104104
- `alias`: an `AbstractAliasSpecifier` object that holds fields specifying which variables to alias
105-
when solving. For example, to tell an ODE solver to alias the `u0` array, you can use an `ODEAliases` object,
106-
and the `alias_u0` keyword argument, e.g. `solve(prob,alias = ODEAliases(alias_u0 = true))`.
105+
when solving. For example, to tell an ODE solver to alias the `u0` array, you can use an `ODEAliases` object,
106+
and the `alias_u0` keyword argument, e.g. `solve(prob,alias = ODEAliases(alias_u0 = true))`.
107107
For more information on what can be aliased for each problem type, see the documentation for the `AbstractAliasSpecifier`
108108
associated with that problem type. Set to `true` to alias every variable possible, or to `false` to disable aliasing.
109109
Defaults to an `AbstractAliasSpecifier` instance with `nothing` for all fields, which tells the solver to use the default behavior.

src/problems/analytical_problems.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ end
2929

3030
export AnalyticalProblem, AbstractAnalyticalProblem
3131

32-
3332
@doc doc"""
3433
3534
Holds information on what variables to alias
@@ -66,5 +65,3 @@ struct AnalyticalAliasSpecifier <: AbstractAliasSpecifier
6665
end
6766
end
6867
end
69-
70-

src/problems/bvp_problems.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,3 @@ struct BVPAliasSpecifier <: AbstractAliasSpecifier
474474
end
475475
end
476476
end
477-
478-
479-

src/problems/dae_problems.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,3 @@ struct DAEAliasSpecifier
155155
end
156156
end
157157
end
158-
159-
160-

src/problems/dde_problems.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@ function SecondOrderDDEProblem(f::DynamicalDDEFunction, args...; kwargs...)
397397
end
398398
end
399399

400-
401400
@doc doc"""
402401
403402
Holds information on what variables to alias
@@ -432,5 +431,3 @@ struct DDEAliasSpecifier
432431
end
433432
end
434433
end
435-
436-

src/problems/implicit_discrete_problems.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ When a keyword argument is `nothing`, the default behaviour of the solver is use
136136
137137
"""
138138
struct ImplicitDiscreteAliasSpecifier
139-
alias_p::Union{Bool,Nothing}
139+
alias_p::Union{Bool, Nothing}
140140
alias_f::Union{Bool, Nothing}
141141
alias_u0::Union{Bool, Nothing}
142142

@@ -152,5 +152,3 @@ struct ImplicitDiscreteAliasSpecifier
152152
end
153153
end
154154
end
155-
156-

src/problems/integral_problems.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,5 +196,3 @@ struct IntegralAliasSpecifier <: AbstractAliasSpecifier
196196
end
197197
end
198198
end
199-
200-

src/problems/linear_problems.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ Creates a `LinearAliasSpecifier` where `alias_A` and `alias_b` default to `nothi
9494
When `alias_A` or `alias_b` is nothing, the default value of the solver is used.
9595
"""
9696
struct LinearAliasSpecifier <: AbstractAliasSpecifier
97-
alias_A::Union{Bool,Nothing}
98-
alias_b::Union{Bool,Nothing}
97+
alias_A::Union{Bool, Nothing}
98+
alias_b::Union{Bool, Nothing}
9999

100100
function LinearAliasSpecifier(; alias_A = nothing, alias_b = nothing, alias = nothing)
101101
if alias == true
@@ -107,5 +107,3 @@ struct LinearAliasSpecifier <: AbstractAliasSpecifier
107107
end
108108
end
109109
end
110-
111-

src/problems/nonlinear_problems.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -566,9 +566,9 @@ When a keyword argument is `nothing`, the default behaviour of the solver is use
566566
"""
567567

568568
struct NonlinearAliasSpecifier <: AbstractAliasSpecifier
569-
alias_p::Union{Bool,Nothing}
570-
alias_f::Union{Bool,Nothing}
571-
alias_u0::Union{Bool,Nothing}
569+
alias_p::Union{Bool, Nothing}
570+
alias_f::Union{Bool, Nothing}
571+
alias_u0::Union{Bool, Nothing}
572572

573573
function NonlinearAliasSpecifier(;
574574
alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias = nothing)
@@ -581,4 +581,3 @@ struct NonlinearAliasSpecifier <: AbstractAliasSpecifier
581581
end
582582
end
583583
end
584-

src/problems/ode_problems.jl

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -530,11 +530,11 @@ When a keyword argument is `nothing`, the default behaviour of the solver is use
530530
531531
"""
532532
struct ODEAliasSpecifier <: AbstractAliasSpecifier
533-
alias_p::Union{Bool,Nothing}
534-
alias_f::Union{Bool,Nothing}
535-
alias_u0::Union{Bool,Nothing}
536-
alias_du0::Union{Bool,Nothing}
537-
alias_tstops::Union{Bool,Nothing}
533+
alias_p::Union{Bool, Nothing}
534+
alias_f::Union{Bool, Nothing}
535+
alias_u0::Union{Bool, Nothing}
536+
alias_du0::Union{Bool, Nothing}
537+
alias_tstops::Union{Bool, Nothing}
538538

539539
function ODEAliasSpecifier(; alias_p = nothing, alias_f = nothing, alias_u0 = nothing,
540540
alias_du0 = nothing, alias_tstops = nothing, alias = nothing)
@@ -547,4 +547,3 @@ struct ODEAliasSpecifier <: AbstractAliasSpecifier
547547
end
548548
end
549549
end
550-

0 commit comments

Comments
 (0)