dune-pdelab  2.4-dev
Public Member Functions | Protected Attributes | List of all members
Dune::PDELab::ISTLBackend_SEQ_LS_AMG_SOR< GO > Class Template Reference

Sequential Loop solver preconditioned with AMG smoothed by SOR. More...

#include <dune/pdelab/backend/istl/seqistlsolverbackend.hh>

Inheritance diagram for Dune::PDELab::ISTLBackend_SEQ_LS_AMG_SOR< GO >:
Inheritance graph

Public Member Functions

 ISTLBackend_SEQ_LS_AMG_SOR (unsigned maxiter_=5000, int verbose_=1, bool reuse_=false, bool usesuperlu_=true)
 Constructor. More...
 
void setparams (Parameters params_)
 set AMG parameters More...
 
V::ElementType norm (const V &v) const
 compute global norm of a vector More...
 
void apply (M &A, V &z, V &r, typename V::ElementType reduction)
 solve the given linear system More...
 
const ISTLAMGStatisticsstatistics () 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
 

Detailed Description

template<class GO>
class Dune::PDELab::ISTLBackend_SEQ_LS_AMG_SOR< GO >

Sequential Loop solver preconditioned with AMG smoothed by SOR.

Template Parameters
GOThe type of the grid operator (or the fakeGOTraits class for the old grid operator space).

Constructor & Destructor Documentation

template<class GO >
Dune::PDELab::ISTLBackend_SEQ_LS_AMG_SOR< GO >::ISTLBackend_SEQ_LS_AMG_SOR ( unsigned  maxiter_ = 5000,
int  verbose_ = 1,
bool  reuse_ = false,
bool  usesuperlu_ = true 
)
inline

Constructor.

Parameters
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

Member Function Documentation

void Dune::PDELab::ISTLBackend_SEQ_AMG< GO, Dune::SeqSOR , Dune::LoopSolver , false >::apply ( M &  A,
V &  z,
V &  r,
typename V::ElementType  reduction 
)
inlineinherited
V::ElementType Dune::PDELab::ISTLBackend_SEQ_AMG< GO, Dune::SeqSOR , Dune::LoopSolver , false >::norm ( const V &  v) const
inlineinherited

compute global norm of a vector

Parameters
[in]vthe given vector

References Dune::PDELab::Backend::native().

const Dune::PDELab::LinearSolverResult<double>& Dune::PDELab::LinearResultStorage::result ( ) const
inlineinherited

Return access to result data.

References Dune::PDELab::LinearResultStorage::res.

void Dune::PDELab::ISTLBackend_SEQ_AMG< GO, Dune::SeqSOR , Dune::LoopSolver , false >::setparams ( Parameters  params_)
inlineinherited

set AMG parameters

Parameters
[in]params_a parameter object of Type Dune::Amg::Parameters
const ISTLAMGStatistics& Dune::PDELab::ISTLBackend_SEQ_AMG< GO, Dune::SeqSOR , Dune::LoopSolver , false >::statistics ( ) const
inlineinherited

Get statistics of the AMG solver (no of levels, timings).

Returns
statistis of the AMG solver.

Member Data Documentation

Dune::PDELab::LinearSolverResult<double> Dune::PDELab::LinearResultStorage::res
protectedinherited

The documentation for this class was generated from the following file: