DUNE PDELab (git)
Dune::PDELab::ISTLBackend_CG_AMG_SSOR< GO, s > Class Template Reference
Overlapping parallel conjugate gradient solver preconditioned with AMG smoothed by SSOR. More...
#include <dune/pdelab/backend/istl/ovlpistlsolverbackend.hh>
Public Types | |
typedef Dune::Amg::Parameters | Parameters |
Parameters object to customize matrix hierachy building. | |
Public Member Functions | |
ISTLBackend_CG_AMG_SSOR (const GFS &gfs_, unsigned maxiter_=5000, int verbose_=1, bool reuse_=false, bool usesuperlu_=true) | |
Constructor. More... | |
void | setParameters (const Parameters ¶ms_) |
set AMG parameters More... | |
const Parameters & | parameters () const |
Get the parameters describing the behaviuour of AMG. More... | |
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 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. | |
Detailed Description
template<class GO, int s = 96>
class Dune::PDELab::ISTLBackend_CG_AMG_SSOR< GO, s >
class Dune::PDELab::ISTLBackend_CG_AMG_SSOR< GO, s >
Overlapping parallel conjugate gradient 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 global index.
Constructor & Destructor Documentation
◆ ISTLBackend_CG_AMG_SSOR()
template<class GO , int s = 96>
|
inline |
Constructor.
Member Function Documentation
◆ apply()
template<class GO , int s, template< class, class, class, int > class Preconditioner, template< class > class Solver>
|
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 GO , int s, template< class, class, class, int > class Preconditioner, template< class > class Solver>
|
inlineinherited |
compute global norm of a vector
- Parameters
-
[in] v the given vector
◆ parameters()
template<class GO , int s, template< class, class, class, int > class Preconditioner, template< class > class Solver>
|
inlineinherited |
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.
◆ setParameters()
template<class GO , int s, template< class, class, class, int > class Preconditioner, template< class > class Solver>
|
inlineinherited |
set AMG parameters
- Parameters
-
[in] params_ a parameter object of Type Dune::Amg::Parameters
◆ statistics()
template<class GO , int s, template< class, class, class, int > class Preconditioner, template< class > class Solver>
|
inlineinherited |
Get statistics of the AMG solver (no of levels, timings).
- Returns
- statistis of the AMG solver.
The documentation for this class was generated from the following file:
- dune/pdelab/backend/istl/ovlpistlsolverbackend.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)