deal.II version GIT relicensing-2206-gaa53ff9447 2024-12-02 09:10:00+00:00
\(\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\}}\)
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
la_parallel_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/la_parallel_vector.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  LinearAlgebra::distributed::BlockVector< Number >
 
struct  is_serial_vector< LinearAlgebra::distributed::BlockVector< Number > >
 

Namespaces

namespace  LinearAlgebra
 
namespace  LinearAlgebra::distributed
 

Functions

template<typename Number >
void swap (LinearAlgebra::distributed::BlockVector< Number > &u, LinearAlgebra::distributed::BlockVector< Number > &v) noexcept
 

Function Documentation

◆ swap()

template<typename Number >
void swap ( LinearAlgebra::distributed::BlockVector< Number > &  u,
LinearAlgebra::distributed::BlockVector< Number > &  v 
)
inlinenoexcept

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 821 of file la_parallel_block_vector.h.