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/extragalactic/clusters/solver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fg21sim/extragalactic/clusters/solver.py') diff --git a/fg21sim/extragalactic/clusters/solver.py b/fg21sim/extragalactic/clusters/solver.py index c1f01d1..9d4a781 100644 --- a/fg21sim/extragalactic/clusters/solver.py +++ b/fg21sim/extragalactic/clusters/solver.py @@ -58,7 +58,7 @@ class FokkerPlanckSolver: u(x,t) : distribution/spectrum w.r.t. x at different times B(x,t) : advection coefficient - C(x,t) : diffusion coefficient (>=0) + C(x,t) : diffusion coefficient (>0) Q(x,t) : injection coefficient (>=0) References -- cgit v1.2.2