Peano
Loading...
Searching...
No Matches
surface-residual.h
Go to the documentation of this file.
1#ifndef APPARENT_HORIZON_FINDER_SURFACE_RESIDUAL_H_
2#define APPARENT_HORIZON_FINDER_SURFACE_RESIDUAL_H_
3
4#include "ahf-data.h"
5#include "harmonics.h"
6#include "spectral-solver.h"
7
8#include <functional>
9#include <vector>
10
11namespace exahype2::ccz4::ahf {
12
26 using GeometrySource = std::function<
28
43 const SpectralBasis& basis,
44 const std::vector<double>& coefficients,
45 const GeometrySource& geometryAt,
46 const ReferencePoint& referencePoint
47 );
48
60 const SpectralBasis& basis,
61 const GeometrySource& geometryAt,
62 const ReferencePoint& referencePoint
63 );
64
65} // namespace exahype2::ccz4::ahf
66
67#endif // APPARENT_HORIZON_FINDER_SURFACE_RESIDUAL_H_
std::function< InterpolatedGeometryData(const Vector3 &)> GeometrySource
Source of the physical geometry (gamma_ij, partial_k gamma_ij, K_ij, trK) at an absolute Cartesian po...
SpectralResidual MakeResidual(const SpectralBasis &basis, const GeometrySource &geometryAt, const ReferencePoint &referencePoint)
Return the spectral residual.
std::array< double, 3 > Vector3
Definition ahf-data.h:518
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 BuildSurface(const SpectralBasis &basis, const std::vector< double > &coefficients, const GeometrySource &geometryAt, const ReferencePoint &referencePoint)
Assemble the interpolated surface r = h(rho, sigma) for a coefficient vector on the basis collocation...
Physical and geometrical quantities shared by shell and surface samples.
Definition ahf-data.h:627
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