Reference documentation for deal.II version GIT relicensing-437-g81ec864850 2024-04-19 07: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 | 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 42 of file tria_faces.h.

Constructor & Destructor Documentation

◆ TriaFaces() [1/2]

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

Constructor.

Definition at line 27 of file tria_faces.cc.

◆ TriaFaces() [2/2]

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

Default constructor for Boost::serialization.

Member Function Documentation

◆ get_quad_type()

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

Helper accessor function for quad_is_quadrilateral

Definition at line 123 of file tria_faces.h.

◆ set_quad_type()

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

Helper accessor function for quad_is_quadrilateral

Definition at line 133 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 34 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 150 of file tria_faces.h.

Member Data Documentation

◆ dim

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

Dimension of the underlying triangulation.

Definition at line 58 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 65 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.

Note
Used only for dim=3.

Definition at line 73 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.

Note
Used only for dim=3.

Definition at line 82 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 101 of file tria_faces.h.


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