Public Member Functions | Public Attributes

SolverGMRES< VECTOR >::AdditionalData Struct Reference

List of all members.

Public Member Functions

 AdditionalData (const unsigned int max_n_tmp_vectors=30, const bool right_preconditioning=false, const bool use_default_residual=true)

Public Attributes

unsigned int max_n_tmp_vectors
bool right_preconditioning
bool use_default_residual

Detailed Description

template<class VECTOR = Vector<double>>
struct SolverGMRES< VECTOR >::AdditionalData

Standardized data struct to pipe additional data to the solver.

Definition at line 176 of file solver_gmres.h.


Constructor & Destructor Documentation

template<class VECTOR = Vector<double>>
SolverGMRES< VECTOR >::AdditionalData::AdditionalData ( const unsigned int  max_n_tmp_vectors = 30,
const bool  right_preconditioning = false,
const bool  use_default_residual = true 
)

Constructor. By default, set the number of temporary vectors to 30, i.e. do a restart every 28 iterations. Also set preconditioning from left and the residual of the stopping criterion to the default residual.


Member Data Documentation

template<class VECTOR = Vector<double>>
unsigned int SolverGMRES< VECTOR >::AdditionalData::max_n_tmp_vectors

Maximum number of temporary vectors. This parameter controls the size of the Arnoldi basis, which for historical reasons is max_n_tmp_vectors-2.

Definition at line 200 of file solver_gmres.h.

template<class VECTOR = Vector<double>>
bool SolverGMRES< VECTOR >::AdditionalData::right_preconditioning

Flag for right preconditioning.

Note:
Change between left and right preconditioning will also change the way residuals are evaluated. See the corresponding section in the SolverGMRES.

Definition at line 214 of file solver_gmres.h.

template<class VECTOR = Vector<double>>
bool SolverGMRES< VECTOR >::AdditionalData::use_default_residual

Flag for the default residual that is used to measure convergence.

Definition at line 221 of file solver_gmres.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Fri Feb 3 2012 06:04:11 by doxygen 1.7.2