BHaHAHA: a fast, robust apparent horizon finder library for numerical relativity

IF 3.7 3区 物理与天体物理 Q2 ASTRONOMY & ASTROPHYSICS
Zachariah B Etienne, Thiago Assumpção, Leonardo Rosa Werneck and Samuel D Tootle
{"title":"BHaHAHA: a fast, robust apparent horizon finder library for numerical relativity","authors":"Zachariah B Etienne, Thiago Assumpção, Leonardo Rosa Werneck and Samuel D Tootle","doi":"10.1088/1361-6382/ae09e9","DOIUrl":null,"url":null,"abstract":"Apparent horizon (AH) finders are essential for characterizing black holes and excising their interiors in numerical relativity (NR) simulations. However, open-source AH finders to date are tightly coupled to individual NR codes. We introduce BHaHAHA, the BlackHoles@Home AH Algorithm, the first open-source, infrastructure-agnostic library for AH finding in NR. BHaHAHA implements the first-ever hyperbolic flow-based approach, recasting the elliptic partial differential equation for a marginally outer trapped surface as a damped nonlinear wave equation. To enhance performance, BHaHAHA incorporates a multigrid-inspired refinement strategy, an over-relaxation technique, and OpenMP parallelization. When compared to a naïve hyperbolic relaxation implementation, these enhancements result in 64x speedups for difficult common-horizon finds on a single spacetime slice, enabling BHaHAHA to achieve runtimes within 10% of the widely used (single-core) AHFinderDirect and outperform it on multiple cores. For dynamic horizon tracking with typical core counts on a high-performance-computing cluster, BHaHAHA is approximately 2.1 times faster than AHFinderDirect at accuracies limited by interpolation of metric data from the host NR code. Implemented and tested in both the Einstein Toolkit and BlackHoles@Home, BHaHAHA demonstrates that hyperbolic relaxation can be a robust, versatile, and performant approach for AH finding.","PeriodicalId":10282,"journal":{"name":"Classical and Quantum Gravity","volume":"21 1","pages":""},"PeriodicalIF":3.7000,"publicationDate":"2026-04-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Classical and Quantum Gravity","FirstCategoryId":"101","ListUrlMain":"https://doi.org/10.1088/1361-6382/ae09e9","RegionNum":3,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ASTRONOMY & ASTROPHYSICS","Score":null,"Total":0}
引用次数: 0

Abstract

Apparent horizon (AH) finders are essential for characterizing black holes and excising their interiors in numerical relativity (NR) simulations. However, open-source AH finders to date are tightly coupled to individual NR codes. We introduce BHaHAHA, the BlackHoles@Home AH Algorithm, the first open-source, infrastructure-agnostic library for AH finding in NR. BHaHAHA implements the first-ever hyperbolic flow-based approach, recasting the elliptic partial differential equation for a marginally outer trapped surface as a damped nonlinear wave equation. To enhance performance, BHaHAHA incorporates a multigrid-inspired refinement strategy, an over-relaxation technique, and OpenMP parallelization. When compared to a naïve hyperbolic relaxation implementation, these enhancements result in 64x speedups for difficult common-horizon finds on a single spacetime slice, enabling BHaHAHA to achieve runtimes within 10% of the widely used (single-core) AHFinderDirect and outperform it on multiple cores. For dynamic horizon tracking with typical core counts on a high-performance-computing cluster, BHaHAHA is approximately 2.1 times faster than AHFinderDirect at accuracies limited by interpolation of metric data from the host NR code. Implemented and tested in both the Einstein Toolkit and BlackHoles@Home, BHaHAHA demonstrates that hyperbolic relaxation can be a robust, versatile, and performant approach for AH finding.
BHaHAHA:一个快速、健壮的视地平仪库,用于数值相对论
在数值相对论(NR)模拟中,视视界(AH)探测器是表征黑洞和切除黑洞内部的关键。然而,迄今为止,开源AH查找器与单个NR代码紧密耦合。我们介绍了BHaHAHA, BlackHoles@Home AH算法,这是第一个用于在NR中查找AH的开源、基础设施无关的库。BHaHAHA实现了有史以来第一个基于双曲流的方法,将边缘外捕获表面的椭圆偏微分方程重定向为阻尼非线性波动方程。为了提高性能,BHaHAHA结合了多网格优化策略、过度松弛技术和OpenMP并行化。与naïve双曲松弛实现相比,这些增强在单个时空片上对困难的公共视界查找进行64倍的加速,使BHaHAHA能够在广泛使用的(单核)AHFinderDirect的10%内实现运行时间,并在多核上优于它。对于在高性能计算集群上具有典型核心计数的动态水平跟踪,在受主机NR代码的度量数据插值限制的精度下,BHaHAHA比AHFinderDirect快约2.1倍。在Einstein Toolkit和BlackHoles@Home中实现和测试,BHaHAHA证明了双曲松弛可以是一种健壮、通用和高性能的AH查找方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Classical and Quantum Gravity
Classical and Quantum Gravity 物理-天文与天体物理
CiteScore
7.00
自引率
8.60%
发文量
301
审稿时长
2-4 weeks
期刊介绍: Classical and Quantum Gravity is an established journal for physicists, mathematicians and cosmologists in the fields of gravitation and the theory of spacetime. The journal is now the acknowledged world leader in classical relativity and all areas of quantum gravity.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书