#include <cgFabric.hh>
Public Member Functions | |
| CGFabric (Real maxeps=EPS, int maxit=0, bool relres=false, bool throwing=true) | |
| virtual Operator< F > * | operator() (Operator< F > &matrix) |
| Operator< F > * | operator() () |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Fabric class for conjugate gradients: CG.
Definition at line 27 of file cgFabric.hh.
|
inline |
Constructor.
| maxeps | Maximal residual |
| maxit | Maximal number of iterations |
| relres | Relative residual |
| throwing | In the case of non convergence an exception is thrown and the best solution is not given back. |
Definition at line 36 of file cgFabric.hh.
|
inlineprotectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Definition at line 44 of file cgFabric.hh.
|
inlinevirtual |
Creates a linear solver from matrix. The caller is responsible for the deletion of the delivered object.
Implements concepts::SolverFabric< F >.
Definition at line 42 of file cgFabric.hh.
|
inlinevirtual |
Implements concepts::SolverFabric< F >.
Definition at line 39 of file cgFabric.hh.