Reference documentation for deal.II version 9.3.3
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
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 > &)
 
DoFInfoBoxoperator= (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.

Definition at line 221 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 430 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 445 of file dof_info.h.

Member Function Documentation

◆ operator=()

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

Copy assignment operator, taking another object as seed.

Definition at line 462 of file dof_info.h.

◆ reset()

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

Reset all the availability flags.

Definition at line 479 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 493 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 260 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 264 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 268 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 274 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 280 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 285 of file dof_info.h.


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