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

call the right interpolator for HRSC/smoother.jl (!73)

* call the right interpolator
parent 236a24d5
No related branches found
No related tags found
1 merge request!73call the right interpolator for HRSC/smoother.jl
......@@ -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