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. | |
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)