aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fg21sim/extragalactic/clusters/halo.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py
index bce6fd3..55c7ca0 100644
--- a/fg21sim/extragalactic/clusters/halo.py
+++ b/fg21sim/extragalactic/clusters/halo.py
@@ -641,13 +641,8 @@ class RadioHalo1M:
Advection coefficient.
Unit: [Gyr^-1]
"""
- if self._is_turb_active(t):
- # Turbulence acceleration and beyond
- advection = (abs(self._energy_loss(gamma, t)) -
- (self.fp_diffusion(gamma, t) * 2 / gamma))
- else:
- # To derive the initial electron spectrum
- advection = abs(self._energy_loss(gamma, self.t_begin))
+ advection = (abs(self._energy_loss(gamma, t)) -
+ (self.fp_diffusion(gamma, t) * 2 / gamma))
return advection
def _merger_time(self, t=None):