NMAG微磁仿真工具--软件工程经验教训
Nmag micromagnetic simulation tool - software engineering lessons learned
摘要:
我们审查的设计和开发决策及其影响的开源代码NMAG从软件工程在计算科学的角度来看。我们总结了经验教训和建议,为未来的计算科学项目。关键的经验包括将模拟功能封装在通用语言库中,这里是Python,在使用软件时提供了很大的灵活性。选择Python作为顶级用户界面受到了来自科学和工程社区的用户的好评。从源代码安装,其中所需的外部库和依赖项是从tarball编译的,非常健壮。在某些地方,代码比必要的要雄心勃勃得多,这引入了不必要的复杂性并降低了可维护性。与包一起分发的测试是有用的,尽管更多的单元测试和持续集成是可取的。详细的文档以及系统使用教程被社区视为其主要优势之一。
英文摘要:
We review design and development decisions and their impact for the open source code Nmag from a software engineering in computational science point of view. We summarise lessons learned and recommendations for future computational science projects. Key lessons include that encapsulating the simulation functionality in a library of a general purpose language, here Python, provides great flexibility in using the software. The choice of Python for the top-level user interface was very well received by users from the science and engineering community. The from-source installation in which required external libraries and dependencies are compiled from a tarball was remarkably robust. In places, the code is a lot more ambitious than necessary, which introduces unnecessary complexity and reduces main- tainability. Tests distributed with the package are useful, although more unit tests and continuous integration would have been desirable. The detailed documentation, together with a tutorial for the usage of the system, was perceived as one of its main strengths by the community.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。