Public Member Functions | Private Attributes
MeshWorker::Assembler::Functional< number > Class Template Reference

List of all members.

Public Member Functions

void initialize (unsigned int n)
template<int dim>
void initialize_info (DoFInfo< dim > &info, bool interior_face)
template<class DOFINFO >
void assemble (const DOFINFO &info)
template<class DOFINFO >
void assemble (const DOFINFO &info1, const DOFINFO &info2)
number operator() (unsigned int i) const

Private Attributes

std::vector< double > results

Detailed Description

template<typename number = double>
class MeshWorker::Assembler::Functional< number >

The class assembling local contributions to a functional into the global functionals.

Author:
Guido Kanschat, 2009

Member Function Documentation

template<typename number >
void MeshWorker::Assembler::Functional< number >::initialize ( unsigned int  n) [inline]

Initialize local data to store functionals.

template<typename number = double>
template<int dim>
void MeshWorker::Assembler::Functional< number >::initialize_info ( DoFInfo< dim > &  info,
bool  interior_face 
)

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.

template<typename number >
template<class DOFINFO >
void MeshWorker::Assembler::Functional< number >::assemble ( const DOFINFO &  info) [inline]

Assemble the local values into the global vectors.

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

Assemble both local values into the global vectors.

template<typename number >
number MeshWorker::Assembler::Functional< number >::operator() ( unsigned int  i) const [inline]

The value of the ith entry in results.

References AssertIndexRange.


Member Data Documentation

template<typename number = double>
std::vector<double> MeshWorker::Assembler::Functional< number >::results [private]

The values into which the results are added.


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