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::CellsAndFaces< number > Class Template Reference

Compute cell and face contributions of a functional, typically for error estimates. More...

#include <mesh_worker_assembler.h>

Public Member Functions

void initialize (FEVectors &residuals, bool separate_faces=true)
 
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
 
std::vector< number > J2
 

Private Attributes

FEVectors results
 
bool separate_faces
 

Detailed Description

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

Compute cell and face contributions of a functional, typically for error estimates.

Author
Guido Kanschat, 2009

Member Function Documentation

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

References MeshWorker::InfoObjects::DoFInfo< dim, spacedim >::cell, and MeshWorker::InfoObjects::DoFInfo< dim, spacedim >::face.

template<typename number >
void MeshWorker::Assembler::CellsAndFaces< number >::initialize ( FEVectors &  residuals,
bool  separate_faces = true 
)
inline

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

Here is the caller graph for this function:

template<typename number = double>
number MeshWorker::Assembler::CellsAndFaces< number >::operator() ( unsigned int  i) const

The value oth the ith #result.

Member Data Documentation

template<typename number = double>
std::vector<number> MeshWorker::Assembler::CellsAndFaces< number >::J1
template<typename number = double>
std::vector<number> MeshWorker::Assembler::CellsAndFaces< number >::J2
template<typename number = double>
FEVectors MeshWorker::Assembler::CellsAndFaces< number >::results
private
template<typename number = double>
bool MeshWorker::Assembler::CellsAndFaces< number >::separate_faces
private

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