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

Commit

Permalink
Tweaked the noise parameter for trangential velocities.
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Sep 7, 2021
1 parent 4c64632 commit 50afb8f
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 @@ -296,7 +296,7 @@ subroutine fraggle_generate_tan_vel(frag, colliders, lfailure)
integer(I4B) :: i
real(DP), parameter :: TOL_MIN = 1e-1_DP ! This doesn't have to be very accurate, as we really just want a tangential velocity distribution with less kinetic energy than our initial guess.
real(DP), parameter :: TOL_INIT = 1e-14_DP
real(DP), parameter :: VNOISE_MAG = 1e-3_DP !! Magnitude of the noise to apply to initial conditions to help minimizer find a solution in case of failure
real(DP), parameter :: VNOISE_MAG = 1e-2_DP !! Magnitude of the noise to apply to initial conditions to help minimizer find a solution in case of failure
integer(I4B), parameter :: MAXLOOP = 10
real(DP) :: tol, ke_remainder
real(DP), dimension(:), allocatable :: v_t_initial
Expand Down

0 comments on commit 50afb8f

Please sign in to comment.