Skip to content

Commit

Permalink
Remove empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
bennibolm committed Feb 6, 2024
1 parent cad2c0a commit af1b407
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/callbacks_stage/subcell_bounds_check.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,11 @@ function (callback::BoundsCheckCallback)(u_ode, integrator, stage)
end
end

@inline function check_bounds(u, mesh, equations, solver, cache,
volume_integral::AbstractVolumeIntegral)
return nothing
end

@inline function check_bounds(u, mesh, equations, solver, cache,
volume_integral::VolumeIntegralSubcellLimiting)
check_bounds(u, mesh, equations, solver, cache, volume_integral.limiter)
end

@inline function save_bounds_check_errors(output_directory, u, t, iter, equations,
volume_integral::AbstractVolumeIntegral)
return nothing
end

@inline function save_bounds_check_errors(output_directory, u, t, iter, equations,
volume_integral::VolumeIntegralSubcellLimiting)
save_bounds_check_errors(output_directory, u, t, iter, equations,
Expand All @@ -77,8 +67,6 @@ function init_callback(callback::BoundsCheckCallback, semi)
init_callback(callback, semi, semi.solver.volume_integral)
end

init_callback(callback::BoundsCheckCallback, semi, volume_integral::AbstractVolumeIntegral) = nothing

function init_callback(callback::BoundsCheckCallback, semi,
volume_integral::VolumeIntegralSubcellLimiting)
init_callback(callback, semi, volume_integral.limiter)
Expand Down Expand Up @@ -123,8 +111,6 @@ function finalize_callback(callback::BoundsCheckCallback, semi)
finalize_callback(callback, semi, semi.solver.volume_integral)
end

finalize_callback(callback::BoundsCheckCallback, semi, volume_integral::AbstractVolumeIntegral) = nothing

function finalize_callback(callback::BoundsCheckCallback, semi,
volume_integral::VolumeIntegralSubcellLimiting)
finalize_callback(callback, semi, volume_integral.limiter)
Expand Down

0 comments on commit af1b407

Please sign in to comment.