Peano
Loading...
Searching...
No Matches
common-horizon-candidates.h
Go to the documentation of this file.
1#ifndef APPARENT_HORIZON_FINDER_COMMON_HORIZON_CANDIDATES_H_
2#define APPARENT_HORIZON_FINDER_COMMON_HORIZON_CANDIDATES_H_
3
4#include "ah-finder-result.h"
5#include "ah-search.h"
6
7#include <optional>
8#include <string>
9#include <vector>
10
11namespace exahype2::ccz4::ahf {
12
15 std::string id;
16 double mass = 1.0;
17 std::vector<AHSearchAttempt> attempts;
19 std::optional<ReferencePoint> physicalPosition;
20};
21
24 std::string id;
25 double mass = 1.0;
27};
28
31 std::string firstId;
32 std::string secondId;
33 double centreDistance = 0.0;
34 double firstFacingRadius = 0.0;
35 double secondFacingRadius = 0.0;
36 double surfaceGap = 0.0;
37 bool proximityTriggered = false;
38};
39
55 double searchMargin = 0.0;
56 double searchMarginPerMass = 0.5;
62 std::vector<std::vector<std::string>> requestedSubsets;
63};
64
72
82
84 std::vector<AHHorizonPairGap> pairGaps;
85 std::vector<AHCommonHorizonCandidate> candidates;
86};
87
89 const std::vector<AHPhysicalBlackHole>& blackHoles
90);
91
98std::vector<AHHorizonTarget> MakeIndividualHorizonTargets(
99 const std::vector<AHPhysicalBlackHole>& blackHoles,
100 bool excludeOtherBlackHoles = true
101);
102
105);
106
113 const std::vector<AHIndividualHorizonObservation>& observations,
114 const AHCommonHorizonCandidateOptions& options = {}
115);
116
117} // namespace exahype2::ccz4::ahf
118
119#endif
void ValidateAHCommonHorizonCandidateOptions(const AHCommonHorizonCandidateOptions &options)
void ValidateAHPhysicalBlackHoles(const std::vector< AHPhysicalBlackHole > &blackHoles)
std::vector< AHHorizonTarget > MakeIndividualHorizonTargets(const std::vector< AHPhysicalBlackHole > &blackHoles, bool excludeOtherBlackHoles=true)
Convert user identities into the existing individual-target representation.
AHCommonHorizonCandidatePlan PlanCommonHorizonCandidates(const std::vector< AHIndividualHorizonObservation > &observations, const AHCommonHorizonCandidateOptions &options={})
Plan prospective common searches from already successful individual AHs.
double searchMargin
A pair triggers when surfaceGap <= searchMargin + searchMarginPerMass * (m_i + m_j),...
std::vector< std::vector< std::string > > requestedSubsets
Always add these ID subsets, independently of proximity.
bool unconditionalAllBlackHoles
Always add the group containing every observed black hole.
std::vector< AHCommonHorizonCandidate > candidates
Why a canonical group survived deterministic deduplication.
Geometry and initial spherical guess for one prospective common AH solve.
std::vector< std::string > memberIds
Sorted stable IDs; also the canonical deduplication key.
User-level result of one apparent-horizon solve.
Directional separation diagnostic for one unordered pair.
A successfully reconstructed individual horizon associated with its ID.
User identity and retry configuration for one physical black hole.
std::optional< ReferencePoint > physicalPosition
Physical puncture/location estimate, distinct from numerical AH origins.
Cartesian reference coordinate for one apparent-horizon centre point.
Definition ahf-data.h:20