Reference documentation for deal.II version GIT 194dd8bb02 2022-12-03 08:20:02+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\}}\)
Classes | Functions | Variables
Collaboration diagram for Vector classes:

Classes

class  BlockVector< Number >
 
struct  IsBlockVector< VectorType >
 
class  BlockVectorBase< VectorType >
 
class  LinearAlgebra::CUDAWrappers::Vector< Number >
 
class  LinearAlgebra::distributed::BlockVector< Number >
 
class  LinearAlgebra::distributed::Vector< Number, MemorySpace >
 
class  LinearAlgebra::Vector< Number >
 
class  PETScWrappers::MPI::BlockVector
 
class  PETScWrappers::MPI::Vector
 
class  LinearAlgebra::ReadWriteVector< Number >
 
class  LinearAlgebra::EpetraWrappers::Vector
 
class  TrilinosWrappers::MPI::BlockVector
 
class  LinearAlgebra::TpetraWrappers::Vector< Number >
 
class  TrilinosWrappers::MPI::Vector
 
class  Vector< Number >
 
struct  VectorOperation
 
class  LinearAlgebra::VectorSpaceVector< Number >
 

Functions

template<typename Number >
void swap (Vector< Number > &u, Vector< Number > &v)
 
template<typename number >
std::ostream & operator<< (std::ostream &out, const Vector< number > &v)
 
template<typename Number >
void swap (Vector< Number > &u, Vector< Number > &v)
 
template<typename number >
std::ostream & operator<< (std::ostream &out, const Vector< number > &v)
 

Variables

static const bool IsBlockVector< VectorType >::value = internal::is_block_vector<VectorType>
 

Detailed Description

Here, we list all the classes that satisfy the VectorType concept and may be used in linear solvers (see Linear solver classes) and for matrix-vector operations.

Function Documentation

◆ swap() [1/2]

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

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 1428 of file vector.h.

◆ operator<<() [1/2]

template<typename number >
std::ostream & operator<< ( std::ostream &  out,
const Vector< number > &  v 
)
inline

Output operator writing a vector to a stream. This operator outputs the elements of the vector one by one, with a space between entries. Each entry is formatted according to the flags set on the output stream.

Definition at line 1442 of file vector.h.

◆ swap() [2/2]

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

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 1428 of file vector.h.

◆ operator<<() [2/2]

template<typename number >
std::ostream & operator<< ( std::ostream &  out,
const Vector< number > &  v 
)
related

Output operator writing a vector to a stream. This operator outputs the elements of the vector one by one, with a space between entries. Each entry is formatted according to the flags set on the output stream.

Definition at line 1442 of file vector.h.

Variable Documentation

◆ value

template<typename VectorType >
const bool IsBlockVector< VectorType >::value = internal::is_block_vector<VectorType>
static

A statically computable value that indicates whether the template argument to this class is a block vector (in fact whether the type has the functions block() and n_blocks()).

Definition at line 88 of file block_vector_base.h.