Skip to content

Commit

Permalink
Merge branch 'generalize_surface_normal_calc' into morris_surface_ten…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
svchb committed Jan 21, 2025
2 parents dd30511 + d64343a commit 4db3601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schemes/fluid/surface_normal_sph.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function calc_normal!(system::FluidSystem, neighbor_system::BoundarySystem, u_sy
foreach_point_neighbor(neighbor_system, system, neighbor_system_coords, system_coords,
nhs,
points=eachparticle(neighbor_system)) do particle, neighbor,
pos_diff, distance
pos_diff, distance
colorfield[particle] += hydrodynamic_mass(system, neighbor) /
particle_density(v, system, neighbor) * system.color *
smoothing_kernel(system, distance)
Expand Down

0 comments on commit 4db3601

Please sign in to comment.