Reference documentation for deal.II version Git 1ecc23629d 2021-05-18 09:57:04 +0200
\(\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
TriangulationDescription::CellData< dim > Struct Template Reference

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

Public Member Functions

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 >

Information needed for each locally relevant cell, stored in Description and used during construction of a Triangulation. This struct stores the cell id, the subdomain_id and the level_subdomain_id as well as information related to manifold_id and boundary_id.

Note
Similarly to CellData, this structure stores information about a cell. However, in contrast to CellData, it also stores a unique id, partitioning information, and information related to cell faces and edges.

Definition at line 281 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 500 of file tria_description.h.

◆ operator==()

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

Comparison operator.

Definition at line 532 of file tria_description.h.

Member Data Documentation

◆ id

Unique CellID of the cell.

Definition at line 301 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 306 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 311 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 316 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 324 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 333 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 339 of file tria_description.h.


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