论文标题

FMMGEN:自动代码生成笛卡尔快速多台和Barnes-Hut方法的操作员

fmmgen: Automatic Code Generation of Operators for Cartesian Fast Multipole and Barnes-Hut Methods

论文作者

Pepper, Ryan Alexander, Fangohr, Hans

论文摘要

为了减少评估$ n $ body仿真评估远距离力的计算成本,Barnes-HUT和快速多极方法是广泛使用的方法。尽管如此,将现有库应用于具有较高源点(例如偶极子)的简单问题,并不是直接或有效的,因为各个库已针对特定问题进行了优化,通常可以解决一组库仑粒子的潜力和场地。在本文中,我们详细详细介绍了软件包FMMGEN的实现和测试,其中Barnes-HUT和快速的多台操作员功能用于计算计算符号来源的电势,字段或两者都可以通过符号代数生成。

The Barnes-Hut and Fast Multipole Methods are widely utilised methods applied in order to reduce the computational cost of evaluating long range forces in $N$-body simulations. Despite this, applying existing libraries to simple problems with higher order source points, such as dipoles, is not straightforward or efficient because individual libraries are optimised towards specific problems, normally solving for the potential and field of a set of Coulombic particles. In this paper we detail the implementation and testing of a software package, fmmgen, in which the source code for Barnes-Hut and Fast Multipole operator functions for calculating calculate the potential, field or both from arbitrary ordered sources is easily generated through symbolic algebra.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源