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 | Private Member Functions | List of all members
MeshWorker::Assembler::LocalMatrixBlocks< number > Class Template Reference

The local matrices filled by the worker and then assembled into the global system by the derived classes. More...

#include <mesh_worker_assembler.h>

Inheritance diagram for MeshWorker::Assembler::LocalMatrixBlocks< number >:
Inheritance graph
[legend]
Collaboration diagram for MeshWorker::Assembler::LocalMatrixBlocks< number >:
Collaboration graph
[legend]

Public Member Functions

template<class MatrixPtr >
void initialize (const BlockInfo &block_info, std::vector< MatrixPtr > &matrices)
 Copy the BlockInfo and the matrix pointers into local variables and initialize cell matrix vectors.
 

Public Attributes

std::vector< MatrixBlock
< FullMatrix< number > > > 
M11
 The local matrices coupling degrees of freedom in the cell itself aor within the first cell on a face.
 
std::vector< MatrixBlock
< FullMatrix< number > > > 
M22
 The local matrices coupling degrees of freedom in the second cell on a face.
 
std::vector< MatrixBlock
< FullMatrix< number > > > 
M12
 The local matrices coupling test function degrees of freedom in the first cell and trial function degrees of freedom in the second cell of a face, respectively.
 
std::vector< MatrixBlock
< FullMatrix< number > > > 
M21
 The local matrices coupling test function degrees of freedom in the second cell and trial function degrees of freedom in the first cell of a face, respectively.
 
BlockInfo block_info
 Information on block sizes and block start indices.
 

Private Member Functions

void initialize_local (MatrixBlock< FullMatrix< number > > &M, unsigned int row, unsigned int col, unsigned int n_rows, unsigned int n_cols)
 Initialize a single local matrix block.
 

Detailed Description

template<typename number>
class MeshWorker::Assembler::LocalMatrixBlocks< number >

The local matrices filled by the worker and then assembled into the global system by the derived classes.

Author
Guido Kanschat, 2009

Member Function Documentation

template<typename number >
template<class MatrixPtr >
void MeshWorker::Assembler::LocalMatrixBlocks< number >::initialize ( const BlockInfo block_info,
std::vector< MatrixPtr > &  matrices 
)
inline

Copy the BlockInfo and the matrix pointers into local variables and initialize cell matrix vectors.

References MeshWorker::BlockInfo::local.

Referenced by MeshWorker::Assembler::MatrixLocalBlocksToGlobalBlocks< MATRIX, number >::initialize(), and MeshWorker::Assembler::MGMatrixLocalBlocksToGlobalBlocks< MATRIX, number >::initialize().

Here is the caller graph for this function:

template<typename number >
void MeshWorker::Assembler::LocalMatrixBlocks< number >::initialize_local ( MatrixBlock< FullMatrix< number > > &  M,
unsigned int  row,
unsigned int  col,
unsigned int  n_rows,
unsigned int  n_cols 
)
inlineprivate

Initialize a single local matrix block.

A helper function for initialize()

Member Data Documentation

template<typename number >
BlockInfo MeshWorker::Assembler::LocalMatrixBlocks< number >::block_info

Information on block sizes and block start indices.

template<typename number >
std::vector<MatrixBlock<FullMatrix<number> > > MeshWorker::Assembler::LocalMatrixBlocks< number >::M11

The local matrices coupling degrees of freedom in the cell itself aor within the first cell on a face.

template<typename number >
std::vector<MatrixBlock<FullMatrix<number> > > MeshWorker::Assembler::LocalMatrixBlocks< number >::M12

The local matrices coupling test function degrees of freedom in the first cell and trial function degrees of freedom in the second cell of a face, respectively.

template<typename number >
std::vector<MatrixBlock<FullMatrix<number> > > MeshWorker::Assembler::LocalMatrixBlocks< number >::M21

The local matrices coupling test function degrees of freedom in the second cell and trial function degrees of freedom in the first cell of a face, respectively.

template<typename number >
std::vector<MatrixBlock<FullMatrix<number> > > MeshWorker::Assembler::LocalMatrixBlocks< number >::M22

The local matrices coupling degrees of freedom in the second cell on a face.


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