concepts::BiCGStabFabric< F, G > Class Template Referenceabstract
Fabric class for conjugate gradients: BiCGStab
.
More...
#include <bicgstabFabric.hh>
Public Member Functions | |
BiCGStabFabric (Real maxeps=EPS, int maxit=0, bool relres=false, bool throwing=true) | |
Constructor. More... | |
virtual Operator< F > * | operator() () |
Creates a linear solver from matrix . More... | |
virtual Operator< F > * | operator() (Operator< F > &matrix) |
virtual Operator< F > * | operator() (Operator< F > &matrix, Operator< F > &precond)=0 |
Creates a linear solver from matrix and precond . More... | |
virtual Operator< F > * | operator() (Operator< F > &matrix, Operator< G > &precond) |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Private Attributes | |
Real | maxeps_ |
Convergence criteria for the solver. More... | |
int | maxit_ |
Convergence criteria for the solver. More... | |
bool | relres_ |
Convergence criteria for the solver. More... | |
bool | throwing_ |
false: best solution is given, when non converging true: exception is thrown, when non converging More... | |
Detailed Description
template<typename F, typename G = F>
class concepts::BiCGStabFabric< F, G >
Fabric class for conjugate gradients: BiCGStab
.
Definition at line 27 of file bicgstabFabric.hh.
Constructor & Destructor Documentation
◆ BiCGStabFabric()
|
inline |
Constructor.
- Parameters
-
maxeps Maximal residual maxit Maximal number of iterations relres Relative residual
Definition at line 35 of file bicgstabFabric.hh.
Member Function Documentation
◆ info()
|
inlineprotectedvirtual |
Definition at line 51 of file bicgstabFabric.hh.
◆ operator()() [1/4]
|
inlinevirtual |
Creates a linear solver from matrix
.
The caller is responsible for the deletion of the delivered object.
- Returns
- Reference to the linear solver
Implements concepts::SolverFabric< F >.
Definition at line 39 of file bicgstabFabric.hh.
◆ operator()() [2/4]
|
inlinevirtual |
Implements concepts::SolverFabric< F >.
Definition at line 42 of file bicgstabFabric.hh.
◆ operator()() [3/4]
|
pure virtualinherited |
Creates a linear solver from matrix
and precond
.
The caller is responsible for the deletion of the delivered object.
- Returns
- Reference to the linear solver
◆ operator()() [4/4]
|
inlinevirtual |
Definition at line 45 of file bicgstabFabric.hh.
Member Data Documentation
◆ maxeps_
|
private |
Convergence criteria for the solver.
Definition at line 57 of file bicgstabFabric.hh.
◆ maxit_
|
private |
Convergence criteria for the solver.
Definition at line 59 of file bicgstabFabric.hh.
◆ relres_
|
private |
Convergence criteria for the solver.
Definition at line 61 of file bicgstabFabric.hh.
◆ throwing_
|
private |
false: best solution is given, when non converging true: exception is thrown, when non converging
Definition at line 65 of file bicgstabFabric.hh.
The documentation for this class was generated from the following file:
- operator/bicgstabFabric.hh