Reference documentation for deal.II version 9.2.0
|
#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 | |
}; | |
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.
|
inline |
Default constructor.
Definition at line 583 of file tria_objects.h.
|
static |
Return the size of objects of this kind.
Definition at line 592 of file tria_objects.h.
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.
types::boundary_id internal::TriangulationImplementation::TriaObjects< G >::BoundaryOrMaterialId::boundary_id |
Definition at line 133 of file tria_objects.h.
types::material_id internal::TriangulationImplementation::TriaObjects< G >::BoundaryOrMaterialId::material_id |
Definition at line 134 of file tria_objects.h.
union { ... } |