Precon creator for the InverseOperator2Preconditioner preconditioner. More...
#include <ISTLPreconCreator.hpp>
Inherits ISTLPreconCreatorBase< Traits >.
Public Types | |
using | Super = ISTLPreconCreatorBase< Traits > |
Public Member Functions | |
void | init (std::string const &prefix) override |
Prepare the preconditioner for the creation. | |
std::unique_ptr< typename Traits::Prec > | createPrecon (typename Traits::M const &mat, typename Traits::Comm const &comm) const override |
Additional Inherited Members | |
Protected Attributes inherited from ISTLPreconCreatorBase< Traits > | |
double | w_ = 1.0 |
int | iter_ = 1 |
Precon creator for the InverseOperator2Preconditioner preconditioner.
Constructs a new solver that is wrapped into a preconditioner.
Initfile parameters:
[PRECON]->solver
: the linear solver to use as preconditionerNote: The sub solver can be parametrized using the initfile parameters [PRECON]->solver->(...)
.