
Public Types | |
| typedef MatrixBlock< MATRIX > | value_type |
Public Member Functions | |
| void | add (unsigned int row, unsigned int column, const std::string &name) |
| void | reinit (const BlockSparsityPattern &sparsity) |
| void | clear (bool really_clean=false) |
| unsigned int | memory_consumption () const |
| const value_type & | block (unsigned int i) const |
| value_type & | block (unsigned int i) |
| MATRIX & | matrix (unsigned int i) |
A vector of MatrixBlock, which is implemented using shared pointers, in order to allow for copying and rearranging. Each matrix block can be identified by name.
| typedef MatrixBlock<MATRIX> MatrixBlockVector< MATRIX >::value_type |
The type of object stored.
| void MatrixBlockVector< MATRIX >::add | ( | unsigned int | row, |
| unsigned int | column, | ||
| const std::string & | name | ||
| ) | [inline] |
Add a new matrix block at the position (row,column) in the block system.
| void MatrixBlockVector< MATRIX >::reinit | ( | const BlockSparsityPattern & | sparsity | ) | [inline] |
For matrices using a SparsityPattern, this function reinitializes each matrix in the vector with the correct pattern from the block system.
| void MatrixBlockVector< MATRIX >::clear | ( | bool | really_clean = false | ) | [inline] |
Clears the object.
Since often only clearing of the individual matrices is desired, but not removing the blocks themselves, there is an optional argument. If the argument is missing or false, all matrices will be mepty, but the size of this object and the block positions will not change. If really_clean is true, then the object will contain no blocks at the end.
References Assert, StandardExceptions::ExcNotImplemented(), and LAPACKSupport::matrix.
| unsigned int MatrixBlockVector< MATRIX >::memory_consumption | ( | ) | const |
The memory used by this object.
| const MatrixBlock< MATRIX > & MatrixBlockVector< MATRIX >::block | ( | unsigned int | i | ) | const [inline] |
Access a constant reference to the block at position i.
Referenced by MeshWorker::LocalResults< number >::initialize_matrices().
| MatrixBlock< MATRIX > & MatrixBlockVector< MATRIX >::block | ( | unsigned int | i | ) | [inline] |
Access a reference to the block at position i.
| MATRIX & MatrixBlockVector< MATRIX >::matrix | ( | unsigned int | i | ) | [inline] |
Access the matrix at position i for read and write access.
References LAPACKSupport::matrix.
documentation generated on Fri Aug 12 2011 15:01:05 by
doxygen
1.7.4