Specialization of the diagonal preconditioner for distributed matrices.
More...
#include <TNL/Solvers/Linear/Preconditioners/Diagonal.h>
|
using | DeviceType |
| Device where the preconditioner will run on and auxillary data will alloacted on.
|
|
using | DeviceType = typename MatrixType::DeviceType |
| Device where the solver will run on and auxillary data will alloacted on.
|
|
using | IndexType |
| Type for indexing.
|
|
using | IndexType = typename MatrixType::IndexType |
| Type for indexing.
|
|
using | MatrixType |
| Type of the matrix representing the linear system.
|
|
using | MatrixType = Matrices::DistributedMatrix< Matrix > |
| Type of the matrix representing the linear system.
|
|
using | RealType |
| Floating point type used for computations.
|
|
using | RealType = typename MatrixType::RealType |
| Floating point type used for computations.
|
|
using | ConstVectorViewType = typename Traits< Matrix >::ConstVectorViewType |
| Type for constant vector view.
|
|
using | DeviceType = typename Matrix::DeviceType |
| Device where the solver will run on and auxillary data will alloacted on.
|
|
using | IndexType = typename Matrix::IndexType |
| Type for indexing.
|
|
using | MatrixPointer = std::shared_ptr< std::add_const_t< MatrixType > > |
| Type of shared pointer to the matrix.
|
|
using | MatrixType = Matrix |
| Type of the matrix representing the linear system.
|
|
using | RealType = typename Matrix::RealType |
| Floating point type used for computations.
|
|
using | VectorViewType = typename Traits< Matrix >::VectorViewType |
| Type for vector view.
|
|
using | ConstVectorViewType |
| Type for constant vector view.
|
|
using | DeviceType |
| Device where the solver will run on and auxillary data will alloacted on.
|
|
using | IndexType |
| Type for indexing.
|
|
using | MatrixPointer |
| Type of shared pointer to the matrix.
|
|
using | MatrixType |
| Type of the matrix representing the linear system.
|
|
using | RealType |
| Floating point type used for computations.
|
|
using | VectorViewType |
| Type for vector view.
|
|
|
virtual void | solve (ConstVectorViewType b, VectorViewType x) const override |
| This method applies the preconditioner.
|
|
virtual void | solve (ConstVectorViewType b, VectorViewType x) const override |
| This method applies the preconditioner.
|
|
virtual void | update (const MatrixPointer &matrixPointer) override |
| This method updates the preconditioner with respect to given matrix.
|
|
virtual void | update (const MatrixPointer &matrixPointer) override |
| This method updates the preconditioner with respect to given matrix.
|
|
virtual | ~Preconditioner () |
| Destructor of the preconditioner.
|
|
virtual bool | setup (const Config::ParameterContainer ¶meters, const String &prefix="") |
| Method for setup of the preconditioner of linear iterative solver based on configuration parameters.
|
|
virtual | ~Preconditioner () |
| Destructor of the preconditioner.
|
|
virtual bool | setup (const Config::ParameterContainer ¶meters, const String &prefix="") |
| Method for setup of the preconditioner of linear iterative solver based on configuration parameters.
|
|
template<typename Matrix>
class TNL::Solvers::Linear::Preconditioners::Diagonal< Matrices::DistributedMatrix< Matrix > >
Specialization of the diagonal preconditioner for distributed matrices.
See TNL::Solvers::Linear::Preconditioners::Diagonal
- Template Parameters
-
Matrix | is a type of matrix describing the linear system. |
◆ DeviceType [1/2]
◆ DeviceType [2/2]
template<typename Matrix>
◆ solve() [1/2]
◆ solve() [2/2]
template<typename Matrix>
◆ update() [1/2]
◆ update() [2/2]
template<typename Matrix>
The documentation for this class was generated from the following files:
- src/TNL/Solvers/Linear/Preconditioners/Diagonal.h
- src/TNL/Solvers/Linear/Preconditioners/Diagonal.hpp