Reference documentation for deal.II version Git a3b517947a 2019-09-22 22:52:08 -0400
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Public Member Functions | Public Attributes | List of all members
SolverBicgstab< VectorType >::AdditionalData Struct Reference

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

Public Member Functions

 AdditionalData (const bool exact_residual=true, const double breakdown=1.e-10)
 

Public Attributes

bool exact_residual
 
double breakdown
 

Detailed Description

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

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. This increases the costs of the algorithm, so it is should be set to false whenever the problem allows it.

Bicgstab is susceptible to breakdowns, so we need a parameter telling us, which numbers are considered zero.

Definition at line 138 of file solver_bicgstab.h.

Constructor & Destructor Documentation

◆ AdditionalData()

template<typename VectorType = Vector<double>>
SolverBicgstab< VectorType >::AdditionalData::AdditionalData ( const bool  exact_residual = true,
const double  breakdown = 1.e-10 
)
inlineexplicit

Constructor.

The default is to perform an exact residual computation and breakdown parameter 1e-10.

Definition at line 146 of file solver_bicgstab.h.

Member Data Documentation

◆ exact_residual

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

Flag for exact computation of residual.

Definition at line 154 of file solver_bicgstab.h.

◆ breakdown

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

Breakdown threshold.

Definition at line 158 of file solver_bicgstab.h.


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