DUNE PDELab (git)

Dune::PDELab::ISTLBackend_NOVLP_CG_AMG_SSOR< GO, s > Class Template Reference

Nonoverlapping parallel CG solver preconditioned with AMG smoothed by SSOR. More...

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

Public Member Functions

void setParameters (const Parameters &params_)
 set AMG parameters More...
 
const Parametersparameters () 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...
 
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.
 

Detailed Description

template<class GO, int s = 96>
class Dune::PDELab::ISTLBackend_NOVLP_CG_AMG_SSOR< GO, s >

Nonoverlapping parallel CG solver preconditioned with AMG smoothed by SSOR.

Template Parameters
GOThe type of the grid operator (or the fakeGOTraits class for the old grid operator space). This class will be used to adjust the discretization matrix. and extract the trial grid function space.
sThe bits to use for the global index.

The solver uses AMG with underlying sequential SSOR preconditioner. The crucial step is to add up the matrix entries corresponding to the border vertices on each process. This is achieved by performing a VertexExchanger::sumEntries(Matrix&).

Member Function Documentation

◆ norm()

template<class GO , int s, template< class, class, class, int > class Preconditioner, template< class > class Solver>
V::ElementType Dune::PDELab::ISTLBackend_AMG_NOVLP< GO, s, Preconditioner, Solver >::norm ( const V &  v) const
inlineinherited

compute global norm of a vector

Parameters
[in]vthe given vector

◆ parameters()

template<class GO , int s, template< class, class, class, int > class Preconditioner, template< class > class Solver>
const Parameters & Dune::PDELab::ISTLBackend_AMG_NOVLP< GO, s, Preconditioner, Solver >::parameters ( ) const
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>
void Dune::PDELab::ISTLBackend_AMG_NOVLP< GO, s, Preconditioner, Solver >::setParameters ( const Parameters params_)
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>
const ISTLAMGStatistics & Dune::PDELab::ISTLBackend_AMG_NOVLP< GO, s, Preconditioner, Solver >::statistics ( ) const
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:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 23, 23:29, 2024)