aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/halo.py
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/extragalactic/clusters/halo.py')
-rw-r--r--fg21sim/extragalactic/clusters/halo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py
index 6b1d4a8..0f2c821 100644
--- a/fg21sim/extragalactic/clusters/halo.py
+++ b/fg21sim/extragalactic/clusters/halo.py
@@ -254,9 +254,9 @@ class RadioHalo:
"""
z = COSMO.redshift(t)
M_main = self.mass_main(t)
- R_vir = helper.radius_virial(M_main, z)
+ r_c = self.f_rc * helper.radius_virial(M_main, z)
r_s = self.radius_stripping(t)
- return (R_vir + r_s) / 2
+ return (r_c + r_s) / 2
@lru_cache()
def radius_stripping(self, t):