From ce23ecbd28487824bbae5ae3d9f20b7781e6cd32 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 8 Jan 2017 13:41:05 +0800 Subject: halo.py: Force a minimal value on acceleration coefficient To avoid the too small (or zero) values for the diffusion coefficient of the Fokker-Planck equation. Also change config "extragalactic/halo/pmax" from 1e4 to 1e5 --- fg21sim/configs/20-extragalactic.conf.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fg21sim/configs/20-extragalactic.conf.spec') diff --git a/fg21sim/configs/20-extragalactic.conf.spec b/fg21sim/configs/20-extragalactic.conf.spec index 633ef78..de6dbeb 100644 --- a/fg21sim/configs/20-extragalactic.conf.spec +++ b/fg21sim/configs/20-extragalactic.conf.spec @@ -71,7 +71,7 @@ # Minimum and maximum Lorentz factor (i.e., energy) of the relativistic # electron spectrum. pmin = float(default=1.0) - pmax = float(default=1e4) + pmax = float(default=1e5) # Number of points for the grid used during solving the Fokker-Planck # equation to calculate the electron spectrum. -- cgit v1.2.2