18#ifdef DEAL_II_WITH_TRILINOS
51 for (
unsigned int i = 0; i < this->
n_blocks(); ++i)
73 const bool omit_zeroing_entries)
80 for (
unsigned int i = 0; i < this->
n_blocks(); ++i)
83 omit_zeroing_entries);
93 const std::vector<IndexSet> &ghost_values,
95 const bool vector_writable)
104 for (
unsigned int i = 0; i < this->
n_blocks(); ++i)
118 const std::vector<std::shared_ptr<const Utilities::MPI::Partitioner>>
120 const bool make_ghosted,
121 const bool vector_writable)
128 for (
unsigned int i = 0; i < this->
n_blocks(); ++i)
146 for (
unsigned int i = 0; i < this->
n_blocks(); ++i)
148 omit_zeroing_entries,
180 for (
unsigned int i = 0; i < this->
n_blocks(); ++i)
191 const unsigned int precision,
192 const bool scientific,
193 const bool across)
const
195 for (
unsigned int i = 0; i < this->
n_blocks(); ++i)
198 out <<
'C' << i <<
':';
200 out <<
"Component " << i << std::endl;
201 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)