Reference documentation for deal.II version Git 67353a5f2d 2021-01-26 18:33:38 +0100
\(\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 | Public Attributes | List of all members
internal::TriangulationImplementation::TriaFaces Class Reference

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

Public Member Functions

 TriaFaces (const unsigned int dim)
 
 TriaFaces ()=default
 
std::size_t memory_consumption () const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Public Attributes

unsigned int dim
 
TriaObjects quads
 
std::vector< unsigned char > quads_line_orientations
 
std::vector< ReferenceCell::Typequad_reference_cell_type
 
TriaObjects lines
 

Detailed Description

This class contains information belonging to the faces of a triangulation. These classes are similar to the TriaLevel classes. As cells are organised in a hierarchical structure of levels, each triangulation consists of several such TriaLevels. However the faces of a triangulation, lower dimensional objects like lines in 2D or lines and quads in 3D, do not have to be based on such a hierarchical structure. In fact we have to organise them in only one object if we want to enable anisotropic refinement. Therefore the TriaFaces classes store the information belonging to the faces of a triangulation separately from the TriaLevel classes.

Definition at line 43 of file tria_faces.h.

Constructor & Destructor Documentation

◆ TriaFaces() [1/2]

internal::TriangulationImplementation::TriaFaces::TriaFaces ( const unsigned int  dim)

Constructor.

Definition at line 28 of file tria_faces.cc.

◆ TriaFaces() [2/2]

internal::TriangulationImplementation::TriaFaces::TriaFaces ( )
default

Default constructor for Boost::serialization.

Member Function Documentation

◆ memory_consumption()

std::size_t internal::TriangulationImplementation::TriaFaces::memory_consumption ( ) const

Determine an estimate for the memory consumption (in bytes) of this object.

Definition at line 35 of file tria_faces.cc.

◆ serialize()

template<class Archive >
void internal::TriangulationImplementation::TriaFaces::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 110 of file tria_faces.h.

Member Data Documentation

◆ dim

unsigned int internal::TriangulationImplementation::TriaFaces::dim

Dimension of the underlying triangulation.

Definition at line 59 of file tria_faces.h.

◆ quads

TriaObjects internal::TriangulationImplementation::TriaFaces::quads

The TriaObject containing the data of quads.

Note
Used only for dim=3.

Definition at line 66 of file tria_faces.h.

◆ quads_line_orientations

std::vector<unsigned char> internal::TriangulationImplementation::TriaFaces::quads_line_orientations

Orientation of each line of each quad.

Note
Used only for dim=3.

Definition at line 73 of file tria_faces.h.

◆ quad_reference_cell_type

std::vector<ReferenceCell::Type> internal::TriangulationImplementation::TriaFaces::quad_reference_cell_type

Reference cell type of each quad.

Note
Used only for dim=3.

Definition at line 80 of file tria_faces.h.

◆ lines

TriaObjects internal::TriangulationImplementation::TriaFaces::lines

The TriaObject containing the data of lines.

Note
Used only for dim>1.

Definition at line 87 of file tria_faces.h.


The documentation for this class was generated from the following files: