Reference documentation for deal.II version 9.4.1
|
#include <deal.II/lac/petsc_solver.h>
Public Member Functions | |
AdditionalData (const unsigned int restart_parameter=30, const bool right_preconditioning=false) | |
Public Attributes | |
unsigned int | restart_parameter |
bool | right_preconditioning |
Standardized data struct to pipe additional data to the solver.
Definition at line 485 of file petsc_solver.h.
SolverGMRES< VectorType >::AdditionalData::AdditionalData | ( | const unsigned int | restart_parameter = 30 , |
const bool | right_preconditioning = false |
||
) |
Constructor. By default, set the number of temporary vectors to 30, i.e. do a restart every 30 iterations.
Definition at line 378 of file petsc_solver.cc.
unsigned int PETScWrappers::SolverGMRES::AdditionalData::restart_parameter |
Maximum number of tmp vectors.
Definition at line 497 of file petsc_solver.h.
bool PETScWrappers::SolverGMRES::AdditionalData::right_preconditioning |
Flag for right preconditioning.
Definition at line 502 of file petsc_solver.h.