Reference documentation for deal.II version 9.0.0
|
#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 () | |
Entry & | operator= (const Entry &)=delete |
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 270 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 29 of file block_matrix_array.cc.
BlockMatrixArray< number, BlockVectorType >::Entry::~Entry | ( | ) |
Destructor, where we delete the PointerMatrix created by the constructor.
Definition at line 44 of file block_matrix_array.cc.
|
delete |
Assignment operator.
size_type BlockMatrixArray< number, BlockVectorType >::Entry::row |
Row number in the block matrix.
Definition at line 302 of file block_matrix_array.h.
size_type BlockMatrixArray< number, BlockVectorType >::Entry::col |
Column number in the block matrix.
Definition at line 307 of file block_matrix_array.h.
number BlockMatrixArray< number, BlockVectorType >::Entry::prefix |
Factor in front of the matrix block.
Definition at line 312 of file block_matrix_array.h.
bool BlockMatrixArray< number, BlockVectorType >::Entry::transpose |
Indicates that matrix block must be transposed for multiplication.
Definition at line 317 of file block_matrix_array.h.
PointerMatrixBase<typename BlockVectorType::BlockType >* BlockMatrixArray< number, BlockVectorType >::Entry::matrix |
The matrix block itself.
Definition at line 322 of file block_matrix_array.h.