Peano
Loading...
Searching...
No Matches
merger-orchestration.h
Go to the documentation of this file.
1#ifndef APPARENT_HORIZON_FINDER_MERGER_ORCHESTRATION_H_
2#define APPARENT_HORIZON_FINDER_MERGER_ORCHESTRATION_H_
3
4#include "ah-search.h"
6
7#include <array>
8#include <optional>
9#include <string>
10#include <vector>
11
12namespace exahype2::ccz4::ahf {
13
19
22 std::array<AHBinaryComponent, 2> components;
23 std::string commonHorizonId = "common";
25 std::vector<double> commonRadiusFactors{1.0, 1.5, 2.0};
31 double searchMarginPerMass = 0.5;
34 int lMax = 2;
37};
38
41 bool commonSearchEnabled = false;
42 double separation = 0.0;
43 std::array<double, 2> facingRadii{0.0, 0.0};
45 double surfaceGap = 0.0;
47 double commonMass = 0.0;
50};
51
58
60
63 const AHBinaryMergerOptions& options
64);
65
68 const AHBinaryMergerOptions& options
69);
70
76std::optional<AHCommonHorizonValidation> ValidateBinaryMergerCommonHorizon(
77 const AHBinaryMergerOptions& options,
78 const AHBinaryMergerPlan& plan,
79 const AHMultiHorizonResult& horizons
80);
81
87 const GridData& gridData,
88 const AHBinaryMergerOptions& options
89);
90
91} // namespace exahype2::ccz4::ahf
92
93#endif
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
std::vector< double > commonRadiusFactors
Multipliers applied to the smallest enclosing common coordinate sphere.
AHCommonHorizonValidationOptions validation
Applied to the common result; see ValidateCommonHorizon.
Documented trigger/preconditioning diagnostics and the generated plan.
double surfaceGap
separation minus both facing radii; negative when the surfaces overlap.
std::optional< AHCommonHorizonValidation > commonValidation
Validation of the common result; empty when no common search ran.
One physical horizon and its ordered alternative guesses.
Definition ah-search.h:113
Shared numerical configuration for any number of physical targets.
Definition ah-search.h:130
Aggregate result without collapsing partial success into one boolean.
Definition ah-search.h:149
Pointwise Cartesian grid data.
Definition ahf-data.h:429
Cartesian reference coordinate for one apparent-horizon centre point.
Definition ahf-data.h:20
Parameters for the damped Newton solve.