Reference documentation for deal.II version Git 2e98021fd4 2020-10-20 17:25:20 -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

Namespaces

 CUDAWrappers
 
 distributed
 
 EpetraWrappers
 
 TpetraWrappers
 

Classes

class  CommunicationPatternBase
 
class  ReadWriteVector
 
class  Vector
 
class  VectorSpaceVector
 

Functions

template<typename Number >
void set_zero_mean_value (VectorSpaceVector< Number > &vector)
 
 TEMPL_COPY_CONSTRUCTOR (double, float)
 
 TEMPL_COPY_CONSTRUCTOR (float, double)
 
 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.

◆ TEMPL_COPY_CONSTRUCTOR() [1/4]

LinearAlgebra::TEMPL_COPY_CONSTRUCTOR ( double  ,
float   
)

◆ TEMPL_COPY_CONSTRUCTOR() [2/4]

LinearAlgebra::TEMPL_COPY_CONSTRUCTOR ( float  ,
double   
)

◆ TEMPL_COPY_CONSTRUCTOR() [3/4]

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

◆ TEMPL_COPY_CONSTRUCTOR() [4/4]

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