Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | Public Attributes | List of all members
BlockMatrixArray< number >::Entry Class Reference

#include <block_matrix_array.h>

Public Member Functions

template<class MATRIX >
 Entry (const MATRIX &matrix, size_type row, size_type col, double prefix, bool transpose)
 
 Entry (const Entry &)
 
 ~Entry ()
 

Public Attributes

size_type row
 
size_type 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 333 of file block_matrix_array.h.

Constructor & Destructor Documentation

template<typename number = double>
template<class MATRIX >
BlockMatrixArray< number >::Entry::Entry ( const MATRIX matrix,
size_type  row,
size_type  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>
size_type BlockMatrixArray< number >::Entry::row

Row number in the block matrix.

Definition at line 375 of file block_matrix_array.h.

template<typename number = double>
size_type BlockMatrixArray< number >::Entry::col

Column number in the block matrix.

Definition at line 381 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 387 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 394 of file block_matrix_array.h.

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

The matrix block itself.

Definition at line 399 of file block_matrix_array.h.


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