BHaHAHA: A Fast, Robust Apparent Horizon Finder Library for Numerical Relativity
arXiv:2505.15912 · doi:10.1088/1361-6382/ae09e9
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 Apparent Horizon 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.
28 pages, 6 figures. Matches published version
References in corpus (42)
- Observation of Gravitational Waves from a Binary Black Hole Merger
- GW170817: Observation of Gravitational Waves from a Binary Neutron Star Inspiral
- Multi-messenger Observations of a Binary Neutron Star Merger
- GWTC-1: A Gravitational-Wave Transient Catalog of Compact Binary Mergers Observed by LIGO and Virgo during the First and Second Observing Runs
- GWTC-2: Compact Binary Coalescences Observed by LIGO and Virgo During the First Half of the Third Observing Run
- The Dynamics of General Relativity
- GWTC-3: Compact Binary Coalescences Observed by LIGO and Virgo During the Second Part of the Third Observing Run
- Accurate Evolutions of Orbiting Black-Hole Binaries Without Excision
- Properties of the Binary Black Hole Merger GW150914
- Isolated and dynamical horizons and their applications
- Evolutions in 3D numerical relativity using fixed mesh refinement
- The Einstein Toolkit: A Community Computational Infrastructure for Relativistic Astrophysics
- Numerical Relativity Using a Generalized Harmonic Decomposition
- Dynamical Horizons and their Properties
- A single-domain spectral method for black hole puncture data
- A Fast Apparent-Horizon Finder for 3-Dimensional Cartesian Grids in Numerical Relativity
- Dynamical Horizons: Energy, Angular Momentum, Fluxes and Balance Laws
- Harmonic coordinate method for simulating generic singularities
- An improved analysis of GW150914 using a fully spin-precessing waveform model
- Simple excision of a black hole in 3+1 numerical relativity
- SpECTRE: A Task-based Discontinuous Galerkin Code for Relativistic Astrophysics
- General relativistic simulations of black hole-neutron star mergers: Effects of magnetic fields
- GRChombo: An adaptable numerical relativity code for fundamental physics
- An Introduction to the Einstein Toolkit
- Numerical Relativity in Spherical Polar Coordinates: Evolution Calculations with the BSSN Formulation
- Relativistic Hydrodynamic Evolutions with Black Hole Excision
- Excision methods for high resolution shock capturing schemes applied to general relativistic hydrodynamics
- BSSN equations in spherical coordinates without regularization: vacuum and non-vacuum spherically symmetric spacetimes
- SENR/NRPy+: Numerical Relativity in Singular Curvilinear Coordinate Systems
- The Evolution of Distorted Rotating Black Holes II: Dynamics and Analysis
- Pseudo-spectral apparent horizon finders: an efficient new algorithm
- Dynamical evolution of quasi-circular binary black hole data
- Trapped surfaces
- Test-beds and applications for apparent horizon finders in numerical relativity
- A new spectral apparent horizon finder for 3D numerical relativity
- Hyperbolic Relaxation Method for Elliptic Equations
- Probing the puncture for black hole simulations
- Horizon Pretracking
- Numerical generation of vector potentials from specified magnetic fields
- Improved Moving-Puncture Techniques for Compact Binary Simulations
- NRPyElliptic: A Fast Hyperbolic Relaxation Elliptic Solver for Numerical Relativity, I: Conformally Flat, Binary Puncture Initial Data
- Revisiting the apparent horizon finding problem with multigrid methods