Distributed Matrix using message passing. More...
Public Types | |
| typedef Backend::value_type | value_type |
| typedef math::rhs_of< value_type >::type | rhs_type |
| typedef math::scalar_of< value_type >::type | scalar_type |
| typedef Backend::params | backend_params |
| typedef Backend::matrix | matrix |
| typedef CommunicationPattern< Backend > | CommPattern |
| typedef Backend::matrix | build_matrix |
Public Member Functions | |
| DistributedMatrix (AlinaCommunicator comm, std::shared_ptr< build_matrix > a_loc, std::shared_ptr< build_matrix > a_rem, std::shared_ptr< CommPattern > c=std::shared_ptr< CommPattern >()) | |
| template<class OtherBackend> | |
| DistributedMatrix (const DistributedMatrix< OtherBackend > &A) | |
| template<class Matrix> | |
| DistributedMatrix (AlinaCommunicator comm, const Matrix &A, ptrdiff_t _n_loc_cols=-1) | |
| AlinaCommunicator | comm () const |
| std::shared_ptr< build_matrix > | local () const |
| std::shared_ptr< build_matrix > | remote () const |
| std::shared_ptr< matrix > | local_backend () const |
| std::shared_ptr< matrix > | remote_backend () const |
| ptrdiff_t | loc_rows () const |
| ptrdiff_t | loc_cols () const |
| ptrdiff_t | loc_col_shift () const |
| ptrdiff_t | loc_nonzeros () const |
| ptrdiff_t | glob_rows () const |
| ptrdiff_t | glob_cols () const |
| ptrdiff_t | glob_nonzeros () const |
| const CommunicationPattern< Backend > & | cpat () const |
| void | set_local (std::shared_ptr< matrix > a) |
| void | move_to_backend (const backend_params &bprm=backend_params(), bool keep_src=false) |
| template<class A, class VecX, class B, class VecY> | |
| void | mul (A alpha, const VecX &x, B beta, VecY &y) const |
| template<class Vec1, class Vec2, class Vec3> | |
| void | residual (const Vec1 &f, const Vec2 &x, Vec3 &r) const |
Private Attributes | |
| std::shared_ptr< CommPattern > | C |
| std::shared_ptr< matrix > | A_loc |
| std::shared_ptr< matrix > | A_rem |
| std::shared_ptr< build_matrix > | a_loc |
| std::shared_ptr< build_matrix > | a_rem |
| ptrdiff_t | n_loc_rows |
| ptrdiff_t | n_glob_rows |
| ptrdiff_t | n_loc_cols |
| ptrdiff_t | n_glob_cols |
| ptrdiff_t | n_loc_nonzeros |
| ptrdiff_t | n_glob_nonzeros |
Distributed Matrix using message passing.
Definition at line 351 of file DistributedMatrix.h.
| typedef Backend::params Arcane::Alina::DistributedMatrix< Backend >::backend_params |
Definition at line 358 of file DistributedMatrix.h.
| typedef Backend::matrix Arcane::Alina::DistributedMatrix< Backend >::build_matrix |
Definition at line 361 of file DistributedMatrix.h.
| typedef CommunicationPattern<Backend> Arcane::Alina::DistributedMatrix< Backend >::CommPattern |
Definition at line 360 of file DistributedMatrix.h.
| typedef Backend::matrix Arcane::Alina::DistributedMatrix< Backend >::matrix |
Definition at line 359 of file DistributedMatrix.h.
| typedef math::rhs_of<value_type>::type Arcane::Alina::DistributedMatrix< Backend >::rhs_type |
Definition at line 356 of file DistributedMatrix.h.
| typedef math::scalar_of<value_type>::type Arcane::Alina::DistributedMatrix< Backend >::scalar_type |
Definition at line 357 of file DistributedMatrix.h.
| typedef Backend::value_type Arcane::Alina::DistributedMatrix< Backend >::value_type |
Definition at line 355 of file DistributedMatrix.h.
|
inline |
Definition at line 363 of file DistributedMatrix.h.
|
inline |
Definition at line 390 of file DistributedMatrix.h.
|
inline |
Definition at line 407 of file DistributedMatrix.h.
|
inline |
Definition at line 476 of file DistributedMatrix.h.
|
inline |
Definition at line 536 of file DistributedMatrix.h.
|
inline |
Definition at line 526 of file DistributedMatrix.h.
|
inline |
Definition at line 531 of file DistributedMatrix.h.
|
inline |
Definition at line 521 of file DistributedMatrix.h.
|
inline |
Definition at line 511 of file DistributedMatrix.h.
|
inline |
Definition at line 506 of file DistributedMatrix.h.
|
inline |
Definition at line 516 of file DistributedMatrix.h.
|
inline |
Definition at line 501 of file DistributedMatrix.h.
|
inline |
Definition at line 481 of file DistributedMatrix.h.
|
inline |
Definition at line 491 of file DistributedMatrix.h.
|
inline |
Definition at line 546 of file DistributedMatrix.h.
|
inline |
Definition at line 575 of file DistributedMatrix.h.
|
inline |
Definition at line 486 of file DistributedMatrix.h.
|
inline |
Definition at line 496 of file DistributedMatrix.h.
|
inline |
Definition at line 592 of file DistributedMatrix.h.
|
inline |
Definition at line 541 of file DistributedMatrix.h.
|
private |
Definition at line 608 of file DistributedMatrix.h.
|
private |
Definition at line 609 of file DistributedMatrix.h.
|
private |
Definition at line 608 of file DistributedMatrix.h.
|
private |
Definition at line 609 of file DistributedMatrix.h.
|
private |
Definition at line 607 of file DistributedMatrix.h.
|
private |
Definition at line 612 of file DistributedMatrix.h.
|
private |
Definition at line 613 of file DistributedMatrix.h.
|
private |
Definition at line 611 of file DistributedMatrix.h.
|
private |
Definition at line 612 of file DistributedMatrix.h.
|
private |
Definition at line 613 of file DistributedMatrix.h.
|
private |
Definition at line 611 of file DistributedMatrix.h.