AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
ISTLPreconCreator< Precon, Traits > Struct Template Reference

Default precon creator. More...

#include <ISTLPreconCreator.hpp>

Inherits ISTLPreconCreatorBase< Traits >.

Public Member Functions

std::unique_ptr< typename Traits::Prec > createPrecon (typename Traits::M const &mat, typename Traits::Comm const &) const override
 
- Public Member Functions inherited from ISTLPreconCreatorBase< Traits >
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.
 

Additional Inherited Members

- Protected Attributes inherited from ISTLPreconCreatorBase< Traits >
double w_ = 1.0
 
int iter_ = 1
 

Detailed Description

template<class Precon, class Traits>
struct AMDiS::ISTLPreconCreator< Precon, Traits >

Default precon creator.

Constructs a preconditioner, using the constructor signature Precon(Mat const& matrix, int iterations, double relaxation)

Member Function Documentation

◆ createPrecon()

std::unique_ptr< typename Traits::Prec > createPrecon ( typename Traits::M const &  mat,
typename Traits::Comm const &   
) const
inlineoverridevirtual

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