Reference documentation for deal.II version 9.5.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\}}\)
Loading...
Searching...
No Matches
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 136 of file tria_objects.h.

Constructor & Destructor Documentation

◆ BoundaryOrMaterialId()

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

Default constructor.

Definition at line 396 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 404 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 using the BOOST serialization library.

Definition at line 413 of file tria_objects.h.

Member Data Documentation

◆ boundary_id

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

Definition at line 140 of file tria_objects.h.

◆ material_id

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

Definition at line 141 of file tria_objects.h.

◆ [union]


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