Peano
Loading...
Searching...
No Matches
spectral-solver.h File Reference
#include <functional>
#include <string>
#include <vector>
#include "harmonics.h"
Include dependency graph for spectral-solver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  exahype2::ccz4::ahf::SpectralNewtonOptions
 Parameters for the damped Newton solve. More...
struct  exahype2::ccz4::ahf::SpectralNewtonIterate
 One state of the Newton solver, recorded only when SpectralNewtonOptions::recordIterationHistory is set. More...
struct  exahype2::ccz4::ahf::SpectralNewtonResult
 Outcome of the Newton solver. More...

Namespaces

namespace  exahype2
 This file is part of the ExaHyPE 2 project within Peano 4.
namespace  exahype2::ccz4
namespace  exahype2::ccz4::ahf

Typedefs

using exahype2::ccz4::ahf::SpectralResidual = std::function<std::vector<double>(const std::vector<double>&)>
 Residual R(a): the spherical-harmonic coefficients of the expansion Theta for a given coefficient vector a.

Functions

SpectralNewtonResult exahype2::ccz4::ahf::SolveSpectralNewton (const SpectralBasis &basis, const SpectralResidual &residual, const std::vector< double > &initialCoefficients, const SpectralNewtonOptions &options={})
 Damped Newton-Raphson solve of the spectral apparent-horizon equations R(a) = 0.