Skip to content

Commit

Permalink
fix allocations in wall bc
Browse files Browse the repository at this point in the history
  • Loading branch information
ranocha committed May 21, 2021
1 parent 6abecb2 commit 875ad6c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/equations/compressible_euler_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,6 @@ velocity of the the exterior fictitious element to the negative of the internal
normal = normal_direction / norm(normal_direction)

# compute the normal and tangential components of the velocity
u_tangent = zeros(eltype(normal), 2)
u_normal = normal[1] * u_internal[2] + normal[2] * u_internal[3]
u_tangent = (u_internal[2] - u_normal * normal[1], u_internal[3] - u_normal * normal[2])

Expand Down

0 comments on commit 875ad6c

Please sign in to comment.