Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Yet more tweaking of the velocity dispersion adjustment when a soluti…
Browse files Browse the repository at this point in the history
…on can't be found
  • Loading branch information
daminton committed Jan 13, 2023
1 parent 6d016be commit dd371a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fraggle/fraggle_generate.f90
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ module subroutine fraggle_generate_vel_vec(collider, nbody_system, param, lfailu
collider_local%fail_scale = collider_local%fail_scale*1.01_DP

! Bring the minimum and maximum velocities closer together for the next round
delta_v = 0.25_DP * (vmax_guess - vmin_guess)
delta_v = 0.125_DP * (vmax_guess - vmin_guess)
vmin_guess = vmin_guess + delta_v
vmax_guess = vmax_guess - delta_v
end do outer
Expand Down

0 comments on commit dd371a6

Please sign in to comment.