From e7026fc9663513867e090d220a4076c121a3e657 Mon Sep 17 00:00:00 2001 From: YiHui Liu Date: Fri, 29 Apr 2022 19:23:13 +0800 Subject: [PATCH] change: auto.mac --- auto.mac | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/auto.mac b/auto.mac index 7050df3..6967056 100644 --- a/auto.mac +++ b/auto.mac @@ -1,5 +1,5 @@ # 多线程设置 -/run/numberOfThreads 4 +/run/numberOfThreads 12 # verbose /control/verbose 1 @@ -13,7 +13,7 @@ # 定义 scoring 网格 /score/create/boxMesh water_box /score/mesh/boxSize 319. 315. 277.5 mm -/score/mesh/nBin 50 50 40 +/score/mesh/nBin 1 1 555 # 定义需要获取的物理量与过滤器 # 过滤器,本例需要考虑次级粒子 @@ -25,8 +25,26 @@ # 发射粒子 /gun/particle gamma /gun/energy 1 MeV -/run/beamOn 50000 +/run/beamOn 100000 # 保存数据 -/score/dumpQuantityToFile water_box eDep eDep.txt -/score/dumpQuantityToFile water_box Dose Dose.txt +/score/dumpQuantityToFile water_box eDep eDep_1.txt +/score/dumpQuantityToFile water_box Dose Dose_1.txt + +# 发射粒子 +/gun/particle gamma +/gun/energy 5 MeV +/run/beamOn 100000 + +# 保存数据 +/score/dumpQuantityToFile water_box eDep eDep_5.txt +/score/dumpQuantityToFile water_box Dose Dose_5.txt + +# 发射粒子 +/gun/particle gamma +/gun/energy 10 MeV +/run/beamOn 100000 + +# 保存数据 +/score/dumpQuantityToFile water_box eDep eDep_10.txt +/score/dumpQuantityToFile water_box Dose Dose_10.txt