Damped Jacobi relaxation. More...
Classes | |
| struct | params |
| Relaxation parameters. More... | |
Public Types | |
| typedef Backend::value_type | value_type |
| typedef math::scalar_of< value_type >::type | scalar_type |
Public Member Functions | |
| template<class Matrix> | |
| DampedJacobiRelaxation (const Matrix &A, const params &prm, const typename Backend::params &backend_prm) | |
| Constructs smoother for the system matrix. | |
| template<class Matrix, class VectorRHS, class VectorX, class VectorTMP> | |
| void | apply_pre (const Matrix &A, const VectorRHS &rhs, VectorX &x, VectorTMP &tmp) const |
| Apply pre-relaxation. | |
| template<class Matrix, class VectorRHS, class VectorX, class VectorTMP> | |
| void | apply_post (const Matrix &A, const VectorRHS &rhs, VectorX &x, VectorTMP &tmp) const |
| Apply post-relaxation. | |
| template<class Matrix, class VectorRHS, class VectorX> | |
| void | apply (const Matrix &, const VectorRHS &rhs, VectorX &x) const |
| size_t | bytes () const |
| Memory used in bytes. | |
Public Attributes | |
| struct Arcane::Alina::DampedJacobiRelaxation::params | prm |
| std::shared_ptr< typename Backend::matrix_diagonal > | dia |
Damped Jacobi relaxation.
| Backend | Backend for temporary structures allocation. |
Definition at line 407 of file Relaxation.h.
| typedef math::scalar_of<value_type>::type Arcane::Alina::DampedJacobiRelaxation< Backend >::scalar_type |
Definition at line 411 of file Relaxation.h.
| typedef Backend::value_type Arcane::Alina::DampedJacobiRelaxation< Backend >::value_type |
Definition at line 410 of file Relaxation.h.
|
inline |
Constructs smoother for the system matrix.
| A | The system matrix. |
| prm | Relaxation parameters. |
| backend_prm | Backend parameters. |
Definition at line 446 of file Relaxation.h.
|
inline |
Definition at line 484 of file Relaxation.h.
|
inline |
Apply post-relaxation.
| A | System matrix. |
| rhs | Right-hand side. |
| x | Solution vector. |
| tmp | Scratch vector. |
| prm | Relaxation parameters. |
Definition at line 477 of file Relaxation.h.
|
inline |
Apply pre-relaxation.
| A | System matrix. |
| rhs | Right-hand side. |
| x | Solution vector. |
| tmp | Scratch vector. |
| prm | Relaxation parameters. |
Definition at line 462 of file Relaxation.h.
|
inlinevirtual |
Memory used in bytes.
Implements Arcane::Alina::RelaxationBase.
Definition at line 489 of file Relaxation.h.
| std::shared_ptr<typename Backend::matrix_diagonal> Arcane::Alina::DampedJacobiRelaxation< Backend >::dia |
Definition at line 437 of file Relaxation.h.