Tool to manipulate a matrix entry while building the matrix. More...
#include <core/alien/data/utils/MatrixElement.h>
Public Member Functions | |
| MatrixElementT (const Arccore::Integer iIndex, const Arccore::Integer jIndex, Builder &parent) | |
| Constructor. | |
| Arccore::Real | operator() () const |
| accessor operator | |
| void | operator+= (Real value) |
| Add and set operator. | |
| void | operator-= (Real value) |
| Minus and set operator. | |
| void | operator= (Real value) |
| Assignment operator. | |
| template<typename Builder2> | |
| bool | operator= (const MatrixElementT< Builder2 > &other) |
| Comparison operator. | |
Private Attributes | |
| const Arccore::Integer | m_iIndex |
| The row index. | |
| const Arccore::Integer | m_jIndex |
| The col index. | |
| Builder & | m_parent |
| The builder. | |
Tool to manipulate a matrix entry while building the matrix.
| Builder | The type of the builder used to build the matrix |
Definition at line 44 of file MatrixElement.h.
|
inline |
Constructor.
| [in] | iIndex | The row index of the entry |
| [in] | jIndex | The col index of the entry |
| [in] | parent | The builder used to build the matrix |
Definition at line 53 of file MatrixElement.h.
|
inline |
|
inline |
Add and set operator.
| [in] | value | The value to add |
Definition at line 70 of file MatrixElement.h.
|
inline |
Minus and set operator.
| [in] | value | The value to substract |
Definition at line 79 of file MatrixElement.h.
|
inline |
Comparison operator.
| [in] | other | To be compare against. |
Definition at line 98 of file MatrixElement.h.
|
inline |
Assignment operator.
| [in] | value | The value to set |
Definition at line 88 of file MatrixElement.h.
|
private |
The row index.
Definition at line 107 of file MatrixElement.h.
Referenced by Alien::MatrixElementT< DirectMatrixBuilder >::operator=().
|
private |
The col index.
Definition at line 109 of file MatrixElement.h.
Referenced by Alien::MatrixElementT< DirectMatrixBuilder >::operator=().
|
private |
The builder.
Definition at line 111 of file MatrixElement.h.