Reference documentation for deal.II version 9.2.0
\(\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 | Static Public Member Functions | Public Attributes | List of all members
internal::TriangulationImplementation::TriaObjects< G >::BoundaryOrMaterialId Struct Reference

#include <deal.II/grid/tria_objects.h>

Public Member Functions

 BoundaryOrMaterialId ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Static Public Member Functions

static std::size_t memory_consumption ()
 

Public Attributes

union {
   types::boundary_id   boundary_id
 
   types::material_id   material_id
 
}; 
 

Detailed Description

template<typename G>
struct internal::TriangulationImplementation::TriaObjects< G >::BoundaryOrMaterialId

We use this union to store boundary and material data. Because only one out of these two is actually needed here, we use an union.

Definition at line 129 of file tria_objects.h.

Constructor & Destructor Documentation

◆ BoundaryOrMaterialId()

template<typename G >
internal::TriangulationImplementation::TriaObjects< G >::BoundaryOrMaterialId::BoundaryOrMaterialId
inline

Default constructor.

Definition at line 583 of file tria_objects.h.

Member Function Documentation

◆ memory_consumption()

template<typename G >
std::size_t internal::TriangulationImplementation::TriaObjects< G >::BoundaryOrMaterialId::memory_consumption
static

Return the size of objects of this kind.

Definition at line 592 of file tria_objects.h.

◆ serialize()

template<typename G >
template<class Archive >
void internal::TriangulationImplementation::TriaObjects< G >::BoundaryOrMaterialId::serialize ( Archive &  ar,
const unsigned int  version 
)

Read or write the data of this object to or from a stream for the purpose of serialization

Definition at line 602 of file tria_objects.h.

Member Data Documentation

◆ boundary_id

template<typename G >
types::boundary_id internal::TriangulationImplementation::TriaObjects< G >::BoundaryOrMaterialId::boundary_id

Definition at line 133 of file tria_objects.h.

◆ material_id

template<typename G >
types::material_id internal::TriangulationImplementation::TriaObjects< G >::BoundaryOrMaterialId::material_id

Definition at line 134 of file tria_objects.h.

◆ @3

union { ... }

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