摘要
为通用型蒙特卡罗粒子输运程序JMCT设计了抽样工具库,通过两种技术途径提供各分布的抽样。一是针对各种常见分布提供特定抽样子程序;二是提供一个通用型的抽样子程序,可以实现任意离散分布和任意一维有限区间上连续分布的自动抽样。在设计任意一维有限区间上连续分布的自动抽样工具时利用了部分开源代码,利用其功能提供给用户最大的方便性。对抽样工具库的检验表明,其可以正确、方便地实现各种输运模拟中常见分布的抽样。
A class of sampling tools for general Monte Carlo particle transport code JMCT is designed.Two ways are provided to sample from distributions.One is the utilization of special sampling methods for special distribution;the other is the utilization of general sampling methods for arbitrary discrete distribution and one-dimensional continuous distribution on a finite interval.Some open source codes are included in the general sampling method for the maximum convenience of users.The sampling results show sampling correctly from distributions which are popular in particle transport can be achieved with these tools,and the user's convenience can be assured.
出处
《强激光与粒子束》
EI
CAS
CSCD
北大核心
2012年第12期2955-2958,共4页
High Power Laser and Particle Beams
基金
国家自然科学基金重点项目(91118001)
中国工程物理研究院院基金项目(2011A0103006)
作者简介
上官丹骅(1977-),男,博士,副研究员,从事蒙特卡罗方法应用、反常扩散理论及模拟研究;sgdh@iapcm.ac.cn。
通信作者:邓力(1960-),男,博士,研究员,从事蒙特卡罗输运方法及应用研究;deng_li@iapcm.ac.cn。