![]() |
Reference documentation for deal.II version 9.2.0
|
#include <deal.II/lac/block_sparse_matrix_ez.h>
Public Types | |
| using | size_type = types::global_dof_index |
Public Member Functions | |
| BlockSparseMatrixEZ ()=default | |
| BlockSparseMatrixEZ (const unsigned int block_rows, const unsigned int block_cols) | |
| BlockSparseMatrixEZ (const BlockSparseMatrixEZ< Number > &) | |
| BlockSparseMatrixEZ & | operator= (const BlockSparseMatrixEZ< Number > &) |
| BlockSparseMatrixEZ & | operator= (const double d) |
| void | clear () |
| void | reinit (const unsigned int n_block_rows, const unsigned int n_block_cols) |
| void | collect_sizes () |
| SparseMatrixEZ< Number > & | block (const unsigned int row, const unsigned int column) |
| const SparseMatrixEZ< Number > & | block (const unsigned int row, const unsigned int column) const |
| unsigned int | n_block_rows () const |
| unsigned int | n_block_cols () const |
| bool | empty () const |
| size_type | m () const |
| size_type | n () const |
| void | set (const size_type i, const size_type j, const Number value) |
| void | add (const size_type i, const size_type j, const Number value) |
| template<typename somenumber > | |
| void | vmult (BlockVector< somenumber > &dst, const BlockVector< somenumber > &src) const |
| template<typename somenumber > | |
| void | Tvmult (BlockVector< somenumber > &dst, const BlockVector< somenumber > &src) const |
| template<typename somenumber > | |
| void | vmult_add (BlockVector< somenumber > &dst, const BlockVector< somenumber > &src) const |
| template<typename somenumber > | |
| void | Tvmult_add (BlockVector< somenumber > &dst, const BlockVector< somenumber > &src) const |
| template<class StreamType > | |
| void | print_statistics (StreamType &s, bool full=false) |
Private Attributes | |
| BlockIndices | row_indices |
| BlockIndices | column_indices |
| Table< 2, SparseMatrixEZ< Number > > | blocks |
A block matrix consisting of blocks of type SparseMatrixEZ.
Like the other Block-objects, this matrix can be used like a SparseMatrixEZ, when it comes to access to entries. Then, there are functions for the multiplication with BlockVector and access to the individual blocks.
Definition at line 61 of file block_sparse_matrix_ez.h.