 Reference documentation for deal.II version Git 32ab9f15fd 2020-11-24 23:04:10 -0500
Collaboration diagram for Vector classes:


This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.

internal

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 >

## Typedefs

template<typename Number >
using parallel::distributed::BlockVector = LinearAlgebra::distributed::BlockVector< 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

## 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.

## ◆ BlockVector

template<typename Number >
 using parallel::distributed::BlockVector = typedef LinearAlgebra::distributed::BlockVector

An implementation of block vectors based on distributed deal.II vectors. While the base class provides for most of the interface, this class handles the actual allocation of vectors and provides functions that are specific to the underlying vector type.

Note
Instantiations for this template are provided for <float> and <double>; others can be generated in application programs (see the section on Template instantiations in the manual).
Block (linear algebra)
Deprecated:

Definition at line 60 of file parallel_block_vector.h.

## ◆ 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 1358 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 1373 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 1358 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 1373 of file vector.h.

## ◆ value

template<typename VectorType >
 const bool IsBlockVector< VectorType >::value
static
Initial value:
=
std::is_same<decltype(check_for_block_vector(std::declval<VectorType *>())),
std::true_type>::value

A statically computable value that indicates whether the template argument to this class is a block vector (in fact whether the type is derived from BlockVectorBase<T>).

Definition at line 90 of file block_vector_base.h.