From a42a613f3a1328ca0582bef19e024868fa3a3ad5 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 22 Oct 2017 15:17:07 +0800 Subject: clusters/halo: Add option "kT_out" to tune cluster temperature --- fg21sim/extragalactic/clusters/halo.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'fg21sim/extragalactic/clusters/halo.py') diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py index d3b5dd1..bf8e643 100644 --- a/fg21sim/extragalactic/clusters/halo.py +++ b/fg21sim/extragalactic/clusters/halo.py @@ -327,9 +327,7 @@ class RadioHalo: if not hasattr(self, "_tau_acceleration"): Mach = self.Mach_turbulence Rvir = helper.radius_virial(mass=self.M_main, z=self.z_merger) - kT = helper.kT_cluster(mass=self.M_main, z=self.z_merger, - radius=Rvir) # [keV] - cs = helper.speed_sound(kT) # [km/s] + cs = helper.speed_sound(self.kT_main) # [km/s] # Turbulence injection scale L0 = self.f_lturb * Rvir # [kpc] x = cs*AUC.km2cm / AC.c -- cgit v1.2.2