#include <dune/pdelab/backend/istl/seqistlsolverbackend.hh>
◆ ISTLBackend_SEQ_AMG()
template<class GO , template< class, class, class, int > class Preconditioner, template< class > class Solver, bool skipBlocksizeCheck = false>
Dune::PDELab::ISTLBackend_SEQ_AMG< GO, Preconditioner, Solver, skipBlocksizeCheck >::ISTLBackend_SEQ_AMG |
( |
unsigned |
maxiter_ = 5000 , |
|
|
int |
verbose_ = 1 , |
|
|
bool |
reuse_ = false , |
|
|
bool |
usesuperlu_ = true |
|
) |
| |
|
inline |
◆ apply()
template<class GO , template< class, class, class, int > class Preconditioner, template< class > class Solver, bool skipBlocksizeCheck = false>
void Dune::PDELab::ISTLBackend_SEQ_AMG< GO, Preconditioner, Solver, skipBlocksizeCheck >::apply |
( |
M & |
A, |
|
|
V & |
z, |
|
|
V & |
r, |
|
|
typename Dune::template FieldTraits< typename V::ElementType >::real_type |
reduction |
|
) |
| |
|
inline |
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 |
◆ getReuse()
template<class GO , template< class, class, class, int > class Preconditioner, template< class > class Solver, bool skipBlocksizeCheck = false>
Return whether the AMG is reused during call to apply()
◆ norm()
template<class GO , template< class, class, class, int > class Preconditioner, template< class > class Solver, bool skipBlocksizeCheck = false>
compute global norm of a vector
- Parameters
-
◆ result()
Return access to result data.
◆ setparams()
template<class GO , template< class, class, class, int > class Preconditioner, template< class > class Solver, bool skipBlocksizeCheck = false>
set AMG parameters
- Parameters
-
[in] | params_ | a parameter object of Type Dune::Amg::Parameters |
◆ setReuse()
template<class GO , template< class, class, class, int > class Preconditioner, template< class > class Solver, bool skipBlocksizeCheck = false>
Set whether the AMG should be reused again during call to apply().
◆ statistics()
template<class GO , template< class, class, class, int > class Preconditioner, template< class > class Solver, bool skipBlocksizeCheck = false>
Get statistics of the AMG solver (no of levels, timings).
- Returns
- statistis of the AMG solver.
◆ res
The documentation for this class was generated from the following file: