16 #include <deal.II/lac/petsc_block_sparse_matrix.h> 18 #ifdef DEAL_II_WITH_PETSC 20 DEAL_II_NAMESPACE_OPEN
45 reinit (
const size_type n_block_rows,
46 const size_type n_block_columns)
58 this->column_block_indices.
reinit (n_block_columns, 0);
69 std::vector<BlockSparseMatrix::size_type >
73 std::vector< size_type > index_sets;
76 index_sets.push_back(this->block(0,i).n());
81 std::vector<BlockSparseMatrix::size_type >
85 std::vector< size_type > index_sets;
88 index_sets.push_back(this->block(i,0).m());
102 DEAL_II_NAMESPACE_CLOSE
BlockSparseMatrix & operator=(const BlockSparseMatrix &)
std::vector< size_type > locally_owned_domain_sizes() const
Subscriptor & operator=(const Subscriptor &)
BaseClass::BlockType BlockType
unsigned int n_block_cols() const
void reinit(const size_type n_block_rows, const size_type n_block_columns)
void reinit(const TableIndices< N > &new_size, const bool omit_default_initialization=false)
void reinit(const unsigned int n_blocks, const size_type n_elements_per_block)
Table< 2, SmartPointer< BlockType, BlockMatrixBase< PETScWrappers::SparseMatrix > > > sub_objects
BlockIndices row_block_indices
std::vector< size_type > locally_owned_range_sizes() const
unsigned int n_block_rows() const