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

Merge branch 'fa/fix-smoother' into 'main'

call the right interpolator for HRSC/smoother.jl

See merge request !73
parents 236a24d5 151b1231
No related branches found
No related tags found
1 merge request!73call the right interpolator for HRSC/smoother.jl
Pipeline #6032 passed
......@@ -138,7 +138,7 @@ function smooth_C0_2nd_order!(bulk_v, cell_v, mesh::Mesh1d, isperiodic=true)
v_l, v_r, v_c = cell_v[l], cell_v[r], cell_v[i]
avg_1, avg_2, avg_3 = avg(v_l, v_c), v_c, avg(v_r, v_c)
for j = 1:Nx
v[j] = lagrange_interpolation_2nd(z[j], avg_1, avg_2, avg_3)
v[j] = lagrange_interpolation_1d(z[j], avg_1, avg_2, avg_3)
end
end
......
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