Public Member Functions | Public Attributes

MeshWorker::DoFInfoBox< dim, DOFINFO > Class Template Reference
[The MeshWorker interface]

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
std::size_t 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

Definition at line 216 of file dof_info.h.


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.

Definition at line 425 of file dof_info.h.

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.

Definition at line 438 of file dof_info.h.

Referenced by internal::assemble().

template<int dim, class DOFINFO>
std::size_t 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.

Definition at line 258 of file dof_info.h.

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

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

The data for the faces from inside.

Definition at line 262 of file dof_info.h.

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

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

The data for the faces from outside.

Definition at line 266 of file dof_info.h.

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

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.

Definition at line 273 of file dof_info.h.

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.

Definition at line 279 of file dof_info.h.

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Fri Feb 3 2012 06:04:15 by doxygen 1.7.2