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 |
Standardized data struct to pipe additional data to the solver.
Definition at line 176 of file solver_gmres.h.
| 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.
| 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.
| bool SolverGMRES< VECTOR >::AdditionalData::right_preconditioning |
Flag for right preconditioning.
Definition at line 214 of file solver_gmres.h.
| 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.
documentation generated on Fri Feb 3 2012 06:04:11 by
doxygen
1.7.2