OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
MeshWorker::Assembler::Functional< number > Class Template Reference

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

#include <mesh_worker_assembler.h>

Public Member Functions

void initialize (unsigned int n)
 
template<int dim>
void assemble (const InfoObjects::DoFInfo< dim > &info)
 Assemble the values J1 into the global vectors and reset them to zero.
 
template<int dim>
void assemble (const InfoObjects::DoFInfo< dim > &info1, const InfoObjects::DoFInfo< dim > &info2)
 Assemble both local values into the global vectors and reset them to zero.
 
number operator() (unsigned int i) const
 The value oth the ith #result.
 

Public Attributes

std::vector< number > J1
 

Private Attributes

std::vector< double > results
 The values into which the results are added.
 

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 >
template<int dim>
void MeshWorker::Assembler::Functional< number >::assemble ( const InfoObjects::DoFInfo< dim > &  info)
inline

Assemble the values J1 into the global vectors and reset them to zero.

template<typename number >
template<int dim>
void MeshWorker::Assembler::Functional< number >::assemble ( const InfoObjects::DoFInfo< dim > &  info1,
const InfoObjects::DoFInfo< dim > &  info2 
)
inline

Assemble both local values into the global vectors and reset them to zero.

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

Referenced by AppFrame::LocalResponse< dim >::initialize().

Here is the caller graph for this function:

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

The value oth the ith #result.

Member Data Documentation

template<typename number = double>
std::vector<number> MeshWorker::Assembler::Functional< number >::J1
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: