Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
cusp::krylov Namespace Reference

Functions

template<class LinearOperator , class Vector >
void blockcg (LinearOperator &A, Vector &x, Vector &b)
 
template<class LinearOperator , class Vector , class Monitor >
void blockcg (LinearOperator &A, Vector &x, Vector &b, Monitor &monitor)
 
template<class LinearOperator , class Vector , class Monitor , class Preconditioner >
void blockcg (LinearOperator &A, Vector &x, Vector &b, Monitor &monitor, Preconditioner &M)
 

Function Documentation

template<class LinearOperator , class Vector >
void cusp::krylov::blockcg ( LinearOperator &  A,
Vector &  x,
Vector &  b 
)

cg : Conjugate Gradient method

Solves the symmetric, positive-definite linear system A x = b with multiple right hand sides using the default convergence criteria.

template<class LinearOperator , class Vector , class Monitor >
void cusp::krylov::blockcg ( LinearOperator &  A,
Vector &  x,
Vector &  b,
Monitor &  monitor 
)

cg : Conjugate Gradient method

Solves the symmetric, positive-definite linear system A x = b without preconditioning.

template<class LinearOperator , class Vector , class Monitor , class Preconditioner >
void cusp::krylov::blockcg ( LinearOperator &  A,
Vector &  x,
Vector &  b,
Monitor &  monitor,
Preconditioner &  M 
)

cg : Conjugate Gradient method

Solves the symmetric, positive-definite linear system A x = b with preconditioner M.