Reference documentation for deal.II version Git d4ec8156ca 2019-11-18 14:03:00 -0700
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
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 223 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 426 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 441 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 458 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 472 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 256 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 260 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 264 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 270 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 276 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 281 of file dof_info.h.


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