Belos  Version of the Day
Static Public Attributes | List of all members
Belos::DefaultSolverParameters Struct Reference

Default parameters common to most Belos solvers. More...

#include <BelosTypes.hpp>

Static Public Attributes

static constexpr double convTol = 1.0e-8
 Default convergence tolerance. More...
 
static constexpr double polyTol = 1.0e-12
 Relative residual tolerance for matrix polynomial construction. More...
 
static constexpr double orthoKappa = -1.0
 DGKS orthogonalization constant. More...
 
static constexpr double resScaleFactor = 1.0
 User-defined residual scaling factor. More...
 
static constexpr double impTolScale = 10.0
 "Implicit Tolerance Scale Factor" More...
 

Detailed Description

Default parameters common to most Belos solvers.

Both Belos solvers and users may override these defaults. Real floating-point values are deliberately double, in order to avoid issues with constexpr construction of certain MagnitudeTypes.

Definition at line 286 of file BelosTypes.hpp.

Member Data Documentation

◆ convTol

constexpr double Belos::DefaultSolverParameters::convTol = 1.0e-8
static

Default convergence tolerance.

This assumes that implicit conversion from double to Teuchos::ScalarTraits<Scalar>::magnitudeType always works, but Belos already assumed that. See discussion starting here:

https://github.com/trilinos/Trilinos/pull/2677#issuecomment-395453521

Definition at line 294 of file BelosTypes.hpp.

◆ polyTol

constexpr double Belos::DefaultSolverParameters::polyTol = 1.0e-12
static

Relative residual tolerance for matrix polynomial construction.

Definition at line 297 of file BelosTypes.hpp.

◆ orthoKappa

constexpr double Belos::DefaultSolverParameters::orthoKappa = -1.0
static

DGKS orthogonalization constant.

Definition at line 300 of file BelosTypes.hpp.

◆ resScaleFactor

constexpr double Belos::DefaultSolverParameters::resScaleFactor = 1.0
static

User-defined residual scaling factor.

Definition at line 303 of file BelosTypes.hpp.

◆ impTolScale

constexpr double Belos::DefaultSolverParameters::impTolScale = 10.0
static

"Implicit Tolerance Scale Factor"

Definition at line 306 of file BelosTypes.hpp.


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

Generated for Belos by doxygen 1.8.14