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 | List of all members
MeshWorker::WorkerObjects::LocalWorker< dim > Class Template Reference

Template for a class for those classes which do the actual work on cells and faces. More...

#include <mesh_worker_workers.h>

Inheritance diagram for MeshWorker::WorkerObjects::LocalWorker< dim >:
Inheritance graph
[legend]

Public Member Functions

 LocalWorker ()
 Constructor, setting boundary_fluxes and interior_fluxes to true.
 
void cell (const InfoObjects::DoFInfo< dim > &cell)
 Do the work on a cell.
 
void bdry (const InfoObjects::DoFInfo< dim > &face)
 Do the work on a boundary face.
 
void face (const InfoObjects::DoFInfo< dim > &face1, const InfoObjects::DoFInfo< dim > &face2)
 Do the work on an interior face.
 

Public Attributes

bool boundary_fluxes
 Computations on boundary faces are on/off.
 
bool interior_fluxes
 Computations on interior faces are on/off.
 

Detailed Description

template<int dim>
class MeshWorker::WorkerObjects::LocalWorker< dim >

Template for a class for those classes which do the actual work on cells and faces.

This class can serve as a base class for the actual worker class, since, while we do not use virtual functions, we provide the necessary interface for the mesh loops and the InfoObjects::DoFInfo class here. Thus, they do not have to be reprogrammed.

In particular, the mesh loops will require data elements boundary_fluxes and interior_fluxes to determine whether the loop over faces will be started at all.

Author
Guido Kanschat, 2009

Constructor & Destructor Documentation

template<int dim>
MeshWorker::WorkerObjects::LocalWorker< dim >::LocalWorker ( )
inline

Member Function Documentation

template<int dim>
void MeshWorker::WorkerObjects::LocalWorker< dim >::bdry ( const InfoObjects::DoFInfo< dim > &  face)

Do the work on a boundary face.

template<int dim>
void MeshWorker::WorkerObjects::LocalWorker< dim >::cell ( const InfoObjects::DoFInfo< dim > &  cell)

Do the work on a cell.

template<int dim>
void MeshWorker::WorkerObjects::LocalWorker< dim >::face ( const InfoObjects::DoFInfo< dim > &  face1,
const InfoObjects::DoFInfo< dim > &  face2 
)

Do the work on an interior face.

Member Data Documentation

template<int dim>
bool MeshWorker::WorkerObjects::LocalWorker< dim >::boundary_fluxes

Computations on boundary faces are on/off.

Referenced by MeshWorker::WorkerObjects::LocalWorker< dim >::LocalWorker().

template<int dim>
bool MeshWorker::WorkerObjects::LocalWorker< dim >::interior_fluxes

Computations on interior faces are on/off.

Referenced by MeshWorker::WorkerObjects::LocalWorker< dim >::LocalWorker().


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