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<class DOFINFO >
void initialize_info (DOFINFO &info, bool 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 global functionals.

Author:
Guido Kanschat, 2009

Definition at line 40 of file functional.h.


Member Function Documentation

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

Initialize local data to store functionals. The number n is the number of functionals to be computed.

Definition at line 193 of file functional.h.

template<typename number >
template<class DOFINFO >
void MeshWorker::Assembler::Functional< number >::initialize_info ( DOFINFO &  info,
bool  face 
) [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 203 of file functional.h.

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

Assemble the local values into the global vectors.

Definition at line 212 of file functional.h.

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.

Definition at line 222 of file functional.h.

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

The value of the ith entry in results.

Definition at line 235 of file functional.h.

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.

Definition at line 90 of file functional.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Thu May 17 2012 20:05:33 by doxygen 1.7.3