Skip to content

Commit

Permalink
Use PrecomputedNeighborhoodSearch for the oscillating beam
Browse files Browse the repository at this point in the history
  • Loading branch information
efaulhaber committed Jun 24, 2024
1 parent b7ec263 commit c43c081
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/solid/oscillating_beam_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ solid_system = TotalLagrangianSPHSystem(solid, smoothing_kernel, smoothing_lengt

# ==========================================================================================
# ==== Simulation
semi = Semidiscretization(solid_system)
semi = Semidiscretization(solid_system,
neighborhood_search=PrecomputedNeighborhoodSearch{2}())
ode = semidiscretize(semi, tspan)

info_callback = InfoCallback(interval=100)
Expand Down

0 comments on commit c43c081

Please sign in to comment.