Skip to content

Commit

Permalink
slight modification according to #2123
Browse files Browse the repository at this point in the history
  • Loading branch information
warisa-r committed Oct 20, 2024
1 parent 3f2380b commit 54451f3
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function compute_PairedExplicitRK3_butcher_tableau(num_stages,
end

@doc raw"""
PairedExplicitRK3(num_stages, base_path_a_coeffs::AbstractString, dt_opt;
PairedExplicitRK3(num_stages, base_path_a_coeffs::AbstractString, dt_opt = nothing;
cS2 = 1.0f0)
PairedExplicitRK3(num_stages, tspan, semi::AbstractSemidiscretization;
verbose = false, cS2 = 1.0f0)
Expand Down Expand Up @@ -140,11 +140,12 @@ mutable struct PairedExplicitRK3 <: AbstractPairedExplicitRKSingle

a_matrix::Matrix{Float64}
c::Vector{Float64}
dt_opt::Float64
dt_opt::Union{Float64, Nothing}
end # struct PairedExplicitRK3

# Constructor for previously computed A Coeffs
function PairedExplicitRK3(num_stages, base_path_a_coeffs::AbstractString, dt_opt;
function PairedExplicitRK3(num_stages, base_path_a_coeffs::AbstractString,
dt_opt = nothing;
cS2 = 1.0f0)
a_matrix, c = compute_PairedExplicitRK3_butcher_tableau(num_stages,
base_path_a_coeffs;
Expand Down

0 comments on commit 54451f3

Please sign in to comment.