Reference documentation for deal.II version 9.6.0
\(\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
TriangulationDescription::CellData< dim > Struct Template Reference

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

Public Member Functions

 CellData ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
bool operator== (const CellData< dim > &other) const
 

Public Attributes

CellId::binary_type id
 
types::subdomain_id subdomain_id
 
types::subdomain_id level_subdomain_id
 
types::manifold_id manifold_id
 
std::array< types::manifold_id, GeometryInfo< dim >::lines_per_cell > manifold_line_ids
 
std::array< types::manifold_id, dim==1 ? 1 :GeometryInfo< 3 >::quads_per_cell > manifold_quad_ids
 
std::vector< std::pair< unsigned int, types::boundary_id > > boundary_ids
 

Detailed Description

template<int dim>
struct TriangulationDescription::CellData< dim >

This class stores information needed for creating a locally relevant cell when calling the overload of Triangulation::create_triangulation() that takes an object of type TriangulationDescription::Description. Objects of the current type are stored in Description. In contrast to the CellData class, the current class also stores information relevant for the parallel partitioning of a triangulation, such as a global cell id, the subdomain_id, and the level_subdomain_id as well as information related to manifold_id and boundary_id.

In contrast to CellData, it does not store geometric information such as vertex locations. This information is only needed on the coarsest level of a triangulation (whereas the current structure is also used for refined levels of a triangulation) and is stored separately by the Description class.

Definition at line 339 of file tria_description.h.

Constructor & Destructor Documentation

◆ CellData()

template<int dim>
CellData< dim >::CellData ( )

Constructor

Definition at line 716 of file tria_description.h.

Member Function Documentation

◆ serialize()

template<int dim>
template<class Archive >
void CellData< dim >::serialize ( Archive & ar,
const unsigned int  )

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 735 of file tria_description.h.

◆ operator==()

template<int dim>
bool CellData< dim >::operator== ( const CellData< dim > & other) const

Comparison operator.

Definition at line 777 of file tria_description.h.

Member Data Documentation

◆ id

Unique CellID of the cell.

Definition at line 364 of file tria_description.h.

◆ subdomain_id

template<int dim>
types::subdomain_id TriangulationDescription::CellData< dim >::subdomain_id

subdomain_id of the cell.

Definition at line 369 of file tria_description.h.

◆ level_subdomain_id

template<int dim>
types::subdomain_id TriangulationDescription::CellData< dim >::level_subdomain_id

level_subdomain_id of the cell.

Definition at line 374 of file tria_description.h.

◆ manifold_id

template<int dim>
types::manifold_id TriangulationDescription::CellData< dim >::manifold_id

Manifold id of the cell.

Definition at line 379 of file tria_description.h.

◆ manifold_line_ids

template<int dim>
std::array<types::manifold_id, GeometryInfo<dim>::lines_per_cell> TriangulationDescription::CellData< dim >::manifold_line_ids

Manifold id of all lines of the cell.

Note
Only used for 2d and 3d.

Definition at line 387 of file tria_description.h.

◆ manifold_quad_ids

template<int dim>
std::array<types::manifold_id, dim == 1 ? 1 : GeometryInfo<3>::quads_per_cell> TriangulationDescription::CellData< dim >::manifold_quad_ids

Manifold id of all face quads of the cell.

Note
Only used for 3d.

Definition at line 396 of file tria_description.h.

◆ boundary_ids

template<int dim>
std::vector<std::pair<unsigned int, types::boundary_id> > TriangulationDescription::CellData< dim >::boundary_ids

List of face number and boundary id of all non-internal faces of the cell.

Definition at line 402 of file tria_description.h.


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