Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::Alina::IDRSSolverParams Struct Reference

Parameters for IDR(s) solver. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/alina/arccore/alina/IDRSSolver.h>

Collaboration diagram for Arcane::Alina::IDRSSolverParams:

Public Types

using params = IDRSSolverParams

Public Member Functions

 IDRSSolverParams (const PropertyTree &p)
void get (PropertyTree &p, const std::string &path) const

Public Attributes

Int32 s = 4
 Dimension of the shadow space in IDR(s).
double omega = 0.7
 Computation of omega.
bool smoothing = false
 Specifies if residual smoothing must be applied.
bool replacement = false
 Residual replacement.
Int32 maxiter = 100
 Maximum number of iterations.
double tol = 1e-8
 Target relative residual error.
double abstol = std::numeric_limits<double>::min()
 Target absolute residual error.
bool ns_search = false
 Ignore the trivial solution x=0 when rhs is zero.
bool verbose = false
 Verbose output (show iterations and error).

Detailed Description

Parameters for IDR(s) solver.

Definition at line 54 of file IDRSSolver.h.

Member Typedef Documentation

◆ params

using Arcane::Alina::IDRSSolverParams::params = IDRSSolverParams

Definition at line 56 of file IDRSSolver.h.

Constructor & Destructor Documentation

◆ IDRSSolverParams()

Arcane::Alina::IDRSSolverParams::IDRSSolverParams ( const PropertyTree & p)
inline

Definition at line 105 of file IDRSSolver.h.

Member Function Documentation

◆ get()

void Arcane::Alina::IDRSSolverParams::get ( PropertyTree & p,
const std::string & path ) const
inline

Definition at line 119 of file IDRSSolver.h.

Member Data Documentation

◆ abstol

double Arcane::Alina::IDRSSolverParams::abstol = std::numeric_limits<double>::min()

Target absolute residual error.

Definition at line 91 of file IDRSSolver.h.

◆ maxiter

Int32 Arcane::Alina::IDRSSolverParams::maxiter = 100

Maximum number of iterations.

Definition at line 85 of file IDRSSolver.h.

◆ ns_search

bool Arcane::Alina::IDRSSolverParams::ns_search = false

Ignore the trivial solution x=0 when rhs is zero.

Useful for searching for the null-space vectors of the system.

Definition at line 98 of file IDRSSolver.h.

◆ omega

double Arcane::Alina::IDRSSolverParams::omega = 0.7

Computation of omega.

If omega = 0: a standard minimum residual step is performed If omega > 0: omega is increased if the cosine of the angle between Ar and r < omega Default: omega = 0.7;

Definition at line 69 of file IDRSSolver.h.

◆ replacement

bool Arcane::Alina::IDRSSolverParams::replacement = false

Residual replacement.

Determines the residual replacement strategy. If true, the recursively computed residual is replaced by the true residual. Default: No residual replacement.

Definition at line 82 of file IDRSSolver.h.

◆ s

Int32 Arcane::Alina::IDRSSolverParams::s = 4

Dimension of the shadow space in IDR(s).

Definition at line 59 of file IDRSSolver.h.

◆ smoothing

bool Arcane::Alina::IDRSSolverParams::smoothing = false

Specifies if residual smoothing must be applied.

Definition at line 72 of file IDRSSolver.h.

◆ tol

double Arcane::Alina::IDRSSolverParams::tol = 1e-8

Target relative residual error.

Definition at line 88 of file IDRSSolver.h.

◆ verbose

bool Arcane::Alina::IDRSSolverParams::verbose = false

Verbose output (show iterations and error).

Definition at line 101 of file IDRSSolver.h.


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