Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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

◆ blockcg() [1/3]

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.

◆ blockcg() [2/3]

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.

◆ blockcg() [3/3]

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.