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

Commit

Permalink
Moved G out from sqrt
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Aug 6, 2021
1 parent 6706e16 commit a72bdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fragmentation/fragmentation.f90
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ subroutine set_scale_factors()
! Set scale factors
Escale = 0.5_DP * (mass(1) * dot_product(v(:,1), v(:,1)) + mass(2) * dot_product(v(:,2), v(:,2)))
rscale = sum(radius(:))
mscale = sqrt(Escale * rscale / param%GU)
mscale = sqrt(Escale * rscale) / param%GU
vscale = sqrt(Escale / mscale)
tscale = rscale / vscale
Lscale = mscale * rscale * vscale
Expand Down

0 comments on commit a72bdc5

Please sign in to comment.