Skip to content

Commit

Permalink
Fix for 2 bar contact problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
lxmota committed Feb 6, 2025
1 parent 6015a56 commit db276f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function advance_time(sim::MultiDomainSimulation)
final_time = sim.schwarz_controller.final_time
initial_time = sim.schwarz_controller.initial_time
num_stops = sim.schwarz_controller.num_stops
next_time = (final_time - initial_time) * Float64(stop) / Float64(num_stops - 1) + initial_time
next_time = round((final_time - initial_time) * Float64(stop) / Float64(num_stops - 1) + initial_time, digits=12)
sim.schwarz_controller.time = next_time
sim.schwarz_controller.stop = stop
end
Expand Down

0 comments on commit db276f1

Please sign in to comment.