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.

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.

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.

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

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


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

deal.II documentation generated on Wed Jul 28 23:06:42 2010 by doxygen 1.5.6