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

Commit

Permalink
Changed the number of inner loops in Fraggle to keep rotation from ge…
Browse files Browse the repository at this point in the history
…tting too large
  • Loading branch information
daminton committed Feb 2, 2023
1 parent 512b083 commit 62aedd2
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 @@ -506,7 +506,7 @@ module subroutine fraggle_generate_vel_vec(collider, nbody_system, param, lfailu
real(DP) :: vmin_guess = 1.01_DP
real(DP) :: vmax_guess
real(DP) :: delta_v, GC
integer(I4B), parameter :: MAXLOOP = 50
integer(I4B), parameter :: MAXLOOP = 10
integer(I4B), parameter :: MAXTRY = 100
real(DP), parameter :: MAX_REDUCTION_RATIO = 0.1_DP ! Ratio of difference between first and second fragment mass to remove from the largest fragment in case of a failure
real(DP), parameter :: ROT_MAX_FRAC = 0.001_DP !! Fraction of difference between current rotation and maximum to add when angular momentum budget gets too high
Expand Down

0 comments on commit 62aedd2

Please sign in to comment.