Template Numerical Library  version develop:4b9c6207
Public Types | Public Member Functions | Protected Attributes | List of all members
TNL::Solvers::Linear::Preconditioners::Diagonal< Matrix > Class Template Reference
Inheritance diagram for TNL::Solvers::Linear::Preconditioners::Diagonal< Matrix >:
Inheritance graph
[legend]
Collaboration diagram for TNL::Solvers::Linear::Preconditioners::Diagonal< Matrix >:
Collaboration graph
[legend]

Public Types

using DeviceType = typename Matrix::DeviceType
 
using IndexType = typename Matrix::IndexType
 
using RealType = typename Matrix::RealType
 
using VectorType = Containers::Vector< RealType, DeviceType, IndexType >
 
- Public Types inherited from TNL::Solvers::Linear::Preconditioners::Preconditioner< Matrix >
using ConstVectorViewType = typename Traits< Matrix >::ConstVectorViewType
 
using DeviceType = typename Matrix::DeviceType
 
using IndexType = typename Matrix::IndexType
 
using MatrixPointer = Pointers::SharedPointer< std::add_const_t< MatrixType > >
 
using MatrixType = Matrix
 
using RealType = typename Matrix::RealType
 
using VectorViewType = typename Traits< Matrix >::VectorViewType
 

Public Member Functions

virtual void solve (ConstVectorViewType b, VectorViewType x) const override
 
virtual void update (const MatrixPointer &matrixPointer) override
 
- Public Member Functions inherited from TNL::Solvers::Linear::Preconditioners::Preconditioner< Matrix >
virtual bool setup (const Config::ParameterContainer &parameters, const String &prefix="")
 

Protected Attributes

VectorType diagonal
 

Additional Inherited Members

- Static Public Member Functions inherited from TNL::Solvers::Linear::Preconditioners::Preconditioner< Matrix >
static void configSetup (Config::ConfigDescription &config, const String &prefix="")
 

The documentation for this class was generated from the following files: