Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | List of all members
SolverBicgstab< VECTOR >::AdditionalData Struct Reference

#include <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<class VECTOR = Vector<double>>
struct SolverBicgstab< VECTOR >::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 80 of file solver_bicgstab.h.

Constructor & Destructor Documentation

template<class VECTOR = Vector<double>>
SolverBicgstab< VECTOR >::AdditionalData::AdditionalData ( const bool  exact_residual = true,
const double  breakdown = 1.e-10 
)
inline

Constructor.

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

Definition at line 88 of file solver_bicgstab.h.

Member Data Documentation

template<class VECTOR = Vector<double>>
bool SolverBicgstab< VECTOR >::AdditionalData::exact_residual

Flag for exact computation of residual.

Definition at line 96 of file solver_bicgstab.h.

template<class VECTOR = Vector<double>>
double SolverBicgstab< VECTOR >::AdditionalData::breakdown

Breakdown threshold.

Definition at line 100 of file solver_bicgstab.h.


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