arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1303.2637physics.comp-phcond-mat.mtrl-sci
收藏

面向对象程序设计在激子binding energies含时密度泛函理论计算中的应用

Application of object-oriented programming in a time-dependent density-functional theory calculation of exciton binding energies

Zeng-hui Yang, Carsten A. Ullrich

摘要:

本文讨论了面向对象的编程科学计算的好处,使用我们最近的激子结合能的计算与时间相关的密度泛函理论(arXiv:1302.6972)作为一个案例研究。我们发现,一个面向对象的方法,大大方便了开发,调试和未来的扩展代码,促进代码重用。我们表明,并行性很容易添加到我们的代码中的ScaLAPACK,Boost::MPI和OpenMP的面向对象的方式。

英文摘要:

This paper discusses the benefits of object-oriented programming to scientific computing, using our recent calculations of exciton binding energies with time-dependent density-functional theory (arXiv: 1302.6972) as a case study. We find that an object-oriented approach greatly facilitates the development, the debugging, and the future extension of the code by promoting code reusing. We show that parallelism is added easily in our code in a object-oriented fashion with ScaLAPACK, Boost::MPI and OpenMP.

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

↑