Reference documentation for deal.II version GIT 58febcd5cf 2023-09-30 20:00:01+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\}}\)
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
ReferenceCell get_quad_type (const std::size_t index) const
void set_quad_type (const std::size_t index, const ReferenceCell face_type)
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< boolquads_line_orientations
std::vector< boolquad_is_quadrilateral
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 organized 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)


Definition at line 28 of file

◆ TriaFaces() [2/2]

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

Default constructor for Boost::serialization.

Member Function Documentation

◆ get_quad_type()

ReferenceCell internal::TriangulationImplementation::TriaFaces::get_quad_type ( const std::size_t  index) const

Helper accessor function for quad_is_quadrilateral

Definition at line 124 of file tria_faces.h.

◆ set_quad_type()

void internal::TriangulationImplementation::TriaFaces::set_quad_type ( const std::size_t  index,
const ReferenceCell  face_type 

Helper accessor function for quad_is_quadrilateral

Definition at line 134 of file tria_faces.h.

◆ 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

◆ 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 151 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.

Used only for dim=3.

Definition at line 66 of file tria_faces.h.

◆ quads_line_orientations

std::vector<bool> internal::TriangulationImplementation::TriaFaces::quads_line_orientations

Orientation of each line of each quad. Like elsewhere, true refers to the standard orientation and false refers to the reverse orientation.

Used only for dim=3.

Definition at line 74 of file tria_faces.h.

◆ quad_is_quadrilateral

std::vector<bool> internal::TriangulationImplementation::TriaFaces::quad_is_quadrilateral

Whether or not each quad is a Quadrilateral. Since, if dim = 3, faces are either Triangles or Quadrilaterals, it suffices to store a boolean.

Used only for dim=3.

Definition at line 83 of file tria_faces.h.

◆ lines

TriaObjects internal::TriangulationImplementation::TriaFaces::lines

The TriaObject containing the data of lines.

Used only for dim>1.

Definition at line 102 of file tria_faces.h.

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