![]() |
Reference documentation for deal.II version 9.1.1
|
#include <deal.II/lac/block_vector.h>
Public Types | |
| using | BaseClass = BlockVectorBase< Vector< Number > > |
| using | BlockType = typename BaseClass::BlockType |
| using | value_type = typename BaseClass::value_type |
Public Member Functions | |
| BlockVector (const unsigned int n_blocks=0, const size_type block_size=0) | |
| BlockVector (const BlockVector< Number > &V) | |
| BlockVector (BlockVector< Number > &&) noexcept=default | |
| template<typename OtherNumber > | |
| BlockVector (const BlockVector< OtherNumber > &v) | |
| BlockVector (const TrilinosWrappers::MPI::BlockVector &v) | |
| BlockVector (const std::vector< size_type > &block_sizes) | |
| BlockVector (const BlockIndices &block_indices) | |
| template<typename InputIterator > | |
| BlockVector (const std::vector< size_type > &block_sizes, const InputIterator first, const InputIterator end) | |
| ~BlockVector () override=default | |
| void | compress (::VectorOperation::values operation=::VectorOperation::unknown) |
| bool | has_ghost_elements () const |
| BlockVector & | operator= (const value_type s) |
| BlockVector< Number > & | operator= (const BlockVector< Number > &v) |
| BlockVector< Number > & | operator= (BlockVector< Number > &&)=default |
| template<class Number2 > | |
| BlockVector< Number > & | operator= (const BlockVector< Number2 > &V) |
| BlockVector< Number > & | operator= (const Vector< Number > &V) |
| BlockVector< Number > & | operator= (const TrilinosWrappers::MPI::BlockVector &V) |
| void | reinit (const unsigned int n_blocks, const size_type block_size=0, const bool omit_zeroing_entries=false) |
| void | reinit (const std::vector< size_type > &block_sizes, const bool omit_zeroing_entries=false) |
| void | reinit (const BlockIndices &block_indices, const bool omit_zeroing_entries=false) |
| template<typename Number2 > | |
| void | reinit (const BlockVector< Number2 > &V, const bool omit_zeroing_entries=false) |
| template<class BlockVector2 > | |
| void | scale (const BlockVector2 &v) |
| void | swap (BlockVector< Number > &v) |
| void | print (std::ostream &out, const unsigned int precision=3, const bool scientific=true, const bool across=true) const |
| void | block_write (std::ostream &out) const |
| void | block_read (std::istream &in) |
Static Public Member Functions | |
| static ::ExceptionBase & | ExcIteratorRangeDoesNotMatchVectorSize () |
Related Functions | |
(Note that these are not member functions.) | |
| template<typename Number > | |
| void | swap (BlockVector< Number > &u, BlockVector< Number > &v) |
| template<typename Number > | |
| void | swap (LinearAlgebra::distributed::BlockVector< Number > &u, LinearAlgebra::distributed::BlockVector< Number > &v) |
An implementation of block vectors based on deal.II vectors. While the base class provides for most of the interface, this class handles the actual allocation of vectors and provides functions that are specific to the underlying vector type.
<float> and <double>; others can be generated in application programs (see the section on Template instantiations in the manual).Definition at line 41 of file block_linear_operator.h.
|
related |
Global function which overloads the default implementation of the C++ standard library which uses a temporary object. The function simply exchanges the data of the two vectors.
Definition at line 738 of file la_parallel_block_vector.h.
1.8.17