arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2010.00278physics.ins-detcond-mat.mtrl-sci
收藏

McStas(ii):组件概述、组件使用和用户贡献建议

McStas (ii): An overview of components, their use, and advice for user contributions

P. K. Willendrup, K. Lefmann

摘要:

McStas成功的一个关键因素是组件层,用户和开发人员都在为新的物理模型和功能的描述做出贡献。在McStas中,组件实现了模拟仪器的所有物理元素,从源到光学器件和样品到检测器。在McStas软件包的第二篇综述文章中,我们概述了McStas中的组件类:源、监视器、光学器件、样本、杂项和贡献。在每个组件类中,我们给出了高质量组件的详细示例,包括它们的算法和示例使用。我们提出了两个例子仪器,一个连续源和一个飞行时间源,一起演示了使用的主要组件类。最后,我们给出了提示和说明,这将允许读者编写好的组件,并阐明向McStas贡献新组件的途径。

英文摘要:

An key element of the success of McStas is the component layer where users and developers alike are contributing to the description of new physical models and features. In McStas, components realise all physical elements of the simulated instrument from source via optics and samples to detector. In this second review paper of the McStas package, we present an overview of the component classes in McStas: sources, monitors, optics, samples, misc, and contrib. Within each component class we give thorough examples of high-quality components, including their algorithms and example use. We present two example instruments, one for a continuous source and one for a time-of-flight source, that together demonstrate the use of the main component classes. Finally, we give tips and instructions that will allow the reader to write good components and elucidate the pathway of contributing new components to McStas.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑