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 |
Default precon creator.
Constructs a preconditioner, using the constructor signature Precon(Mat const& matrix, int iterations, double relaxation)
|
inlineoverridevirtual |
Implements ISTLPreconCreatorBase< Traits >.