Reference documentation for deal.II version Git 0096380e24 2020-08-06 21:03:09 -0400
\(\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\}}\)
Namespaces | Classes | Functions
LinearAlgebra Namespace Reference




class  CommunicationPatternBase
class  ReadWriteVector
class  Vector
class  VectorSpaceVector


template<typename Number >
void set_zero_mean_value (VectorSpaceVector< Number > &vector)
 TEMPL_COPY_CONSTRUCTOR (std::complex< double >, std::complex< float >)
 TEMPL_COPY_CONSTRUCTOR (std::complex< float >, std::complex< double >)

Detailed Description

A namespace for vector classes.

This namespace contains various classes that provide wrappers to vector classes from different external libraries like Trilinos (EPetra) or PETSc and native implementations like LinearAlgebra::distributed::Vector.

The different vector classes are derived from VectorSpaceVector to provide a joint interface for vector space operations, are derived from ReadWriteVector (or ReadWriteVector itself), or both. The separation of vector space operations (like norms or vector additions) through VectorSpaceVector and element access through ReadWriteVector are by design and improve performance.

Function Documentation

◆ set_zero_mean_value()

template<typename Number >
void LinearAlgebra::set_zero_mean_value ( VectorSpaceVector< Number > &  vector)

Shift all entries of the vector by a constant factor so that the mean value of the vector becomes zero.

Definition at line 284 of file vector_space_vector.h.


LinearAlgebra::TEMPL_COPY_CONSTRUCTOR ( double  ,


LinearAlgebra::TEMPL_COPY_CONSTRUCTOR ( float  ,


LinearAlgebra::TEMPL_COPY_CONSTRUCTOR ( std::complex< double ,
std::complex< float >   


LinearAlgebra::TEMPL_COPY_CONSTRUCTOR ( std::complex< float >  ,
std::complex< double