aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-01-07 16:52:28 +0800
committerAaron LI <aly@aaronly.me>2017-06-01 16:33:38 +0800
commit9d1fbf8d875d4ed754cbf6894109e3379c98b0bb (patch)
tree0ac2a221d10ac22e340d6c5f0f5f9bb550dd7ce7 /fg21sim/extragalactic/clusters
parenta154d19d38fc0b693184ac1b2edbd0565fdcec55 (diff)
downloadfg21sim-9d1fbf8d875d4ed754cbf6894109e3379c98b0bb.tar.bz2
clusters/halo: Add missing config "buffer_np"
Diffstat (limited to 'fg21sim/extragalactic/clusters')
-rw-r--r--fg21sim/extragalactic/clusters/halo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py
index 26ff6de..072cdff 100644
--- a/fg21sim/extragalactic/clusters/halo.py
+++ b/fg21sim/extragalactic/clusters/halo.py
@@ -98,6 +98,7 @@ class HaloSingle:
self.pmin = self.configs.getn(comp+"/pmin")
self.pmax = self.configs.getn(comp+"/pmax")
self.pgrid_num = self.configs.getn(comp+"/pgrid_num")
+ self.buffer_np = self.configs.getn(comp+"/buffer_np")
self.time_step = self.configs.getn(comp+"/time_step")
self.injection_index = self.configs.getn(comp+"/injection_index")
# Cosmology model
@@ -121,6 +122,7 @@ class HaloSingle:
fpsolver = FokkerPlanckSolver(
xmin=self.pmin, xmax=self.pmax,
grid_num=self.pgrid_num,
+ buffer_np=self.buffer_np,
tstep=self.time_step,
f_advection=self.fp_advection,
f_diffusion=self.fp_diffusion,