aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/solver.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-01-08 13:41:05 +0800
committerAaron LI <aly@aaronly.me>2017-06-01 16:33:38 +0800
commitce23ecbd28487824bbae5ae3d9f20b7781e6cd32 (patch)
tree4d8c2ef44b8e01e184c72ef085d77c3833ab1798 /fg21sim/extragalactic/clusters/solver.py
parente312e39c9821a89aaf6dc74e36022ffa4ad16fab (diff)
downloadfg21sim-ce23ecbd28487824bbae5ae3d9f20b7781e6cd32.tar.bz2
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
Diffstat (limited to 'fg21sim/extragalactic/clusters/solver.py')
-rw-r--r--fg21sim/extragalactic/clusters/solver.py2
1 files changed, 1 insertions, 1 deletions
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