Reference documentation for deal.II version 9.0.0
Public Member Functions | Public Attributes | List of all members
MeshWorker::DoFInfoBox< dim, DOFINFO > Class Template Reference

#include <deal.II/meshworker/dof_info.h>

Public Member Functions

 DoFInfoBox (const DOFINFO &seed)
 
 DoFInfoBox (const DoFInfoBox< dim, DOFINFO > &)
 
void reset ()
 
template<class ASSEMBLER >
void assemble (ASSEMBLER &ass) 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]
 
bool cell_valid
 

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 33 of file dof_info.h.

Constructor & Destructor Documentation

◆ DoFInfoBox() [1/2]

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

Constructor copying the seed into all other objects.

Definition at line 415 of file dof_info.h.

◆ DoFInfoBox() [2/2]

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

Copy constructor, taking cell and using it as a seed in the other constructor.

Definition at line 431 of file dof_info.h.

Member Function Documentation

◆ reset()

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

Reset all the availability flags.

Definition at line 447 of file dof_info.h.

◆ assemble()

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

After all DOFINFO 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 461 of file dof_info.h.

Member Data Documentation

◆ cell

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

The data for the cell.

Definition at line 240 of file dof_info.h.

◆ interior

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 244 of file dof_info.h.

◆ exterior

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 248 of file dof_info.h.

◆ interior_face_available

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 254 of file dof_info.h.

◆ exterior_face_available

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 260 of file dof_info.h.

◆ cell_valid

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

A flag to specify if the current object has been set to a valid cell.

Definition at line 265 of file dof_info.h.


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