Belos  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 const double convTol = 1.0e-8
 Default convergence tolerance. More...
 
static const double polyTol = 1.0e-12
 Relative residual tolerance for matrix polynomial construction. More...
 
static const double orthoKappa = -1.0
 DGKS orthogonalization constant. More...
 
static const double resScaleFactor = 1.0
 User-defined residual scaling factor. More...
 
static const 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 251 of file BelosTypes.hpp.

Member Data Documentation

const 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

Initialization of values moved to BelosTypes.cpp to fix ODR-used issues

Definition at line 261 of file BelosTypes.hpp.

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

Relative residual tolerance for matrix polynomial construction.

Definition at line 264 of file BelosTypes.hpp.

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

DGKS orthogonalization constant.

Definition at line 267 of file BelosTypes.hpp.

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

User-defined residual scaling factor.

Definition at line 270 of file BelosTypes.hpp.

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

"Implicit Tolerance Scale Factor"

Definition at line 273 of file BelosTypes.hpp.


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

Generated on Tue Jul 23 2024 09:24:23 for Belos by doxygen 1.8.5