Peano
Loading...
Searching...
No Matches
interpolated-surface-residual.h
Go to the documentation of this file.
1#ifndef APPARENT_HORIZON_FINDER_INTERPOLATED_SURFACE_RESIDUAL_H_
2#define APPARENT_HORIZON_FINDER_INTERPOLATED_SURFACE_RESIDUAL_H_
3
4#include "ahf-data.h"
5#include "harmonics.h"
6#include "interpolation.h"
7#include "spectral-solver.h"
8
9#include <vector>
10
11namespace exahype2::ccz4::ahf {
12
21 const SpectralBasis& basis,
22 const std::vector<double>& coefficients,
23 const CartesianPointInterpolator& interpolator,
24 const ReferencePoint& referencePoint
25);
26
27namespace detail {
28
38 const SpectralBasis& basis,
39 const CartesianPointInterpolator& interpolator,
40 const ReferencePoint& referencePoint
41);
42
43} // namespace detail
44
45} // namespace exahype2::ccz4::ahf
46
47#endif // APPARENT_HORIZON_FINDER_INTERPOLATED_SURFACE_RESIDUAL_H_
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).
Definition ahf-data.h:750
Cartesian reference coordinate for one apparent-horizon centre point.
Definition ahf-data.h:20
Spectral basis plus collocation grid and precomputed design matrices.
Definition harmonics.h:100