Reference documentation for deal.II version Git e159ac89de 2020-06-06 19:38:41 +0200
\(\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::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

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 135 of file tria_objects.h.

Constructor & Destructor Documentation

◆ BoundaryOrMaterialId()

internal::TriangulationImplementation::TriaObjects::BoundaryOrMaterialId::BoundaryOrMaterialId ( )
inline

Default constructor.

Definition at line 413 of file tria_objects.h.

Member Function Documentation

◆ memory_consumption()

std::size_t internal::TriangulationImplementation::TriaObjects::BoundaryOrMaterialId::memory_consumption ( )
inlinestatic

Return the size of objects of this kind.

Definition at line 421 of file tria_objects.h.

◆ serialize()

template<class Archive >
void internal::TriangulationImplementation::TriaObjects::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 430 of file tria_objects.h.

Member Data Documentation

◆ boundary_id

types::boundary_id internal::TriangulationImplementation::TriaObjects::BoundaryOrMaterialId::boundary_id

Definition at line 139 of file tria_objects.h.

◆ material_id

types::material_id internal::TriangulationImplementation::TriaObjects::BoundaryOrMaterialId::material_id

Definition at line 140 of file tria_objects.h.

◆ @3

union { ... }

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