![]() |
Reference documentation for deal.II version 8.1.0
|
#include <block_matrix_array.h>
Public Member Functions | |
template<class MATRIX > | |
Entry (const MATRIX &matrix, size_type row, size_type col, double prefix, bool transpose) | |
Entry (const Entry &) | |
~Entry () | |
Public Attributes | |
size_type | row |
size_type | col |
double | prefix |
bool | transpose |
PointerMatrixBase< Vector < number > > * | matrix |
Internal data structure.
For each entry of a BlockMatrixArray, its position, matrix, prefix and optional transposition must be stored. This structure encapsulates all of them.
Definition at line 333 of file block_matrix_array.h.
BlockMatrixArray< number >::Entry::Entry | ( | const MATRIX & | matrix, |
size_type | row, | ||
size_type | col, | ||
double | prefix, | ||
bool | transpose | ||
) |
Constructor initializing all data fields. A PointerMatrix object is generated for matrix
.
BlockMatrixArray< number >::Entry::Entry | ( | const Entry & | ) |
Copy constructor invalidating the old object. Since it is only used for entering temporary objects into a vector, this is ok.
For a deep copy, we would need a reproduction operator in PointerMatixBase.
BlockMatrixArray< number >::Entry::~Entry | ( | ) |
Destructor, where we delete the PointerMatrix created by the constructor.
size_type BlockMatrixArray< number >::Entry::row |
Row number in the block matrix.
Definition at line 375 of file block_matrix_array.h.
size_type BlockMatrixArray< number >::Entry::col |
Column number in the block matrix.
Definition at line 381 of file block_matrix_array.h.
double BlockMatrixArray< number >::Entry::prefix |
Factor in front of the matrix block.
Definition at line 387 of file block_matrix_array.h.
bool BlockMatrixArray< number >::Entry::transpose |
Indicates that matrix block must be transposed for multiplication.
Definition at line 394 of file block_matrix_array.h.
PointerMatrixBase<Vector<number> >* BlockMatrixArray< number >::Entry::matrix |
The matrix block itself.
Definition at line 399 of file block_matrix_array.h.