Sparse matrix in Block CSR format. More...
Public Types | |
| typedef V | value_type |
| typedef V | val_type |
| typedef C | col_type |
| typedef P | ptr_type |
Public Member Functions | |
| template<class Matrix> | |
| BlockCSRMatrix (const Matrix &A, size_t block_size) | |
| Converts matrix in CRS format to Block CRS format. | |
Public Attributes | |
| size_t | block_size |
| size_t | nrows |
| size_t | ncols |
| size_t | brows |
| size_t | bcols |
| std::vector< ptr_type > | ptr |
| std::vector< col_type > | col |
| std::vector< val_type > | val |
Sparse matrix in Block CSR format.
| V | Value type. |
| C | Column number type. |
| P | Index type. |
Definition at line 48 of file BlockCSRMatrix.h.
| typedef C Arcane::Alina::BlockCSRMatrix< V, C, P >::col_type |
Definition at line 52 of file BlockCSRMatrix.h.
| typedef P Arcane::Alina::BlockCSRMatrix< V, C, P >::ptr_type |
Definition at line 53 of file BlockCSRMatrix.h.
| typedef V Arcane::Alina::BlockCSRMatrix< V, C, P >::val_type |
Definition at line 51 of file BlockCSRMatrix.h.
| typedef V Arcane::Alina::BlockCSRMatrix< V, C, P >::value_type |
Definition at line 50 of file BlockCSRMatrix.h.
|
inline |
Converts matrix in CRS format to Block CRS format.
| A | Input matrix. |
| block_size | Block size. |
Definition at line 73 of file BlockCSRMatrix.h.
| size_t Arcane::Alina::BlockCSRMatrix< V, C, P >::bcols |
Definition at line 57 of file BlockCSRMatrix.h.
| size_t Arcane::Alina::BlockCSRMatrix< V, C, P >::block_size |
Definition at line 55 of file BlockCSRMatrix.h.
| size_t Arcane::Alina::BlockCSRMatrix< V, C, P >::brows |
Definition at line 57 of file BlockCSRMatrix.h.
| std::vector<col_type> Arcane::Alina::BlockCSRMatrix< V, C, P >::col |
Definition at line 60 of file BlockCSRMatrix.h.
| size_t Arcane::Alina::BlockCSRMatrix< V, C, P >::ncols |
Definition at line 56 of file BlockCSRMatrix.h.
| size_t Arcane::Alina::BlockCSRMatrix< V, C, P >::nrows |
Definition at line 56 of file BlockCSRMatrix.h.
| std::vector<ptr_type> Arcane::Alina::BlockCSRMatrix< V, C, P >::ptr |
Definition at line 59 of file BlockCSRMatrix.h.
| std::vector<val_type> Arcane::Alina::BlockCSRMatrix< V, C, P >::val |
Definition at line 61 of file BlockCSRMatrix.h.