OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
The local matrices filled by the worker and then assembled into the global system by the derived classes. More...
#include <mesh_worker_assembler.h>
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. | |
The local matrices filled by the worker and then assembled into the global system by the derived classes.
|
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().
|
inlineprivate |
Initialize a single local matrix block.
A helper function for initialize()
BlockInfo MeshWorker::Assembler::LocalMatrixBlocks< number >::block_info |
Information on block sizes and block start indices.
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.
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.
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.
std::vector<MatrixBlock<FullMatrix<number> > > MeshWorker::Assembler::LocalMatrixBlocks< number >::M22 |
The local matrices coupling degrees of freedom in the second cell on a face.