Public Member Functions | Public Attributes

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)
 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

Definition at line 325 of file block_matrix_array.h.


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 
)

Constructor initializing all data fields. A PointerMatrix 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.

Definition at line 367 of file block_matrix_array.h.

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

Column number in the block matrix.

Definition at line 373 of file block_matrix_array.h.

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

Factor in front of the matrix block.

Definition at line 379 of file block_matrix_array.h.

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

Indicates that matrix block must be transposed for multiplication.

Definition at line 386 of file block_matrix_array.h.

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

The matrix block itself.

Definition at line 391 of file block_matrix_array.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Thu May 17 2012 20:05:29 by doxygen 1.7.3