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\}}\)
Classes | Namespaces | Functions
block_vector.h File Reference
#include <deal.II/base/config.h>
#include <deal.II/base/exceptions.h>
#include <deal.II/lac/block_indices.h>
#include <deal.II/lac/block_vector_base.h>
#include <deal.II/lac/vector_operation.h>
#include <deal.II/lac/vector_type_traits.h>
#include <cstdio>
#include <vector>

Go to the source code of this file.

Classes

class  BlockVector< Number >
 
class  internal::LinearOperatorImplementation::ReinitHelper< Vector >
 
class  internal::LinearOperatorImplementation::ReinitHelper< BlockVector< number > >
 
struct  is_serial_vector< BlockVector< Number > >
 

Namespaces

 internal
 
 internal::LinearOperatorImplementation
 

Functions

template<typename Number >
void swap (BlockVector< Number > &u, BlockVector< Number > &v)
 

Function Documentation

◆ swap()

template<typename Number >
void swap ( BlockVector< Number > &  u,
BlockVector< Number > &  v 
)
inline

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.

Author
Wolfgang Bangerth, 2000

Definition at line 491 of file block_vector.h.