AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
ISTLPreconCreatorBase< Traits > Class Template Referenceabstract

Base class for precon creators,. More...

#include <ISTLPreconCreator.hpp>

Inherits CreatorInterface< tag::preconditioner< Traits > >.

Inherited by AMGPreconCreator< AMGSolver, Traits >, ISTLPreconCreator< Precon, Traits >, ISTLPreconCreator< Dune::ParSSOR< M, X, Y, Comm >, Traits >, ISTLPreconCreator< Dune::Richardson< X, Y >, Traits >, ISTLPreconCreator< Dune::SeqILDL< M, X, Y >, Traits >, ISTLPreconCreator< tag::bjacobi, Traits >, and ISTLPreconCreator< tag::solver< Traits >, Traits >.

Public Member Functions

virtual void init (std::string const &prefix)
 Prepare the preconditioner for the creation. More...
 
virtual std::unique_ptr< Dune::Preconditioner< X, Y > > createPrecon (typename Traits::M const &A, typename Traits::Comm const &comm) const =0
 
virtual std::unique_ptr< tag::preconditioner< Traits > > create ()=0
 Must be implemented by sub classes of CreatorInterface. Creates a new instance of the sub class of BaseClass.
 

Protected Attributes

double w_ = 1.0
 
int iter_ = 1
 

Detailed Description

template<class Traits>
class AMDiS::ISTLPreconCreatorBase< Traits >

Base class for precon creators,.

See also
PreconCreator. Constructor for preconditioners.

Initfile parameters:

  • [PRECON]->relaxation: Dumping/relaxation factor
  • [PRECON]->iterations: Number of iterations the precon is applied.

Member Function Documentation

◆ init()

virtual void init ( std::string const &  prefix)
inlinevirtual

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