16 #include <deal.II/lac/petsc_parallel_block_vector.h> 18 #ifdef DEAL_II_WITH_PETSC 20 DEAL_II_NAMESPACE_OPEN
31 std::vector<size_type> block_sizes (num_blocks, 0);
36 for (
unsigned int i=0; i<this->
n_blocks(); ++i)
45 DEAL_II_NAMESPACE_CLOSE
47 #endif // DEAL_II_WITH_PETSC void reinit(const unsigned int n_blocks, const MPI_Comm &communicator, const size_type block_size, const size_type local_size, const bool omit_zeroing_entries=false)
types::global_dof_index size_type
BlockIndices block_indices
unsigned int global_dof_index
void reinit(const unsigned int n_blocks, const size_type n_elements_per_block)
std::vector< Vector > components
unsigned int n_blocks() const