Skip to content
Snippets Groups Projects
Verified Commit 4a7d0769 authored by Florian Atteneder's avatar Florian Atteneder
Browse files

rm whitespace

parent 96751fc6
No related branches found
No related tags found
No related merge requests found
#######################################################################
# Type #
#######################################################################
struct DraggedArtificialViscosity{T_AV<:AbstractArtificialViscosity} <: AbstractArtificialViscosity
av::T_AV
drag::Float64
end
#######################################################################
# Methods #
#######################################################################
function drag(mu, mu_m1, av::DraggedArtificialViscosity)
@. mu = (1-drag)*mu + drag*mu_m1
end
...@@ -220,7 +220,7 @@ function reconstruct!(u, flags, weno::WENOReconstruction; isperiodic::Bool=false ...@@ -220,7 +220,7 @@ function reconstruct!(u, flags, weno::WENOReconstruction; isperiodic::Bool=false
# normalize weights, (3.71) # normalize weights, (3.71)
weights ./= sum(weights, dims=1) weights ./= sum(weights, dims=1)
# reconstruct solution, (3.72) # reconstruct solution, (3.72)
fill!(tmp_uweno, 0.0) fill!(tmp_uweno, 0.0)
for idx = 1:w+1 for idx = 1:w+1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment