Peano
Loading...
Searching...
No Matches
exahype2::ccz4::ahf::SpectralNewtonOptions Struct Reference

Parameters for the damped Newton solve. More...

#include <spectral-solver.h>

Data Fields

double tolerance = 1.0e-10
 convergence threshold on ||R||_inf
double massScale = 1.0
 effective tolerance = tolerance / massScale
int maxIterations = 40
double finiteDifferenceStep = 1.0e-6
 relative step for the Jacobian
int maxLineSearchSteps = 20
double maxRadiusFactor = 6.0
 runaway cap on max(h) as a multiple of the initial mean radius
bool recordIterationHistory = false
 populate SpectralNewtonResult::iterationHistory
double maxRelativeExpansionError = 0.3
 Not used by the Newton iteration: the horizon searches (AHSearch) reject a converged surface whose AHFinderResult::relativeExpansionError exceeds it, and try their next attempt.

Detailed Description

Parameters for the damped Newton solve.

Definition at line 23 of file spectral-solver.h.

Field Documentation

◆ finiteDifferenceStep

double exahype2::ccz4::ahf::SpectralNewtonOptions::finiteDifferenceStep = 1.0e-6

relative step for the Jacobian

Definition at line 27 of file spectral-solver.h.

◆ massScale

double exahype2::ccz4::ahf::SpectralNewtonOptions::massScale = 1.0

effective tolerance = tolerance / massScale

Definition at line 25 of file spectral-solver.h.

◆ maxIterations

int exahype2::ccz4::ahf::SpectralNewtonOptions::maxIterations = 40

Definition at line 26 of file spectral-solver.h.

◆ maxLineSearchSteps

int exahype2::ccz4::ahf::SpectralNewtonOptions::maxLineSearchSteps = 20

Definition at line 28 of file spectral-solver.h.

◆ maxRadiusFactor

double exahype2::ccz4::ahf::SpectralNewtonOptions::maxRadiusFactor = 6.0

runaway cap on max(h) as a multiple of the initial mean radius

Definition at line 29 of file spectral-solver.h.

◆ maxRelativeExpansionError

double exahype2::ccz4::ahf::SpectralNewtonOptions::maxRelativeExpansionError = 0.3

Not used by the Newton iteration: the horizon searches (AHSearch) reject a converged surface whose AHFinderResult::relativeExpansionError exceeds it, and try their next attempt.

Newton only zeroes the projection of Theta at the collocation points, so it can also converge to a surface that aliasing makes look like a horizon; between the points such a surface has |Theta| comparable to that of a sphere. On analytic horizons with lMax >= 4 the error stayed below 0.13 on physical surfaces and above 0.55 on aliased ones. Infinity disables the check.

Definition at line 41 of file spectral-solver.h.

◆ recordIterationHistory

bool exahype2::ccz4::ahf::SpectralNewtonOptions::recordIterationHistory = false

populate SpectralNewtonResult::iterationHistory

Definition at line 30 of file spectral-solver.h.

◆ tolerance

double exahype2::ccz4::ahf::SpectralNewtonOptions::tolerance = 1.0e-10

convergence threshold on ||R||_inf

Definition at line 24 of file spectral-solver.h.

Referenced by tarch.plotter.api.output.PointProbe.PatchContainsPoint::__call__().


The documentation for this struct was generated from the following file: