Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Namespaces | Classes | Functions | Variables
Collaboration diagram for Vector classes:

Namespaces

 PETScWrappers
 
 internal
 

Classes

class  BlockVector< Number >
 
class  PETScWrappers::Vector
 
class  BlockVectorBase< typename >
 
struct  IsBlockVector< VectorType >
 
class  VectorView< Number >
 
class  TrilinosWrappers::VectorBase
 
class  SwappableVector< number >
 
struct  VectorOperation
 

Functions

template<typename number >
std::ostream & operator<< (std::ostream &os, const Vector< number > &v)
 
template<typename number >
LogStreamoperator<< (LogStream &os, const Vector< number > &v)
 
template<typename Number >
void swap (Vector< Number > &u, Vector< Number > &v)
 

Variables

static const bool IsBlockVector< VectorType >::value
 

Detailed Description

Here, we list all the classes that can be used as VECTOR in linear solvers (see Linear solver classes) and for matrix-vector operations.

Function Documentation

template<typename number >
std::ostream& operator<< ( std::ostream &  os,
const Vector< number > &  v 
)
inline

Output operator writing a vector to a stream.

Definition at line 1546 of file vector.h.

template<typename number >
LogStream& operator<< ( LogStream os,
const Vector< number > &  v 
)
inline

Output operator writing a vector to a LogStream.

Definition at line 1558 of file vector.h.

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.

Author
Wolfgang Bangerth, 2000

Definition at line 1534 of file vector.h.

Variable Documentation

template<typename VectorType >
const bool IsBlockVector< VectorType >::value
static
Initial value:
((VectorType *)0))
==
sizeof(yes_type))

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 95 of file block_vector_base.h.