跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

天体物理学 > 天体物理仪器与方法

arXiv:1108.0028 (astro-ph)
[提交于 2011年7月29日]

标题:A fast recursive coordinate bisection tree for neighbour search and gravity

作者:Emanuel Gafton, Stephan Rosswog
查看论文《A fast recursive coordinate bisection tree for neighbour search and gravity》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We introduce our new binary tree code for neighbour search and gravitational force calculations in an N-particle system. The tree is built in a "top-down" fashion by "recursive coordinate bisection" where on each tree level we split the longest side of a cell through its centre of mass. This procedure continues until the average number of particles in the lowest tree level has dropped below a prescribed value. To calculate the forces on the particles in each lowest-level cell we split the gravitational interaction into a near- and a far-field. Since our main intended applications are SPH simulations, we calculate the near-field by a direct, kernel-smoothed summation, while the far field is evaluated via a Cartesian Taylor expansion up to quadrupole order. Instead of applying the far-field approach for each particle separately, we use another Taylor expansion around the centre of mass of each lowest-level cell to determine the forces at the particle positions. Due to this "cell-cell interaction" the code performance is close to O(N) where N is the number of used particles. We describe in detail various technicalities that ensure a low memory footprint and an efficient cache use. In a set of benchmark tests we scrutinize our new tree and compare it to the "Press tree" that we have previously made ample use of. At a slightly higher force accuracy than the Press tree, our tree turns out to be substantially faster and increasingly more so for larger particle numbers. For four million particles our tree build is faster by a factor of 25 and the time for neighbour search and gravity is reduced by more than a factor of 6. In single processor tests with up to 10^8 particles we confirm experimentally that the scaling behaviour is close to O(N). The current Fortran 90 code version is OpenMP-parallel and scales excellently with the processor number (=24) of our test machine.
评论: 12 pages, 16 figures, 1 table, accepted for publication in MNRAS on July 28, 2011
主题: 天体物理仪器与方法 (astro-ph.IM); 计算物理 (physics.comp-ph)
引用方式: arXiv:1108.0028 [astro-ph.IM]
  (或者 arXiv:1108.0028v1 [astro-ph.IM] 对于此版本)
  https://doi.org/10.48550/arXiv.1108.0028
期刊参考: MNRAS 418 (2011) 770-781
相关 DOI: https://doi.org/10.1111/j.1365-2966.2011.19528.x

提交历史

来自:Emanuel Gafton
[v1] 2011年7月29日 星期五 23:23:13 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

astro-ph.IM
< 上一篇   |   下一篇 >
最新 | 近期 | 2011-07
切换浏览方式为:
astro-ph
physics.comp-ph

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站