Public Member Functions | Private Attributes
MeshWorker::Assembler::ResidualSimple< VECTOR > Class Template Reference
Inheritance diagram for MeshWorker::Assembler::ResidualSimple< VECTOR >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void initialize (NamedData< VECTOR * > &results)
void initialize (const ConstraintMatrix &constraints)
template<class DOFINFO >
void initialize_info (DOFINFO &info, bool interior_face) const
template<class DOFINFO >
void assemble (const DOFINFO &info)
template<class DOFINFO >
void assemble (const DOFINFO &info1, const DOFINFO &info2)

Private Attributes

NamedData< SmartPointer
< VECTOR, ResidualSimple
< VECTOR > > > 
residuals
SmartPointer< const
ConstraintMatrix,
ResidualSimple< VECTOR > > 
constraints

Detailed Description

template<class VECTOR>
class MeshWorker::Assembler::ResidualSimple< VECTOR >

Assemble residuals without block structure.

The data structure for this Assembler class is a simple vector on each cell with entries from zero to FiniteElementData::dofs_per_cell and a simple global vector with entries numbered from zero to DoFHandler::n_dofs(). No BlockInfo is required and the global vector may be any type of vector having element access through operator() (unsigned int)

Author:
Guido Kanschat, 2009

Member Function Documentation

template<class VECTOR >
void MeshWorker::Assembler::ResidualSimple< VECTOR >::initialize ( NamedData< VECTOR * > &  results) [inline]
template<class VECTOR >
void MeshWorker::Assembler::ResidualSimple< VECTOR >::initialize ( const ConstraintMatrix &  constraints) [inline]

Initialize the constraints.

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

Referenced by MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >::initialize_info().

template<class VECTOR >
template<class DOFINFO >
void MeshWorker::Assembler::ResidualSimple< VECTOR >::assemble ( const DOFINFO &  info) [inline]

Assemble the local residuals into the global residuals.

Reimplemented in MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >.

Referenced by MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >::assemble().

template<class VECTOR >
template<class DOFINFO >
void MeshWorker::Assembler::ResidualSimple< VECTOR >::assemble ( const DOFINFO &  info1,
const DOFINFO &  info2 
) [inline]

Assemble both local residuals into the global residuals.

Reimplemented in MeshWorker::Assembler::SystemSimple< MATRIX, VECTOR >.


Member Data Documentation

template<class VECTOR>
NamedData<SmartPointer<VECTOR,ResidualSimple<VECTOR> > > MeshWorker::Assembler::ResidualSimple< VECTOR >::residuals [private]

The global residal vectors filled by assemble().

template<class VECTOR>
SmartPointer<const ConstraintMatrix,ResidualSimple<VECTOR> > MeshWorker::Assembler::ResidualSimple< VECTOR >::constraints [private]

A pointer to the object containing constraints.


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

deal.II documentation generated on Fri Aug 12 2011 15:01:09 by doxygen 1.7.4