Reference documentation for deal.II version 8.5.1
|
#include <deal.II/lac/block_matrix_array.h>
Public Member Functions | |
template<typename MatrixType > | |
Entry (const MatrixType &matrix, size_type row, size_type col, number prefix, bool transpose) | |
Entry (const Entry &) | |
~Entry () | |
Public Attributes | |
size_type | row |
size_type | col |
number | prefix |
bool | transpose |
PointerMatrixBase< typename BlockVectorType::BlockType > * | 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 268 of file block_matrix_array.h.
BlockMatrixArray< number, BlockVectorType >::Entry::Entry | ( | const MatrixType & | matrix, |
size_type | row, | ||
size_type | col, | ||
number | prefix, | ||
bool | transpose | ||
) |
Constructor initializing all data fields. A PointerMatrix object is generated for matrix
.
BlockMatrixArray< number, BlockVectorType >::Entry::Entry | ( | const Entry & | e | ) |
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.
Definition at line 30 of file block_matrix_array.cc.
BlockMatrixArray< number, BlockVectorType >::Entry::~Entry | ( | ) |
Destructor, where we delete the PointerMatrix created by the constructor.
Definition at line 45 of file block_matrix_array.cc.
size_type BlockMatrixArray< number, BlockVectorType >::Entry::row |
Row number in the block matrix.
Definition at line 300 of file block_matrix_array.h.
size_type BlockMatrixArray< number, BlockVectorType >::Entry::col |
Column number in the block matrix.
Definition at line 305 of file block_matrix_array.h.
number BlockMatrixArray< number, BlockVectorType >::Entry::prefix |
Factor in front of the matrix block.
Definition at line 310 of file block_matrix_array.h.
bool BlockMatrixArray< number, BlockVectorType >::Entry::transpose |
Indicates that matrix block must be transposed for multiplication.
Definition at line 315 of file block_matrix_array.h.
PointerMatrixBase<typename BlockVectorType::BlockType >* BlockMatrixArray< number, BlockVectorType >::Entry::matrix |
The matrix block itself.
Definition at line 320 of file block_matrix_array.h.