From 9d1fbf8d875d4ed754cbf6894109e3379c98b0bb Mon Sep 17 00:00:00 2001
From: Aaron LI <aaronly.me@outlook.com>
Date: Sat, 7 Jan 2017 16:52:28 +0800
Subject: clusters/halo: Add missing config "buffer_np"

---
 fg21sim/configs/20-extragalactic.conf.spec | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'fg21sim/configs')

diff --git a/fg21sim/configs/20-extragalactic.conf.spec b/fg21sim/configs/20-extragalactic.conf.spec
index 5c1d3aa..633ef78 100644
--- a/fg21sim/configs/20-extragalactic.conf.spec
+++ b/fg21sim/configs/20-extragalactic.conf.spec
@@ -77,6 +77,11 @@
   # equation to calculate the electron spectrum.
   pgrid_num = integer(default=100, min=10)
 
+  # Number of grid points used as the buffer region near the lower
+  # boundary, and the value within this buffer region will be fixed to
+  # avoid unphysical pile-up of low-energy electrons.
+  buffer_np = integer(default=5, min=0)
+
   # Time step for solving the Fokker-Planck equation (unit: Gyr)
   time_step = float(default=0.01, min=1e-5, max=1.0)
 
-- 
cgit v1.2.2