aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/extragalactic/clusters/helper.py')
-rw-r--r--fg21sim/extragalactic/clusters/helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fg21sim/extragalactic/clusters/helper.py b/fg21sim/extragalactic/clusters/helper.py
index 8d6db09..5fd25a9 100644
--- a/fg21sim/extragalactic/clusters/helper.py
+++ b/fg21sim/extragalactic/clusters/helper.py
@@ -389,7 +389,7 @@ def time_turbulence(M_main, M_sub, z=0.0, configs=CONFIGS):
# Turbulence injection scale factor
key = "extragalactic/halos/f_lturb"
f_lturb = configs.getn(key)
- R_vir = radius_virial(M_main, z) # [kpc]
+ R_vir = radius_virial(M_main+M_sub, z) # [kpc]
distance = 2*R_vir * f_lturb
vi = velocity_impact(M_main, M_sub, z) # [km/s]
uconv = AUC.kpc2km * AUC.s2Gyr # [s kpc/km] => [Gyr]