Backend for conjugate gradient solver with Jacobi preconditioner.
More...
#include <dune/pdelab/backend/istl/seqistlsolverbackend.hh>
|
| | ISTLBackend_SEQ_CG_Jac (unsigned maxiter_=5000, int verbose_=1) |
| | make a linear solver object More...
|
| |
| void | apply (M &A, V &z, W &r, typename Dune::template FieldTraits< typename W::ElementType >::real_type reduction) |
| | solve the given linear system More...
|
| |
| template<class V > |
| Dune::template FieldTraits< typename V::ElementType >::real_type | norm (const V &v) const |
| | compute global norm of a vector More...
|
| |
| const Dune::PDELab::LinearSolverResult< double > & | result () const |
| | Return access to result data. More...
|
| |
Backend for conjugate gradient solver with Jacobi preconditioner.
◆ ISTLBackend_SEQ_CG_Jac()
| Dune::PDELab::ISTLBackend_SEQ_CG_Jac::ISTLBackend_SEQ_CG_Jac |
( |
unsigned |
maxiter_ = 5000, |
|
|
int |
verbose_ = 1 |
|
) |
| |
|
inlineexplicit |
make a linear solver object
- Parameters
-
| [in] | maxiter_ | maximum number of iterations to do |
| [in] | verbose_ | print messages if true |
◆ apply()
| void Dune::PDELab::ISTLBackend_SEQ_Base< Dune::SeqJac , Dune::CGSolver >::apply |
( |
M & |
A, |
|
|
V & |
z, |
|
|
W & |
r, |
|
|
typename Dune::template FieldTraits< typename W::ElementType >::real_type |
reduction |
|
) |
| |
|
inlineinherited |
solve the given linear system
- Parameters
-
| [in] | A | the given matrix |
| [out] | z | the solution vector to be computed |
| [in] | r | right hand side |
| [in] | reduction | to be achieved |
◆ norm()
template<class V >
| Dune::template FieldTraits<typename V::ElementType >::real_type Dune::PDELab::SequentialNorm::norm |
( |
const V & |
v | ) |
const |
|
inlineinherited |
compute global norm of a vector
\param[in] v the given vector
◆ result()
Return access to result data.
◆ res
The documentation for this class was generated from the following file: