MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR > Class Template Reference
[The MeshWorker interface]

Inheritance diagram for MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >:

Inheritance graph
[legend]

List of all members.

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)


Detailed Description

template<class MATRIX, class VECTOR>
class MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >

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.

Author:
Guido Kanschat, 2009

Constructor & Destructor Documentation

template<class MATRIX, class VECTOR>
MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >::SystemSimple ( double  threshold = 1.e-12  )  [inline]

Constructor setting the threshold value in MatrixSimple.


Member Function Documentation

template<class MATRIX, class VECTOR>
void MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >::initialize ( MATRIX &  m,
VECTOR &  rhs 
) [inline]

Store the two objects data is assembled into.

References NamedData< DATA >::add().

template<class MATRIX, class VECTOR>
template<class DOFINFO>
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 >.

template<class MATRIX, class VECTOR>
template<class DOFINFO>
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 internal::assemble().

template<class MATRIX, class VECTOR>
template<class DOFINFO>
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 internal::assemble().


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

deal.II documentation generated on Wed Jul 28 23:06:56 2010 by doxygen 1.5.6