
Public Member Functions | |
| MatrixSimple (double threshold=1.e-12) | |
| void | initialize (MATRIX &m) |
| void | initialize (const ConstraintMatrix &constraints) |
| template<class DOFINFO > | |
| void | initialize_info (DOFINFO &info, bool face) const |
| template<class DOFINFO > | |
| void | assemble (const DOFINFO &info) |
| template<class DOFINFO > | |
| void | assemble (const DOFINFO &info1, const DOFINFO &info2) |
Private Member Functions | |
| void | assemble (const FullMatrix< double > &M, const std::vector< unsigned int > &i1, const std::vector< unsigned int > &i2) |
Private Attributes | |
| SmartPointer< MATRIX, MatrixSimple< MATRIX > > | matrix |
| SmartPointer< const ConstraintMatrix, MatrixSimple < MATRIX > > | constraints |
| const double | threshold |
Assemble local matrices into a single global matrix without using block structure.
After being initialized with a SparseMatrix object (or another matrix offering the same functionality as SparseMatrix::add()), this class can be used in a MeshWorker::loop() to assemble the cell and face matrices into the global matrix.
Definition at line 125 of file simple.h.
| MeshWorker::Assembler::MatrixSimple< MATRIX >::MatrixSimple | ( | double | threshold = 1.e-12 ) |
[inline] |
| void MeshWorker::Assembler::MatrixSimple< MATRIX >::initialize | ( | MATRIX & | m ) | [inline] |
Store the result matrix for later assembling.
Definition at line 569 of file simple.h.
References LAPACKSupport::matrix.
Referenced by MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >::initialize().
| void MeshWorker::Assembler::MatrixSimple< MATRIX >::initialize | ( | const ConstraintMatrix & | constraints ) | [inline] |
| void MeshWorker::Assembler::MatrixSimple< MATRIX >::initialize_info | ( | DOFINFO & | info, |
| bool | face | ||
| ) | const [inline] |
Initialize the local data in the DoFInfo object used later for assembling.
The info object refers to a cell if !face, or else to an interior or boundary face.
Reimplemented in MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >.
Definition at line 586 of file simple.h.
Referenced by MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >::initialize_info().
| void MeshWorker::Assembler::MatrixSimple< MATRIX >::assemble | ( | const DOFINFO & | info ) | [inline] |
Assemble the matrix DoFInfo::M1[0] into the global matrix.
Reimplemented in MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >.
Definition at line 618 of file simple.h.
References internal::assemble().
Referenced by MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >::assemble().
| void MeshWorker::Assembler::MatrixSimple< MATRIX >::assemble | ( | const DOFINFO & | info1, |
| const DOFINFO & | info2 | ||
| ) | [inline] |
Assemble both local matrices in the info objects into the global matrix.
Reimplemented in MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >.
Definition at line 627 of file simple.h.
References internal::assemble().
| void MeshWorker::Assembler::MatrixSimple< MATRIX >::assemble | ( | const FullMatrix< double > & | M, |
| const std::vector< unsigned int > & | i1, | ||
| const std::vector< unsigned int > & | i2 | ||
| ) | [inline, private] |
Assemble a single matrix into matrix.
Definition at line 595 of file simple.h.
References AssertDimension, FullMatrix< number >::m(), LAPACKSupport::matrix, and FullMatrix< number >::n().
SmartPointer<MATRIX,MatrixSimple<MATRIX> > MeshWorker::Assembler::MatrixSimple< MATRIX >::matrix [private] |
SmartPointer<const ConstraintMatrix,MatrixSimple<MATRIX> > MeshWorker::Assembler::MatrixSimple< MATRIX >::constraints [private] |
const double MeshWorker::Assembler::MatrixSimple< MATRIX >::threshold [private] |
documentation generated on Fri Feb 3 2012 06:04:15 by
doxygen
1.7.2