dune-pdelab
2.4-dev
|
Backend for conjugate gradient solver with Jacobi preconditioner. More...
#include <dune/pdelab/backend/istl/seqistlsolverbackend.hh>
Public Member Functions | |
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 W::ElementType 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... | |
Protected Attributes | |
Dune::PDELab::LinearSolverResult< double > | res |
Backend for conjugate gradient solver with Jacobi preconditioner.
|
inlineexplicit |
make a linear solver object
[in] | maxiter_ | maximum number of iterations to do |
[in] | verbose_ | print messages if true |
|
inlineinherited |
solve the given linear system
[in] | A | the given matrix |
[out] | z | the solution vector to be computed |
[in] | r | right hand side |
[in] | reduction | to be achieved |
|
inlineinherited |
compute global norm of a vector
[in] | v | the given vector |
References Dune::PDELab::Backend::native().
|
inlineinherited |
Return access to result data.
References Dune::PDELab::LinearResultStorage::res.
|
protectedinherited |
Referenced by Dune::PDELab::ISTLBackend_SEQ_Base< Dune::SeqJac, Dune::BiCGSTABSolver >::apply(), Dune::PDELab::ISTLBackend_SEQ_ILU0< Dune::CGSolver >::apply(), Dune::PDELab::ISTLBackend_SEQ_ILUn< Dune::CGSolver >::apply(), Dune::PDELab::ISTLBackend_SEQ_AMG_4_DG< DGGO, CGGFS, TransferLOP, DGPrec, Solver >::apply(), Dune::PDELab::ISTLBackend_OVLP_Base< GFS, CC, Dune::SeqSSOR, Dune::BiCGSTABSolver >::apply(), Dune::PDELab::ISTLBackend_SEQ_SuperLU::apply(), Dune::PDELab::ISTLBackend_SEQ_UMFPack::apply(), Dune::PDELab::ISTLBackend_OVLP_ILU0_Base< GFS, CC, Dune::BiCGSTABSolver >::apply(), Dune::PDELab::ISTLBackend_SEQ_ExplicitDiagonal::apply(), Dune::PDELab::ISTLBackend_OVLP_ILUn_Base< GFS, CC, Dune::BiCGSTABSolver >::apply(), Dune::PDELab::ISTLBackend_OVLP_AMG_4_DG< DGGO, DGCC, CGGFS, CGCC, TransferLOP, DGPrec, Solver, s >::apply(), Dune::PDELab::ISTLBackend_SEQ_AMG< GO, Dune::SeqSOR, Dune::LoopSolver >::apply(), Dune::PDELab::ISTLBackend_OVLP_GMRES_ILU0< GFS, CC >::apply(), Dune::PDELab::ISTLBackend_OVLP_SuperLU_Base< GFS, CC, Dune::CGSolver >::apply(), Dune::PDELab::ISTLBackend_SEQ_GMRES_ILU0::apply(), Dune::PDELab::ISTLBackend_OVLP_ExplicitDiagonal< GFS >::apply(), Dune::PDELab::ISTLBackend_AMG_NOVLP< GO, s, Dune::SeqSSOR, Dune::CGSolver >::apply(), Dune::PDELab::ISTLBackend_AMG< GO, s, Dune::SeqILU0, Dune::BiCGSTABSolver >::apply(), and Dune::PDELab::LinearResultStorage::result().