Reference documentation for deal.II version 9.5.0
\(\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\}}\)
Loading...
Searching...
No Matches
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=std::numeric_limits< typename VectorType::value_type >::min())
 

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 92 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 = std::numeric_limits<typename VectorType::value_type>::min() 
)
inlineexplicit

Constructor.

The default is to perform an exact residual computation and breakdown parameter is the minimum finite value representable by the value_type of VectorType.

Definition at line 101 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 111 of file solver_bicgstab.h.

◆ breakdown

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

Breakdown threshold.

Definition at line 115 of file solver_bicgstab.h.


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