BlockMatrixArray< number >::Entry Class Reference

List of all members.

Public Member Functions

template<class MATRIX >
 Entry (const MATRIX &matrix, unsigned row, unsigned int col, double prefix, bool transpose)
template<class MATRIX >
 Entry (const MATRIX &matrix, unsigned row, unsigned int col, double prefix, bool transpose, VectorMemory< Vector< number > > &mem)
 Entry (const Entry &)
 ~Entry ()

Public Attributes

unsigned int row
unsigned int col
double prefix
bool transpose
PointerMatrixBase< Vector
< number > > * 
matrix

Detailed Description

template<typename number = double>
class BlockMatrixArray< number >::Entry

Internal data structure.

For each entry of a BlockMatrixArray, its position, matrix, prefix and optional transposition must be stored. This structure encapsulates all of them.

Author:
Guido Kanschat, 2000, 2001

Constructor & Destructor Documentation

template<typename number = double>
template<class MATRIX >
BlockMatrixArray< number >::Entry::Entry ( const MATRIX &  matrix,
unsigned  row,
unsigned int  col,
double  prefix,
bool  transpose 
) [inline]

Constructor initializing all data fields. A PointerMatrix object is generated for matrix.

template<typename number = double>
template<class MATRIX >
BlockMatrixArray< number >::Entry::Entry ( const MATRIX &  matrix,
unsigned  row,
unsigned int  col,
double  prefix,
bool  transpose,
VectorMemory< Vector< number > > &  mem 
) [inline]

Constructor initializing all data fields. A PointerMatrixAux object is generated for matrix.

template<typename number = double>
BlockMatrixArray< number >::Entry::Entry ( const Entry  ) 

Copy constructor invalidating the old object. Since it is only used for entering temporary objects into a vector, this is ok.

For a deep copy, we would need a reproduction operator in PointerMatixBase.

template<typename number = double>
BlockMatrixArray< number >::Entry::~Entry (  ) 

Destructor, where we delete the PointerMatrix created by the constructor.


Member Data Documentation

template<typename number = double>
unsigned int BlockMatrixArray< number >::Entry::row

Row number in the block matrix.

template<typename number = double>
unsigned int BlockMatrixArray< number >::Entry::col

Column number in the block matrix.

template<typename number = double>
double BlockMatrixArray< number >::Entry::prefix

Factor in front of the matrix block.

template<typename number = double>
bool BlockMatrixArray< number >::Entry::transpose

Indicates that matrix block must be transposed for multiplication.

template<typename number = double>
PointerMatrixBase<Vector<number> >* BlockMatrixArray< number >::Entry::matrix

The matrix block itself.


The documentation for this class was generated from the following file:

deal.II documentation generated on Mon Nov 23 22:57:29 2009 by doxygen 1.6.1