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
Collaboration diagram for Vector classes:

Namespaces

namespace  internal
 
namespace  PETScWrappers
 

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  PETScWrappers::MPI::BlockVector
 
class  PETScWrappers::MPI::Vector
 
class  ReadVector< Number >
 
class  LinearAlgebra::ReadWriteVector< Number >
 
class  LinearAlgebra::EpetraWrappers::Vector
 
class  TrilinosWrappers::MPI::BlockVector
 
class  LinearAlgebra::TpetraWrappers::BlockVector< Number, MemorySpace >
 
class  LinearAlgebra::TpetraWrappers::Vector< Number, MemorySpace >
 
class  TrilinosWrappers::MPI::Vector
 
class  Vector< Number >
 
struct  VectorOperation
 

Functions

template<typename Number >
void swap (Vector< Number > &u, Vector< Number > &v) noexcept
 
template<typename number >
std::ostream & operator<< (std::ostream &out, const Vector< number > &v)
 
template<typename Number >
void swap (Vector< Number > &u, Vector< Number > &v) noexcept
 
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 )
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 1487 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 1501 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 1487 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 1501 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.