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

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
 

Detailed Description

template<class Traits>
struct AMDiS::ISTLPreconCreator< tag::solver< Traits >, Traits >

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 preconditioner

Note: The sub solver can be parametrized using the initfile parameters [PRECON]->solver->(...).


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