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. | |
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 >
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()
template<class Precon , class Traits >
|
inlineoverridevirtual |
Implements ISTLPreconCreatorBase< Traits >.
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/amdis/checkouts/latest/amdis/linearalgebra/istl/ISTLPreconCreator.hpp
Public Member Functions inherited from