17#ifdef DEAL_II_WITH_TRILINOS
50 for (
unsigned int i = 0; i < this->
n_blocks(); ++i)
72 const bool omit_zeroing_entries)
79 for (
unsigned int i = 0; i < this->
n_blocks(); ++i)
82 omit_zeroing_entries);
92 const std::vector<IndexSet> &ghost_values,
94 const bool vector_writable)
103 for (
unsigned int i = 0; i < this->
n_blocks(); ++i)
117 const std::vector<std::shared_ptr<const Utilities::MPI::Partitioner>>
119 const bool make_ghosted,
120 const bool vector_writable)
127 for (
unsigned int i = 0; i < this->
n_blocks(); ++i)
145 for (
unsigned int i = 0; i < this->
n_blocks(); ++i)
147 omit_zeroing_entries,
179 for (
unsigned int i = 0; i < this->
n_blocks(); ++i)
190 const unsigned int precision,
191 const bool scientific,
192 const bool across)
const
194 for (
unsigned int i = 0; i < this->
n_blocks(); ++i)
197 out <<
'C' << i <<
':';
199 out <<
"Component " << i << std::endl;
200 this->
components[i].print(out, precision, scientific, across);
void reinit(const unsigned int n_blocks, const size_type n_elements_per_block)
unsigned int n_block_rows() const
unsigned int n_block_cols() const
BlockType & block(const unsigned int row, const unsigned int column)
unsigned int n_blocks() const
BlockVectorBase & operator=(const value_type s)
std::vector< MPI::Vector > components
BlockIndices block_indices
BlockType & block(const unsigned int i)
const BlockIndices & get_block_indices() const
void print(std::ostream &out, const unsigned int precision=3, const bool scientific=true, const bool across=true) const
BlockVector & operator=(const value_type s)
void reinit(const std::vector< IndexSet > ¶llel_partitioning, const MPI_Comm communicator=MPI_COMM_WORLD, const bool omit_zeroing_entries=false)
void import_nonlocal_data_for_fe(const TrilinosWrappers::BlockSparseMatrix &m, const BlockVector &v)
BaseClass::value_type value_type
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)
#define AssertDimension(dim1, dim2)
static ::ExceptionBase & ExcDimensionMismatch(std::size_t arg1, std::size_t arg2)
void swap(BlockVector &u, BlockVector &v) noexcept