1#ifndef APPARENT_HORIZON_FINDER_MERGER_ORCHESTRATION_H_
2#define APPARENT_HORIZON_FINDER_MERGER_ORCHESTRATION_H_
std::optional< AHCommonHorizonValidation > ValidateBinaryMergerCommonHorizon(const AHBinaryMergerOptions &options, const AHBinaryMergerPlan &plan, const AHMultiHorizonResult &horizons)
Validate the common result of an executed plan as the catalogue does: the reconstructed components ar...
void ValidateAHBinaryMergerOptions(const AHBinaryMergerOptions &options)
AHBinaryMergerResult FindBinaryMergerHorizons(const GridData &gridData, const AHBinaryMergerOptions &options)
Build the plan, execute it with the ordinary multi-horizon machinery and validate the common result.
void CheckCommonHorizonOfBBH(const AHGuess &initialAHGuess, const ReferencePoint &referencePoint, const std::vector< double > &masses, bool &enableCommonHorizon, ReferencePoint &commonReferencePoint, double &commonMass, AHGuess &commonAHGuesses)
Determine whether a common-horizon search should be triggered for a binary-black-hole setup.
AHBinaryMergerPlan BuildBinaryMergerPlan(const AHBinaryMergerOptions &options)
Build the deterministic common-first search plan without accessing grid data.
One known member of a binary system and its ordered individual-AH retries.
Opt-in binary-merger planning plus the shared numerical search options.
double searchMarginPerMass
The common search is planned when the gap between the components' first initial surfaces is at most s...
std::array< AHBinaryComponent, 2 > components
SpectralNewtonOptions solver
std::string commonHorizonId
std::vector< double > commonRadiusFactors
Multipliers applied to the smallest enclosing common coordinate sphere.
AHCommonHorizonValidationOptions validation
Applied to the common result; see ValidateCommonHorizon.
CartesianToSurfaceOptions interpolation
Documented trigger/preconditioning diagnostics and the generated plan.
double surfaceGap
separation minus both facing radii; negative when the surfaces overlap.
double enclosingInitialRadius
std::array< double, 2 > facingRadii
AHMultiHorizonOptions search
ReferencePoint commonReferencePoint
AHMultiHorizonResult horizons
std::optional< AHCommonHorizonValidation > commonValidation
Validation of the common result; empty when no common search ran.
One physical horizon and its ordered alternative guesses.
Shared numerical configuration for any number of physical targets.
Aggregate result without collapsing partial success into one boolean.
Pointwise Cartesian grid data.
Cartesian reference coordinate for one apparent-horizon centre point.
Parameters for the damped Newton solve.