Allows to use an AMG smoother as standalone preconditioner. More...
Public Types | |
| typedef Backend | backend_type |
| typedef Relax< Backend > | smoother |
| typedef Backend::matrix | matrix |
| typedef Backend::vector | vector |
| typedef smoother::params | params |
| typedef Backend::params | backend_params |
| typedef Backend::value_type | value_type |
| typedef Backend::col_type | col_type |
| typedef Backend::ptr_type | ptr_type |
| typedef BuiltinBackend< value_type, col_type, ptr_type >::matrix | build_matrix |
Public Member Functions | |
| template<class Matrix> | |
| RelaxationAsPreconditioner (const Matrix &M, const params &prm=params(), const backend_params &bprm=backend_params()) | |
| RelaxationAsPreconditioner (std::shared_ptr< build_matrix > M, const params &prm=params(), const backend_params &bprm=backend_params()) | |
| template<class Vec1, class Vec2> | |
| void | apply (const Vec1 &rhs, Vec2 &&x) const |
| const matrix & | system_matrix () const |
| std::shared_ptr< matrix > | system_matrix_ptr () const |
| size_t | bytes () const |
Private Member Functions | |
| void | init (std::shared_ptr< build_matrix > M, const backend_params &bprm) |
Private Attributes | |
| params | prm |
| std::shared_ptr< matrix > | A |
| std::shared_ptr< smoother > | S |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const RelaxationAsPreconditioner &p) |
Allows to use an AMG smoother as standalone preconditioner.
Definition at line 143 of file Relaxation.h.
| typedef Backend::params Arcane::Alina::RelaxationAsPreconditioner< Backend, Relax >::backend_params |
Definition at line 154 of file Relaxation.h.
| typedef Backend Arcane::Alina::RelaxationAsPreconditioner< Backend, Relax >::backend_type |
Definition at line 147 of file Relaxation.h.
| typedef BuiltinBackend<value_type,col_type,ptr_type>::matrix Arcane::Alina::RelaxationAsPreconditioner< Backend, Relax >::build_matrix |
Definition at line 159 of file Relaxation.h.
| typedef Backend::col_type Arcane::Alina::RelaxationAsPreconditioner< Backend, Relax >::col_type |
Definition at line 157 of file Relaxation.h.
| typedef Backend::matrix Arcane::Alina::RelaxationAsPreconditioner< Backend, Relax >::matrix |
Definition at line 151 of file Relaxation.h.
| typedef smoother::params Arcane::Alina::RelaxationAsPreconditioner< Backend, Relax >::params |
Definition at line 153 of file Relaxation.h.
| typedef Backend::ptr_type Arcane::Alina::RelaxationAsPreconditioner< Backend, Relax >::ptr_type |
Definition at line 158 of file Relaxation.h.
| typedef Relax<Backend> Arcane::Alina::RelaxationAsPreconditioner< Backend, Relax >::smoother |
Definition at line 149 of file Relaxation.h.
| typedef Backend::value_type Arcane::Alina::RelaxationAsPreconditioner< Backend, Relax >::value_type |
Definition at line 156 of file Relaxation.h.
| typedef Backend::vector Arcane::Alina::RelaxationAsPreconditioner< Backend, Relax >::vector |
Definition at line 152 of file Relaxation.h.
|
inline |
Definition at line 162 of file Relaxation.h.
|
inline |
Definition at line 170 of file Relaxation.h.
|
inline |
Definition at line 179 of file Relaxation.h.
|
inline |
Definition at line 194 of file Relaxation.h.
|
inlineprivate |
Definition at line 213 of file Relaxation.h.
|
inline |
Definition at line 184 of file Relaxation.h.
|
inline |
Definition at line 189 of file Relaxation.h.
|
friend |
Definition at line 219 of file Relaxation.h.
|
private |
Definition at line 210 of file Relaxation.h.
|
private |
Definition at line 208 of file Relaxation.h.
|
private |
Definition at line 211 of file Relaxation.h.