1#ifndef APPARENT_HORIZON_FINDER_AH_SEARCH_H_
2#define APPARENT_HORIZON_FINDER_AH_SEARCH_H_
56 std::numeric_limits<std::size_t>::max();
Reusable Cartesian reconstruction context.
AHMultiHorizonResult FindApparentHorizons(const GridData &gridData, const AHMultiHorizonOptions &options)
Search every physical target in vector order.
AHSearchAttempt MakePreviousSurfaceAttempt(const AHFinderResult &previous)
Continue from a prior reconstructable result using its centre and surface.
void ValidateAHSearchOptions(const AHSearchOptions &options)
Reject an empty list or any structurally invalid shared/attempt option.
AHHorizonKind
Physical role assigned by the user to one independently searched surface.
void ValidateAHMultiHorizonOptions(const AHMultiHorizonOptions &options)
AHSearchResult FindApparentHorizon(const GridData &gridData, const AHSearchOptions &options)
Try explicit attempt pairs in vector order and stop at the first accepted horizon.
User-level result of one apparent-horizon solve.
Ordered attempts and selected result for one physical target.
std::vector< AHSearchAttemptResult > attempts
std::optional< AHFinderResult > horizon
std::optional< double > massScale
std::size_t successfulAttempt
One physical horizon and its ordered alternative guesses.
std::vector< ReferencePoint > excludedPoints
Points the surface must not enclose, typically the other black holes' positions.
std::vector< AHSearchAttempt > attempts
std::optional< double > massScale
Optional per-target override of SpectralNewtonOptions::massScale.
Shared numerical configuration for any number of physical targets.
std::vector< AHHorizonTarget > targets
CartesianToSurfaceOptions interpolation
SpectralNewtonOptions solver
Aggregate result without collapsing partial success into one boolean.
std::vector< AHHorizonTargetResult > targets
Complete diagnostics from one executed attempt.
std::vector< double > initialCoefficients
std::string rejection
Why a converged, reconstructed surface was not accepted; else empty.
ReferencePoint referencePoint
bool succeeded
True only when Newton converged, final reconstruction succeeded and the relative expansion error is w...
One explicit, ordered initial-surface/reference-point pair.
std::vector< double > initialCoefficients
Optional explicit star-shaped spectral surface.
ReferencePoint referencePoint
Shared numerical configuration and an arbitrary ordered attempt list.
CartesianToSurfaceOptions interpolation
std::vector< AHSearchAttempt > attempts
SpectralNewtonOptions solver
Aggregate ordered-search outcome.
static constexpr std::size_t NoSuccessfulAttempt
std::size_t successfulAttempt
std::optional< AHFinderResult > horizon
std::vector< AHSearchAttemptResult > attempts
Pointwise Cartesian grid data.
Cartesian reference coordinate for one apparent-horizon centre point.
Spectral basis plus collocation grid and precomputed design matrices.
Parameters for the damped Newton solve.