AMDiS  0.1 The Adaptive Multi-Dimensional Simulation Toolbox
cg_solver_type Class Reference

ITL_Solver <cg_solver_type> implementation of conjugate gradient method. More...

#include <ITL_Solver.hpp>

Inherits ITL_Solver.

## Public Member Functions

cg_solver_type (std::string const &)

template<class LinOp , class X , class B , class P , class I >
int operator() (LinOp const &A, X &x, B const &b, P const &precon, I &iter)

## Detailed Description

ITL_Solver <cg_solver_type> implementation of conjugate gradient method.

Solves a linear system $$Ax=b$$ by the conjugate gradient method (CG) and can be used for symmetric positive definite system matrices. Right preconditioner is ignored.

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