![]() |
Reference documentation for deal.II version 8.1.0
|
#include <solver_gmres.h>
Public Member Functions | |
| AdditionalData (const unsigned int max_n_tmp_vectors=30, const bool right_preconditioning=false, const bool use_default_residual=true, const bool force_re_orthogonalization=false) | |
Public Attributes | |
| unsigned int | max_n_tmp_vectors |
| bool | right_preconditioning |
| bool | use_default_residual |
| bool | force_re_orthogonalization |
Standardized data struct to pipe additional data to the solver.
Definition at line 162 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, |
||
| const bool | force_re_orthogonalization = false |
||
| ) |
Constructor. By default, set the number of temporary vectors to 30, i.e. do a restart every 28 iterations. Also set preconditioning from left, the residual of the stopping criterion to the default residual, and re-orthogonalization only if necessary.
| 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 180 of file solver_gmres.h.
| bool SolverGMRES< VECTOR >::AdditionalData::right_preconditioning |
Flag for right preconditioning.
Definition at line 189 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 194 of file solver_gmres.h.
| bool SolverGMRES< VECTOR >::AdditionalData::force_re_orthogonalization |
Flag to force re-orthogonalization of orthonormal basis in every step. If set to false, the solver automatically checks for loss of orthogonality every 5 iterations and enables re-orthogonalization only if necessary.
Definition at line 202 of file solver_gmres.h.
1.8.6