Skip to content

Commit dff53aa

Browse files
format
1 parent e152e20 commit dff53aa

17 files changed

+24
-23
lines changed

lib/OrdinaryDiffEqBDF/src/OrdinaryDiffEqBDF.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ import OrdinaryDiffEq: alg_order, calculate_residuals!,
99
OrdinaryDiffEqNewtonAlgorithm,
1010
AbstractController, DEFAULT_PRECS,
1111
CompiledFloats, uses_uprev,
12-
NLNewton, alg_cache, _vec, _reshape, @cache,
12+
NLNewton, alg_cache, _vec, _reshape, @cache,
1313
isfsal, full_cache, build_nlsolver,
1414
nlsolve!, nlsolvefail, isnewton,
15-
constvalue, _unwrap_val,
15+
constvalue, _unwrap_val,
1616
DIRK, set_new_W!,
17-
du_alias_or_new, trivial_limiter!,
18-
ImplicitEulerConstantCache,
17+
du_alias_or_new, trivial_limiter!,
18+
ImplicitEulerConstantCache,
1919
ImplicitEulerCache, COEFFICIENT_MULTISTEP,
2020
markfirststage!, UJacobianWrapper, mul!,
2121
issplit, qsteady_min_default, qsteady_max_default,
2222
get_current_alg_order, get_current_adaptive_order,
23-
default_controller, stepsize_controller!, step_accept_controller!,
23+
default_controller, stepsize_controller!, step_accept_controller!,
2424
step_reject_controller!, post_newton_controller!
2525
using TruncatedStacktraces, MuladdMacro, MacroTools, FastBroadcast, RecursiveArrayTools
2626
import StaticArrays: SArray, MVector, SVector, @SVector, StaticArray, MMatrix, SA

lib/OrdinaryDiffEqBDF/src/alg_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ get_current_alg_order(alg::QNDF, cache) = cache.order
2323
get_current_alg_order(alg::FBDF, cache) = cache.order
2424

2525
get_current_adaptive_order(alg::QNDF, cache) = cache.order
26-
get_current_adaptive_order(alg::FBDF, cache) = cache.order
26+
get_current_adaptive_order(alg::FBDF, cache) = cache.order

lib/OrdinaryDiffEqBDF/src/algorithms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,4 +330,4 @@ QBDF: Multistep Method
330330
331331
An alias of `QNDF` with κ=0.
332332
"""
333-
QBDF(; kwargs...) = QNDF(; kappa = tuple(0 // 1, 0 // 1, 0 // 1, 0 // 1, 0 // 1), kwargs...)
333+
QBDF(; kwargs...) = QNDF(; kappa = tuple(0 // 1, 0 // 1, 0 // 1, 0 // 1, 0 // 1), kwargs...)

lib/OrdinaryDiffEqBDF/src/bdf_caches.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,4 +655,4 @@ function alg_cache(alg::FBDF{MO}, u, rate_prototype, ::Type{uEltypeNoUnits},
655655
u_corrector, u₀, bdf_coeffs, Val(5), nconsteps, consfailcnt, tmp, atmp,
656656
terkm2, terkm1, terk, terkp1, terk_tmp, terkp1_tmp, r, weights, equi_ts,
657657
iters_from_event, alg.step_limiter!)
658-
end
658+
end

lib/OrdinaryDiffEqBDF/src/bdf_perform_step.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1342,4 +1342,4 @@ function perform_step!(integrator, cache::FBDFCache{max_order},
13421342

13431343
f(integrator.fsallast, u, p, tdt)
13441344
integrator.stats.nf += 1
1345-
end
1345+
end

lib/OrdinaryDiffEqBDF/src/bdf_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,4 +272,4 @@ function estimate_terk(integrator, cache, k, ::Val{max_order}, u) where {max_ord
272272
terk *= abs(dt^(k - 1))
273273
end
274274
return terk
275-
end
275+
end

lib/OrdinaryDiffEqBDF/src/controllers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,4 +261,4 @@ function step_accept_controller!(integrator, alg::FBDF{max_order},
261261
integrator.cache.nconsteps += 1
262262
integrator.cache.iters_from_event += 1
263263
return integrator.dt / q
264-
end
264+
end

lib/OrdinaryDiffEqSDIRK/src/OrdinaryDiffEqSDIRK.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import OrdinaryDiffEq: alg_order, calculate_residuals!,
1111
OrdinaryDiffEqAdaptiveAlgorithm, CompiledFloats, uses_uprev,
1212
alg_cache, _vec, _reshape, @cache, isfsal, full_cache,
1313
constvalue, _unwrap_val, du_alias_or_new, _ode_interpolant,
14-
markfirststage!, trivial_limiter!, _ode_interpolant!,
14+
markfirststage!, trivial_limiter!, _ode_interpolant!,
1515
UJacobianWrapper, set_new_W!, dolinsolve, get_W,
1616
build_nlsolver, nlsolve!, nlsolvefail, isnewton,
1717
COEFFICIENT_MULTISTEP, mul!, isesdirk, issplit,

lib/OrdinaryDiffEqSDIRK/src/alg_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ issplit(alg::KenCarp4) = true
5252
issplit(alg::KenCarp47) = true
5353
issplit(alg::KenCarp5) = true
5454
issplit(alg::KenCarp58) = true
55-
issplit(alg::CFNLIRK3) = true
55+
issplit(alg::CFNLIRK3) = true

lib/OrdinaryDiffEqSDIRK/src/algorithms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,4 +916,4 @@ function ESDIRK659L2SA(; chunk_size = Val{0}(), autodiff = Val{true}(),
916916
typeof(nlsolve), typeof(precs), diff_type, _unwrap_val(standardtag),
917917
_unwrap_val(concrete_jac)}(linsolve, nlsolve, precs, extrapolant,
918918
controller)
919-
end
919+
end

0 commit comments

Comments
 (0)