1#ifndef APPARENT_HORIZON_FINDER_INTERPOLATED_SURFACE_RESIDUAL_H_
2#define APPARENT_HORIZON_FINDER_INTERPOLATED_SURFACE_RESIDUAL_H_
22 const std::vector<double>& coefficients,
Reusable Cartesian reconstruction context.
SpectralResidual MakeInterpolatedSurfaceResidual(const SpectralBasis &basis, const CartesianPointInterpolator &interpolator, const ReferencePoint &referencePoint)
Internal Newton adapter returning R(a) = project(Theta(a)) using batch Cartesian interpolation.
std::function< std::vector< double >(const std::vector< double > &)> SpectralResidual
Residual R(a): the spherical-harmonic coefficients of the expansion Theta for a given coefficient vec...
InterpolatedSurface BuildInterpolatedSurface(const SpectralBasis &basis, const std::vector< double > &coefficients, const CartesianPointInterpolator &interpolator, const ReferencePoint &referencePoint)
Build a fully populated surface for one spectral coefficient vector using a persistent Cartesian inte...
Interpolated data on the current AH surface r = h(rho, sigma).
Cartesian reference coordinate for one apparent-horizon centre point.
Spectral basis plus collocation grid and precomputed design matrices.