|
dune-pdelab
2.5-dev
|
Sequential conjugate gradient solver preconditioned with AMG smoothed by SSOR. More...
#include <dune/pdelab/backend/istl/seqistlsolverbackend.hh>

Public Member Functions | |
| ISTLBackend_SEQ_CG_AMG_SSOR (unsigned maxiter_=5000, int verbose_=1, bool reuse_=false, bool usesuperlu_=true) | |
| Constructor. More... | |
| void | setparams (Parameters params_) |
| set AMG parameters More... | |
| void | setReuse (bool reuse_) |
| Set whether the AMG should be reused again during call to apply(). More... | |
| bool | getReuse () const |
| Return whether the AMG is reused during call to apply() More... | |
| V::ElementType | norm (const V &v) const |
| compute global norm of a vector More... | |
| void | apply (M &A, V &z, V &r, typename Dune::template FieldTraits< typename V::ElementType >::real_type reduction) |
| solve the given linear system More... | |
| const ISTLAMGStatistics & | statistics () const |
| Get statistics of the AMG solver (no of levels, timings). More... | |
| const Dune::PDELab::LinearSolverResult< double > & | result () const |
| Return access to result data. More... | |
Protected Attributes | |
| Dune::PDELab::LinearSolverResult< double > | res |
Sequential conjugate gradient solver preconditioned with AMG smoothed by SSOR.
| GO | The type of the grid operator (or the fakeGOTraits class for the old grid operator space). |
|
inline |
Constructor.
| maxiter_ | The maximum number of iterations allowed. |
| verbose_ | The verbosity level to use. |
| reuse_ | Set true, if the Matrix to be used is always identical (AMG aggregation is then only performed once). |
| usesuperlu_ | Set false, to suppress the no SuperLU warning |
|
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 |
Return whether the AMG is reused during call to apply()
|
inlineinherited |
compute global norm of a vector
| [in] | v | the given vector |
|
inlineinherited |
Return access to result data.
|
inlineinherited |
set AMG parameters
| [in] | params_ | a parameter object of Type Dune::Amg::Parameters |
|
inlineinherited |
Set whether the AMG should be reused again during call to apply().
|
inlineinherited |
Get statistics of the AMG solver (no of levels, timings).
|
protectedinherited |
1.8.17