Reference documentation for deal.II version 9.6.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\}}\)
Loading...
Searching...
No Matches
la_parallel_vector.h File Reference

Go to the source code of this file.

Classes

class  LinearAlgebra::distributed::Vector< Number, MemorySpace >
 
struct  is_serial_vector< LinearAlgebra::distributed::Vector< Number, MemorySpace > >
 
class  internal::LinearOperatorImplementation::ReinitHelper< LinearAlgebra::distributed::Vector< Number > >
 

Namespaces

namespace  LinearAlgebra
 
namespace  LinearAlgebra::distributed
 
namespace  internal
 
namespace  internal::LinearOperatorImplementation
 

Functions

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

Function Documentation

◆ swap()

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

Global function swap 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 1792 of file la_parallel_vector.h.