Reference documentation for deal.II version 8.5.1
Public Member Functions | Public Attributes | List of all members
SolverQMRS< VectorType >::AdditionalData Struct Reference

#include <deal.II/lac/solver_qmrs.h>

Public Member Functions

 AdditionalData (bool exact_residual=false, double breakdown=1.e-16)
 

Public Attributes

bool exact_residual
 
double breakdown
 

Detailed Description

template<typename VectorType = Vector<double>>
struct SolverQMRS< VectorType >::AdditionalData

Standardized data struct to pipe additional data to the solver.

There are two possibilities to compute the residual: one is an estimate using the computed value tau. The other is exact computation using another matrix vector multiplication.

QMRS, is susceptible to breakdowns, so we need a parameter telling us, which numbers are considered zero. The proper breakdown criterion is very unclear, so experiments may be necessary here.

Definition at line 85 of file solver_qmrs.h.

Constructor & Destructor Documentation

◆ AdditionalData()

template<typename VectorType = Vector<double>>
SolverQMRS< VectorType >::AdditionalData::AdditionalData ( bool  exact_residual = false,
double  breakdown = 1.e-16 
)
inlineexplicit

Constructor.

The default is no exact residual computation and breakdown parameter 1e-16.

Definition at line 94 of file solver_qmrs.h.

Member Data Documentation

◆ exact_residual

template<typename VectorType = Vector<double>>
bool SolverQMRS< VectorType >::AdditionalData::exact_residual

Flag for exact computation of residual.

Definition at line 103 of file solver_qmrs.h.

◆ breakdown

template<typename VectorType = Vector<double>>
double SolverQMRS< VectorType >::AdditionalData::breakdown

Breakdown threshold.

Definition at line 108 of file solver_qmrs.h.


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