Reference documentation for deal.II version GIT relicensing-249-g48dc7357c7 2024-03-29 12:30:02+00:00
\(\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 135 of file tria_objects.h.

Constructor & Destructor Documentation

◆ BoundaryOrMaterialId()

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

Default constructor.

Definition at line 395 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 403 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 412 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.

◆ [union]


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