
Public Member Functions | |
| SystemSimple (double threshold=1.e-12) | |
| void | initialize (MATRIX &m, VECTOR &rhs) |
| template<class DOFINFO > | |
| void | initialize_info (DOFINFO &info, bool) const |
| template<class DOFINFO > | |
| void | assemble (const DOFINFO &info) |
| template<class DOFINFO > | |
| void | assemble (const DOFINFO &info1, const DOFINFO &info2) |
Assemble a simple matrix and a simple right hand side at once. We use a combination of MatrixSimple and ResidualSimple to achieve this. Cell and face operators should fill the matrix and vector objects in LocalResults and this class will assemble them into matrix and vector objects.
| MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >::SystemSimple | ( | double | threshold = 1.e-12 | ) |
Constructor setting the threshold value in MatrixSimple.
| void MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >::initialize | ( | MATRIX & | m, |
| VECTOR & | rhs | ||
| ) | [inline] |
Store the two objects data is assembled into.
References NamedData< DATA >::add(), MeshWorker::Assembler::ResidualSimple< VECTOR >::initialize(), and MeshWorker::Assembler::MatrixSimple< MATRIX >::initialize().
| void MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >::initialize_info | ( | DOFINFO & | info, |
| bool | interior_face | ||
| ) | const [inline] |
Initialize the local data in the DoFInfo object used later for assembling.
The second parameter is used to distinguish between the data used on cells and boundary faces on the one hand and interior faces on the other. Interior faces may require additional data being initialized.
Reimplemented from MeshWorker::Assembler::ResidualSimple< VECTOR >.
References MeshWorker::Assembler::ResidualSimple< VECTOR >::initialize_info(), and MeshWorker::Assembler::MatrixSimple< MATRIX >::initialize_info().
| void MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >::assemble | ( | const DOFINFO & | info | ) | [inline] |
Assemble the matrix DoFInfo::M1[0] into the global matrix.
Reimplemented from MeshWorker::Assembler::ResidualSimple< VECTOR >.
References MeshWorker::Assembler::ResidualSimple< VECTOR >::assemble(), and MeshWorker::Assembler::MatrixSimple< MATRIX >::assemble().
| void MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >::assemble | ( | const DOFINFO & | info1, |
| const DOFINFO & | info2 | ||
| ) | [inline] |
Assemble both local matrices in the info objects into the global matrix.
Reimplemented from MeshWorker::Assembler::ResidualSimple< VECTOR >.
References MeshWorker::Assembler::ResidualSimple< VECTOR >::assemble(), and MeshWorker::Assembler::MatrixSimple< MATRIX >::assemble().
documentation generated on Fri Aug 12 2011 15:01:09 by
doxygen
1.7.4