change: auto.mac

This commit is contained in:
liuyihui 2022-04-29 19:23:13 +08:00
parent de0caaaae0
commit e7026fc966
1 changed files with 23 additions and 5 deletions

View File

@ -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