Reference documentation for deal.II version GIT d1e6af55b6 2023-02-07 07:50:02+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Public Member Functions | Public Attributes | List of all members
PETScWrappers::SolverGMRES::AdditionalData Struct Reference

#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

Detailed Description

Standardized data struct to pipe additional data to the solver.

Definition at line 453 of file petsc_solver.h.

Constructor & Destructor Documentation

◆ AdditionalData()

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 391 of file

Member Data Documentation

◆ restart_parameter

unsigned int PETScWrappers::SolverGMRES::AdditionalData::restart_parameter

Maximum number of tmp vectors.

Definition at line 465 of file petsc_solver.h.

◆ right_preconditioning

bool PETScWrappers::SolverGMRES::AdditionalData::right_preconditioning

Flag for right preconditioning.

Definition at line 470 of file petsc_solver.h.

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