Overlapping parallel BiCGStab solver preconditioned with AMG smoothed by SSOR.
More...
|
| ISTLBackend_BCGS_AMG_SSOR (const GFS &gfs_, unsigned maxiter_=5000, int verbose_=1, bool reuse_=false, bool usesuperlu_=true) |
| Constructor.
|
|
void | setParameters (const Parameters ¶ms_) |
| set AMG parameters
|
|
const Parameters & | parameters () const |
| Get the parameters describing the behaviuour of AMG.
|
|
void | setReuse (bool reuse_) |
| Set whether the AMG should be reused again during call to apply().
|
|
bool | getReuse () const |
| Return whether the AMG is reused during call to apply()
|
|
V::ElementType | norm (const V &v) const |
| compute global norm of a vector
|
|
void | apply (M &A, V &z, V &r, typename Dune::template FieldTraits< typename V::ElementType >::real_type reduction) |
| solve the given linear system
|
|
const ISTLAMGStatistics & | statistics () const |
| Get statistics of the AMG solver (no of levels, timings).
|
|
const Dune::PDELab::LinearSolverResult< double > & | result () const |
| Return access to result data.
|
|
template<class GO, int s = 96>
class Dune::PDELab::ISTLBackend_BCGS_AMG_SSOR< GO, s >
Overlapping parallel BiCGStab solver preconditioned with AMG smoothed by SSOR.
- Template Parameters
-
GO | The type of the grid operator (or the fakeGOTraits class for the old grid operator space). |
s | The bits to use for the globale index. |
template<class GO , int s, template< class, class, class, int > class Preconditioner, template< class > class Solver>
void Dune::PDELab::ISTLBackend_AMG< GO, s, Preconditioner, Solver >::apply |
( |
M & |
A, |
|
|
V & |
z, |
|
|
V & |
r, |
|
|
typename Dune::template FieldTraits< typename V::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 |
template<class GO , int s, template< class, class, class, int > class Preconditioner, template< class > class Solver>
Get the parameters describing the behaviuour of AMG.
The returned object can be adjusted to ones needs and then can be reset using setParameters.
- Returns
- The object holding the parameters of AMG.