OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
Template for a class for those classes which do the actual work on cells and faces. More...
#include <mesh_worker_workers.h>
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. | |
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.
|
inline |
Constructor, setting boundary_fluxes and interior_fluxes to true
.
References MeshWorker::WorkerObjects::LocalWorker< dim >::boundary_fluxes, and MeshWorker::WorkerObjects::LocalWorker< dim >::interior_fluxes.
void MeshWorker::WorkerObjects::LocalWorker< dim >::bdry | ( | const InfoObjects::DoFInfo< dim > & | face | ) |
Do the work on a boundary face.
void MeshWorker::WorkerObjects::LocalWorker< dim >::cell | ( | const InfoObjects::DoFInfo< dim > & | cell | ) |
Do the work on a cell.
void MeshWorker::WorkerObjects::LocalWorker< dim >::face | ( | const InfoObjects::DoFInfo< dim > & | face1, |
const InfoObjects::DoFInfo< dim > & | face2 | ||
) |
Do the work on an interior face.
bool MeshWorker::WorkerObjects::LocalWorker< dim >::boundary_fluxes |
Computations on boundary faces are on/off.
Referenced by MeshWorker::WorkerObjects::LocalWorker< dim >::LocalWorker().
bool MeshWorker::WorkerObjects::LocalWorker< dim >::interior_fluxes |
Computations on interior faces are on/off.
Referenced by MeshWorker::WorkerObjects::LocalWorker< dim >::LocalWorker().