diff --git a/src/semidiscretization/semidiscretization_hyperbolic.jl b/src/semidiscretization/semidiscretization_hyperbolic.jl index c9e00a1ccd4..f983ddc7465 100644 --- a/src/semidiscretization/semidiscretization_hyperbolic.jl +++ b/src/semidiscretization/semidiscretization_hyperbolic.jl @@ -214,6 +214,10 @@ function digest_boundary_conditions(boundary_conditions::AbstractArray, mesh, so throw(ArgumentError("Please use a (named) tuple instead of an (abstract) array to supply multiple boundary conditions (to improve performance).")) end +function check_periodicity_mesh_boundary_conditions(mesh::Union{TreeMesh, StructuredMesh}, + boundary_conditions::BoundaryConditionPeriodic) +end + function check_periodicity_mesh_boundary_conditions(mesh::TreeMesh{1}, boundary_conditions) @unpack x_neg, x_pos = boundary_conditions @@ -249,6 +253,8 @@ function check_periodicity_mesh_boundary_conditions(mesh::TreeMesh{2}, end end + + function check_periodicity_mesh_boundary_conditions(mesh::StructuredMesh{2}, boundary_conditions) @unpack x_neg, x_pos, y_neg, y_pos = boundary_conditions