Reference documentation for deal.II version 9.5.0
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  LinearAlgebra::Vector< Number >

class  PETScWrappers::MPI::BlockVector

class  PETScWrappers::MPI::Vector

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 Solvers) and for matrix-vector operations.

## ◆ 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 1427 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 1441 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 1427 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 1441 of file vector.h.

## ◆ value

template<typename VectorType >
 const bool IsBlockVector< VectorType >::value = internal::is_block_vector
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.