Skip to content

Commit

Permalink
Update src/schemes/boundary/open_boundary/method_of_characteristics.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com>
  • Loading branch information
svchb and efaulhaber authored Nov 15, 2024
1 parent d8d6d4b commit aa53a4d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ function evaluate_characteristics!(system, v, u, v_ode, u_ode, semi, t)
characteristics[2, particle] = avg_J2 / counter
characteristics[3, particle] = avg_J3 / counter
else
characteristics[1, particle] = 0.0
characteristics[2, particle] = 0.0
characteristics[3, particle] = 0.0
characteristics[1, particle] = 0
characteristics[2, particle] = 0
characteristics[3, particle] = 0
end
else
characteristics[1, particle] /= volume[particle]
Expand Down

0 comments on commit aa53a4d

Please sign in to comment.