#include <core/alien/kernels/dok/DoKMatrixT.h>
Public Types | |
| typedef Real | ValueType |
| Public Types inherited from Alien::IMatrixImpl | |
| typedef Arccore::Real | ValueType |
| Type of the values stored in the matrix. | |
Public Member Functions | |
| DoKMatrix (const MultiMatrixImpl *multi_impl=nullptr) | |
| DoKMatrix (const DoKMatrix &)=delete | |
| void | clear () override |
| Wipe out internal data. | |
| bool | setNNZ (Int32 row, Int32 col, const ValueType &value) |
| ValueType | addNNZ (Int32 row, Int32 col, const ValueType &value) |
| void | assemble () |
| Dispatch matrix elements. | |
| void | compact () |
| DoKLocalMatrixT< ValueType > & | data () |
| DoKLocalMatrixT< ValueType > & | data () const |
| void | dump () |
| Public Member Functions inherited from Alien::IMatrixImpl | |
| IMatrixImpl (const MultiMatrixImpl *multi_impl, BackEndId backend="") | |
| Constructor. | |
| virtual | ~IMatrixImpl () override=default |
| Free resources. | |
| IMatrixImpl (const IMatrixImpl &src)=delete | |
| IMatrixImpl (IMatrixImpl &&src)=delete | |
| IMatrixImpl & | operator= (const IMatrixImpl &src)=delete |
| IMatrixImpl & | operator= (IMatrixImpl &&src)=delete |
| virtual const ISpace & | rowSpace () const |
| Get the row space associated to the matrix \ returns The row space. | |
| virtual const ISpace & | colSpace () const |
| Get the row space associated to the matrix \ returns The row space. | |
| virtual const MatrixDistribution & | distribution () const |
| Get the distribution of the matrix. | |
| virtual BackEndId | backend () const |
| virtual const Block * | block () const |
| Get block datas of the matrix. | |
| virtual const VBlock * | vblock () const |
| Get block datas of the matrix. | |
| virtual const VBlock * | rowBlock () const |
| Get row block datas of the matrix. | |
| virtual const VBlock * | colBlock () const |
| Get col block datas of the matrix. | |
| const MultiMatrixImpl * | impls () const |
| Public Member Functions inherited from Alien::Timestamp | |
| Timestamp (const TimestampMng *manager) | |
| virtual | ~Timestamp () |
| Destructeur de la classe. | |
| virtual Int64 | timestamp () const |
| Donne la valeur courante du timestamp. | |
| void | updateTimestamp () |
| Met à jour le timestamp. | |
| void | copyTimestamp (const Timestamp &v) |
| Copy un autre timestamp. | |
| void | setTimestamp (const TimestampMng *manager, const Int64 timestamp) |
| Public Member Functions inherited from Alien::ObjectWithTrace | |
| template<typename T> | |
| void | alien_info (T &&t) const |
| template<typename T> | |
| void | alien_debug (T &&t) const |
| template<typename T> | |
| void | alien_warning (T &&t) const |
| template<typename T> | |
| void | alien_fatal (T &&t) const |
| ITraceMng * | traceMng () const |
Private Member Functions | |
| void | _distribute () |
Private Attributes | |
| DoKLocalMatrixT< ValueType > | m_data |
| bool | m_need_update = true |
Additional Inherited Members | |
| Protected Member Functions inherited from Alien::ObjectWithTrace | |
| TraceMessage | cout () const |
| Protected Attributes inherited from Alien::IMatrixImpl | |
| const MultiMatrixImpl * | m_multi_impl |
| Pointer on matrices implementation. | |
| BackEndId | m_backend |
| Backend id. | |
Matrix stored as Dictionary Of Keys
Definition at line 38 of file DoKMatrixT.h.
| typedef Real Alien::DoKMatrix::ValueType |
Definition at line 41 of file DoKMatrixT.h.
|
inlineexplicit |
Definition at line 44 of file DoKMatrixT.h.
|
inlineprivate |
Definition at line 90 of file DoKMatrixT.h.
|
inline |
Set value of a matrix element, creating it if it does not exist yet.
| row | id of the row in the matrix |
| col | id of the column in the matrix |
| value | value of this non-zero |
Definition at line 72 of file DoKMatrixT.h.
|
inline |
Dispatch matrix elements.
Definition at line 79 of file DoKMatrixT.h.
|
inlineoverridevirtual |
Wipe out internal data.
Reimplemented from Alien::IMatrixImpl.
Definition at line 53 of file DoKMatrixT.h.
|
inline |
Definition at line 81 of file DoKMatrixT.h.
|
inline |
Definition at line 83 of file DoKMatrixT.h.
|
inline |
Definition at line 85 of file DoKMatrixT.h.
|
inline |
Definition at line 87 of file DoKMatrixT.h.
|
inline |
Set value of a matrix element, creating it if it does not exist yet.
| row | id of the row in the matrix |
| col | id of the column in the matrix |
| value | value of this non-zero |
Definition at line 60 of file DoKMatrixT.h.
|
mutableprivate |
Definition at line 109 of file DoKMatrixT.h.
|
private |
Definition at line 110 of file DoKMatrixT.h.