From 43db4ac60cbdb8939f6b94e958986238cb370842 Mon Sep 17 00:00:00 2001 From: Joshua Lampert Date: Wed, 6 Mar 2024 20:56:12 +0100 Subject: [PATCH] update comments mentioning paper --- src/equations/bbm_bbm_variable_bathymetry_1d.jl | 7 +++---- src/equations/svaerd_kalisch_1d.jl | 5 ++++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/equations/bbm_bbm_variable_bathymetry_1d.jl b/src/equations/bbm_bbm_variable_bathymetry_1d.jl index 729d24e0..9089ad8d 100644 --- a/src/equations/bbm_bbm_variable_bathymetry_1d.jl +++ b/src/equations/bbm_bbm_variable_bathymetry_1d.jl @@ -176,10 +176,9 @@ function create_cache(mesh, end # Discretization that conserves the mass (for eta and v) and the energy for periodic boundary conditions, see -# - Hendrik Ranocha, Dimitrios Mitsotakis and David I. Ketcheson (2020) -# A Broad Class of Conservative Numerical Methods for Dispersive Wave Equations -# [DOI: 10.4208/cicp.OA-2020-0119](https://doi.org/10.4208/cicp.OA-2020-0119) -# Here, adapted for spatially varying bathymetry. +# - Joshua Lampert and Hendrik Ranocha (2024) +# Structure-Preserving Numerical Methods for Two Nonlinear Systems of Dispersive Wave Equations +# [DOI: 10.48550/arXiv.2402.16669](https://doi.org/10.48550/arXiv.2402.16669) function rhs!(du_ode, u_ode, t, mesh, equations::BBMBBMVariableEquations1D, initial_condition, ::BoundaryConditionPeriodic, source_terms, solver, cache) diff --git a/src/equations/svaerd_kalisch_1d.jl b/src/equations/svaerd_kalisch_1d.jl index c2daa136..19cdae03 100644 --- a/src/equations/svaerd_kalisch_1d.jl +++ b/src/equations/svaerd_kalisch_1d.jl @@ -197,7 +197,10 @@ function create_cache(mesh, tmp1 = tmp1, tmp2 = tmp2, D1_central = D1_central, D1 = solver.D1) end -# Discretization that conserves the mass (for eta and v) and is energy-bounded for periodic boundary conditions +# Discretization that conserves the mass (for eta and for flat bottom hv) and the energy for periodic boundary conditions, see +# - Joshua Lampert and Hendrik Ranocha (2024) +# Structure-Preserving Numerical Methods for Two Nonlinear Systems of Dispersive Wave Equations +# [DOI: 10.48550/arXiv.2402.16669](https://doi.org/10.48550/arXiv.2402.16669) function rhs!(du_ode, u_ode, t, mesh, equations::SvaerdKalischEquations1D, initial_condition, ::BoundaryConditionPeriodic, source_terms, solver, cache)