From 749a5059264b9b6414ab37ec25d989221c7a3602 Mon Sep 17 00:00:00 2001 From: Daniel_Doehring Date: Wed, 6 Nov 2024 14:50:45 +0100 Subject: [PATCH] typos --- examples/tree_1d_dgsem/elixir_hypdiff_nonperiodic_perk4.jl | 2 +- .../paired_explicit_runge_kutta/methods_PERK4.jl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/tree_1d_dgsem/elixir_hypdiff_nonperiodic_perk4.jl b/examples/tree_1d_dgsem/elixir_hypdiff_nonperiodic_perk4.jl index 676cc2a9da6..2bbf930932c 100644 --- a/examples/tree_1d_dgsem/elixir_hypdiff_nonperiodic_perk4.jl +++ b/examples/tree_1d_dgsem/elixir_hypdiff_nonperiodic_perk4.jl @@ -44,7 +44,7 @@ analysis_callback = AnalysisCallback(semi, interval = analysis_interval) alive_callback = AliveCallback(analysis_interval = analysis_interval) -# Construct third order paired explicit Runge-Kutta method with 8 stages for given simulation setup. +# Construct fourth order paired explicit Runge-Kutta method with 11 stages for given simulation setup. # Pass `tspan` to calculate maximum time step allowed for the bisection algorithm used # in calculating the polynomial coefficients in the ODE algorithm. ode_algorithm = Trixi.PairedExplicitRK4(11, tspan, semi) diff --git a/src/time_integration/paired_explicit_runge_kutta/methods_PERK4.jl b/src/time_integration/paired_explicit_runge_kutta/methods_PERK4.jl index dcce0409924..0a2c38878e1 100644 --- a/src/time_integration/paired_explicit_runge_kutta/methods_PERK4.jl +++ b/src/time_integration/paired_explicit_runge_kutta/methods_PERK4.jl @@ -105,6 +105,8 @@ end cS3 = 1.0f0) PairedExplicitRK4(num_stages, tspan, semi::AbstractSemidiscretization; verbose = false, cS3 = 1.0f0) + PairedExplicitRK4(num_stages, tspan, eig_vals::Vector{ComplexF64}; + verbose = false, cS3 = 1.0f0) Parameters: - `num_stages` (`Int`): Number of stages in the paired explicit Runge-Kutta (P-ERK) method.