|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
18 #ifdef DEAL_II_WITH_TRILINOS
72 const bool omit_zeroing_entries)
74 const size_type no_blocks = parallel_partitioning.size();
75 std::vector<size_type> block_sizes(no_blocks);
79 block_sizes[i] = parallel_partitioning[i].size();
89 omit_zeroing_entries);
96 const std::vector<IndexSet> &ghost_values,
98 const bool vector_writable)
100 const size_type no_blocks = parallel_partitioning.size();
101 std::vector<size_type> block_sizes(no_blocks);
103 for (
size_type i = 0; i < no_blocks; ++i)
105 block_sizes[i] = parallel_partitioning[i].size();
140 std::vector<size_type> block_sizes(num_blocks, 0);
142 if (this->
components.size() != this->n_blocks())
179 const unsigned int precision,
180 const bool scientific,
181 const bool across)
const
186 out <<
'C' << i <<
':';
188 out <<
"Component " << i << std::endl;
189 this->
components[i].print(out, precision, scientific, across);
unsigned int n_block_cols() const
unsigned int n_block_rows() const
BaseClass::value_type value_type
void swap(BlockVector &u, BlockVector &v)
BlockType & block(const unsigned int row, const unsigned int column)
void import_nonlocal_data_for_fe(const TrilinosWrappers::BlockSparseMatrix &m, const BlockVector &v)
std::vector< MPI::Vector > components
#define DEAL_II_NAMESPACE_OPEN
unsigned int n_blocks() const
void print(std::ostream &out, const unsigned int precision=3, const bool scientific=true, const bool across=true) const
BlockVectorBase & operator=(const value_type s)
BlockIndices block_indices
const BlockIndices & get_block_indices() const
#define Assert(cond, exc)
void reinit(const unsigned int n_blocks, const size_type n_elements_per_block)
void reinit(const std::vector< IndexSet > ¶llel_partitioning, const MPI_Comm &communicator=MPI_COMM_WORLD, const bool omit_zeroing_entries=false)
static ::ExceptionBase & ExcDimensionMismatch(std::size_t arg1, std::size_t arg2)
#define DEAL_II_NAMESPACE_CLOSE
BlockType & block(const unsigned int i)
BlockVector & operator=(const value_type s)