Public Member Functions | Public Attributes
MeshWorker::DoFInfoBox< dim, DOFINFO > Class Template Reference

List of all members.

Public Member Functions

 DoFInfoBox (const DOFINFO &seed)
 DoFInfoBox (const DoFInfoBox< dim, DOFINFO > &)
void reset ()
template<class ASSEMBLER >
void assemble (ASSEMBLER &ass) const
unsigned int memory_consumption () const

Public Attributes

DOFINFO cell
DOFINFO interior [GeometryInfo< dim >::faces_per_cell]
DOFINFO exterior [GeometryInfo< dim >::faces_per_cell]
bool interior_face_available [GeometryInfo< dim >::faces_per_cell]
bool exterior_face_available [GeometryInfo< dim >::faces_per_cell]

Detailed Description

template<int dim, class DOFINFO>
class MeshWorker::DoFInfoBox< dim, DOFINFO >

A class bundling the MeshWorker::DoFInfo objects used on a cell.

Todo:
Currently, we are storing an object for the cells and two for each face. We could gather all face data pertaining to the cell itself in one object, saving a bit of memory and a few operations, but sacrificing some cleanliness.
Author:
Guido Kanschat, 2010

Constructor & Destructor Documentation

template<int dim, class DOFINFO >
MeshWorker::DoFInfoBox< dim, DOFINFO >::DoFInfoBox ( const DOFINFO &  seed) [inline]
template<int dim, class DOFINFO >
MeshWorker::DoFInfoBox< dim, DOFINFO >::DoFInfoBox ( const DoFInfoBox< dim, DOFINFO > &  other) [inline]

Member Function Documentation

template<int dim, class DOFINFO >
void MeshWorker::DoFInfoBox< dim, DOFINFO >::reset ( ) [inline]

Reset all the availability flags.

Referenced by MeshWorker::cell_action().

template<int dim, class DOFINFO >
template<class ASSEMBLER >
void MeshWorker::DoFInfoBox< dim, DOFINFO >::assemble ( ASSEMBLER &  ass) const [inline]

After all info objects have been filled appropriately, use the ASSEMBLER object to assemble them into the global data. See MeshWorker::Assembler for available classes.

Referenced by internal::assemble().

template<int dim, class DOFINFO>
unsigned int MeshWorker::DoFInfoBox< dim, DOFINFO >::memory_consumption ( ) const

The memory used by this object.


Member Data Documentation

template<int dim, class DOFINFO>
DOFINFO MeshWorker::DoFInfoBox< dim, DOFINFO >::cell

The data for the cell.

Referenced by MeshWorker::cell_action(), and MeshWorker::loop().

template<int dim, class DOFINFO>
DOFINFO MeshWorker::DoFInfoBox< dim, DOFINFO >::interior[GeometryInfo< dim >::faces_per_cell]
template<int dim, class DOFINFO>
DOFINFO MeshWorker::DoFInfoBox< dim, DOFINFO >::exterior[GeometryInfo< dim >::faces_per_cell]
template<int dim, class DOFINFO>
bool MeshWorker::DoFInfoBox< dim, DOFINFO >::interior_face_available[GeometryInfo< dim >::faces_per_cell]

A set of flags, indicating whether data on an interior face is available.

Referenced by MeshWorker::cell_action(), and MeshWorker::DoFInfoBox< dim, DOFINFO >::DoFInfoBox().

template<int dim, class DOFINFO>
bool MeshWorker::DoFInfoBox< dim, DOFINFO >::exterior_face_available[GeometryInfo< dim >::faces_per_cell]

A set of flags, indicating whether data on an exterior face is available.

Referenced by MeshWorker::cell_action(), and MeshWorker::DoFInfoBox< dim, DOFINFO >::DoFInfoBox().


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

deal.II documentation generated on Fri Aug 12 2011 15:01:09 by doxygen 1.7.4