Reference documentation for deal.II version Git cd4d0b9268 2020-11-30 14:25:08 -0500
\(\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 | Functions
MemorySpace Namespace Reference

Classes

struct  CUDA
 
struct  Host
 
struct  MemorySpaceData
 

Functions

template<typename Number , typename MemorySpace >
void swap (MemorySpaceData< Number, MemorySpace > &, MemorySpaceData< Number, MemorySpace > &)
 

Function Documentation

◆ swap()

template<typename Number , typename MemorySpace >
void MemorySpace::swap ( MemorySpaceData< Number, MemorySpace > &  ,
MemorySpaceData< Number, MemorySpace > &   
)
inline

Swap function similar to std::swap.

Definition at line 92 of file memory_space_data.h.