Nmag micromagnetic simulation tool - software engineering lessons learned

被引:14
作者
Fangohr, Hans [1 ]
Albert, Maximilian [1 ]
Franchin, Matteo
机构
[1] Univ Southampton, Southampton SO17 1BJ, Hants, England
来源
PROCEEDINGS OF 2016 IEEE/ACM INTERNATIONAL WORKSHOP ON SOFTWARE ENGINEERING FOR SCIENCE (SE4SCIENCE) | 2016年
基金
英国工程与自然科学研究理事会; 欧盟地平线“2020”;
关键词
Nmag; Computational Science Software Engineering; !text type='Python']Python[!/text; Finite Elements;
D O I
10.1145/2897676.2897677
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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 maintainability. 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.
引用
收藏
页码:1 / 7
页数:7
相关论文
共 15 条
[1]   magnum.fe: A micromagnetic finite-element simulation code based on FEniCS [J].
Abert, Claas ;
Exl, Lukas ;
Bruckner, Florian ;
Drews, Andre ;
Suess, Dieter .
JOURNAL OF MAGNETISM AND MAGNETIC MATERIALS, 2013, 345 :29-35
[2]  
[Anonymous], 2012, FINM FENICS BAS MICR
[3]  
Bordignon G., 2008, THESIS
[4]  
Donahue M.J., 1999, OOMMF USERS GUIDE VE
[5]  
Fangohr H, 2004, LECT NOTES COMPUT SC, V3039, P1210
[6]   A new approach to (quasi) periodic boundary conditions in micromagnetics: The macrogeometry [J].
Fangohr, Hans ;
Bordignon, Giuliano ;
Franchin, Matteo ;
Knittel, Andreas ;
de Groot, Peter A. J. ;
Fischbacher, Thomas .
JOURNAL OF APPLIED PHYSICS, 2009, 105 (07)
[7]  
Fischbacher T., 2009, ABS09071587 ARXIV
[8]   A systematic approach to multiphysics extensions of finite-element-based micromagnetic simulations: Nmag [J].
Fischbacher, Thomas ;
Franchin, Matteo ;
Bordignon, Giuliano ;
Fangohr, Hans .
IEEE TRANSACTIONS ON MAGNETICS, 2007, 43 (06) :2896-2898
[9]   Parallel execution and scriptability in micromagnetic simulations [J].
Fischbacher, Thomas ;
Franchin, Matteo ;
Bordignon, Giuliano ;
Knittel, Andreas ;
Fangohr, Hans .
JOURNAL OF APPLIED PHYSICS, 2009, 105 (07)
[10]  
Franchin M., 2009, THESIS