OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
FuelCell::ApplicationCore::MatrixBlock< MATRIX > Struct Template Reference

A wrapper around a MATRIX object, storing the coordinates in the global block matrix as well. More...

#include <matrix_block.h>

Public Member Functions

 MatrixBlock ()
 Constructor. More...
 
 MatrixBlock (unsigned int row, unsigned int column)
 Constructor. More...
 
 MatrixBlock (const MatrixBlock< MATRIX > &M)
 Copy constructor. More...
 

Public Attributes

MATRIX matrix
 The matrix itself. More...
 
unsigned int row
 Row coordinate in the global block matrix. More...
 
unsigned int column
 Column coordinate in the global block matrix. More...
 

Detailed Description

template<typename MATRIX>
struct FuelCell::ApplicationCore::MatrixBlock< MATRIX >

A wrapper around a MATRIX object, storing the coordinates in the global block matrix as well.

Author
Guido Kanschat

Constructor & Destructor Documentation

template<typename MATRIX>
FuelCell::ApplicationCore::MatrixBlock< MATRIX >::MatrixBlock ( )
inline

Constructor.

template<typename MATRIX>
FuelCell::ApplicationCore::MatrixBlock< MATRIX >::MatrixBlock ( unsigned int  row,
unsigned int  column 
)
inline

Constructor.

template<typename MATRIX>
FuelCell::ApplicationCore::MatrixBlock< MATRIX >::MatrixBlock ( const MatrixBlock< MATRIX > &  M)
inline

Copy constructor.

Member Data Documentation

template<typename MATRIX>
unsigned int FuelCell::ApplicationCore::MatrixBlock< MATRIX >::column

Column coordinate in the global block matrix.

template<typename MATRIX>
MATRIX FuelCell::ApplicationCore::MatrixBlock< MATRIX >::matrix

The matrix itself.

template<typename MATRIX>
unsigned int FuelCell::ApplicationCore::MatrixBlock< MATRIX >::row

Row coordinate in the global block matrix.


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