基于树的朋友圈星系探测器性能改进及其在星系形成高分辨率模拟中的应用
Performance Enhancement of Tree-based Friends-of-friend Galaxy-finder for High-resolution Simulations of Galaxy Formation
摘要:
宇宙学模拟是研究星系演化的有效工具,从原始模拟数据中准确识别星系及其晕是至关重要的。朋友的朋友(FoF)算法已被广泛采用,因为它的简单性和可扩展性更高的维度。然而,当应用于高分辨率模拟时,它是成本效率低下的,因为标准FoF实现导致在密集区域中进行太多的距离计算。我们通过在NewHorizon模拟(Dubois et al. 2021)上应用6维(6D)FoF星系发现者代码Vciraptor(Elahi et al. 2019)的练习证实了这一点。NewHorizon($M_{\rm star} \sim 10^4 M_{\odot}$)的高粒子分辨率允许典型星系的大中心数密度($10^{6}\,{\rm kpc}^{-3}$),导致仅一个快照的星系搜索数天到数周。更糟糕的是,我们观察到在高维6D搜索中FoF性能的显著下降:“维数灾难”问题。为了克服这些问题,我们开发了几种实现,可以轻松应用于任何基于树的FoF代码。它们包括限制对树节点的访问,重新排序用于搜索邻居粒子的粒子列表,以及改变树结构。与使用原始代码的运行相比,使用这些实现的新运行导致具有理想性能的相同星系检测,$O(N \log{N})$,$N$是星系中的粒子数-在3D搜索中速度增益为2700倍,在6D FoF搜索中速度增益为12倍。
英文摘要:
Cosmological simulations are useful tools for studying the evolution of galaxies, and it is critical to accurately identify galaxies and their halos from raw simulation data. The friends-of-friend (FoF) algorithm has been widely adopted for this purpose because of its simplicity and expandability to higher dimensions. However, it is cost-inefficient when applied to high-resolution simulations because standard FoF implementation leads to too many distance calculations in dense regions. We confirm this through our exercise of applying the 6-dimensional (6D) FoF galaxy finder code, VELOCIraptor (Elahi et al. 2019), on the NewHorizon simulation (Dubois et al. 2021). The high particle resolution of NewHorizon ($M_{\rm star} \sim 10^4 M_{\odot}$) allows a large central number density ($10^{6}\,{\rm kpc}^{-3}$) for typical galaxies, resulting in a few days to weeks of galaxy searches for just one snapshot. Even worse, we observed a significant decrease in the FoF performance in the high-dimensional 6D searches: "the curse of dimensionality" problem. To overcome these issues, we have developed several implementations that can be readily applied to any tree-based FoF code. They include limiting visits to tree nodes, re-ordering the list of particles for searching neighbor particles, and altering the tree structure. Compared to the run with the original code, the new run with these implementations results in the identical galaxy detection with the ideal performance, $O(N \log{N})$, $N$ being the number of particles in a galaxy -- with a speed gain of a factor of 2700 in 3D or 12 in 6D FoF search.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。