Peano
Loading...
Searching...
No Matches
initial-guess.h
Go to the documentation of this file.
1#ifndef APPARENT_HORIZON_FINDER_INITIAL_GUESS_H_
2#define APPARENT_HORIZON_FINDER_INITIAL_GUESS_H_
3
4#include "harmonics.h"
5
6#include <vector>
7
8namespace exahype2::ccz4::ahf {
9
18 const SpectralBasis& basis,
19 double radius
20);
21
27 const SpectralBasis& basis,
28 const std::vector<double>& radii
29);
30
31} // namespace exahype2::ccz4::ahf
32
33#endif // APPARENT_HORIZON_FINDER_INITIAL_GUESS_H_
std::vector< double > MakeSphericalInitialCoefficients(const SpectralBasis &basis, double radius)
Construct spectral coefficients for a constant-radius spherical initial guess by projecting h(p) = ra...
std::vector< double > MakeDistortedInitialCoefficients(const SpectralBasis &basis, const std::vector< double > &radii)
Project positive radii in canonical SpectralBasis collocation order into an arbitrary star-shaped spe...
Spectral basis plus collocation grid and precomputed design matrices.
Definition harmonics.h:100