Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | List of all members
MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR > Class Template Reference

#include <simple.h>

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

Public Member Functions

 SystemSimple (double threshold=1.e-12)
 
void initialize (MATRIX &m, VECTOR &rhs)
 
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)
 

Additional Inherited Members

- Private Member Functions inherited from MeshWorker::Assembler::MatrixSimple< MATRIX >
 MatrixSimple (double threshold=1.e-12)
 
void initialize (MATRIX &m)
 
void initialize (const ConstraintMatrix &constraints)
 
void initialize_local_blocks (const BlockIndices &)
 
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 inherited from MeshWorker::Assembler::ResidualSimple< VECTOR >
void initialize (NamedData< VECTOR * > &results)
 
void initialize (const ConstraintMatrix &constraints)
 
void initialize_local_blocks (const BlockIndices &)
 
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)
 

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

Definition at line 438 of file simple.h.

Constructor & Destructor Documentation

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

Constructor setting the threshold value in MatrixSimple.

Definition at line 1159 of file simple.h.

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.

Definition at line 1167 of file simple.h.

template<class MATRIX , class VECTOR >
void MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >::initialize ( const ConstraintMatrix constraints)
inline

Initialize the constraints. After this function has been called with a valid ConstraintMatrix, the function ConstraintMatrix::distribute_local_to_global() will be used by assemble() to distribute the cell and face matrices into a global sparse matrix.

Definition at line 1179 of file simple.h.

template<class MATRIX , class VECTOR >
template<class DOFINFO >
void MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >::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.

Definition at line 1189 of file simple.h.

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.

Definition at line 1200 of file simple.h.

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.

Definition at line 1210 of file simple.h.


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