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
internal::TriangulationImplementation::Connectivity< T > Struct Template Reference

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

Public Member Functions

 Connectivity (const unsigned int dim, const std::vector< ReferenceCell > &cell_types)
 
TriaObjectsOrientationsentity_orientations (const unsigned int structdim)
 
const TriaObjectsOrientationsentity_orientations (const unsigned int structdim) const
 
std::vector< ReferenceCell > & entity_types (const unsigned int structdim)
 
const std::vector< ReferenceCell > & entity_types (const unsigned int structdim) const
 
CRS< T > & entity_to_entities (const unsigned int from, const unsigned int to)
 
const CRS< T > & entity_to_entities (const unsigned int from, const unsigned int to) const
 

Private Attributes

const unsigned int dim
 
std::vector< ReferenceCellcell_types
 
CRS< T > line_vertices
 
TriaObjectsOrientations line_orientation
 
CRS< T > quad_vertices
 
CRS< T > quad_lines
 
TriaObjectsOrientations quad_orientation
 
CRS< T > cell_entities
 
CRS< T > neighbors
 
std::vector< ReferenceCellquad_types
 

Detailed Description

template<typename T = unsigned int>
struct internal::TriangulationImplementation::Connectivity< T >

Class for storing the reduced connectivity table.

A full connectivity table contains all possible connectivities of entities of dimension d and entities of dimension d' with 0<=d,d'<=dim. However, in the library we only need the following types of connectivities:

  • dim-dimensional neighbors of dim-dimensional entities (connected via faces)
  • d-dimensional entity to it's (d-1)-dimension bounding entities
  • quad (2 - 3D), line (1 - 2d/3d) to vertices (0) to be able to process the user provided SubCellData during Triangulation::create_triangulation(). We call a table, which computes the corresponding entries of a full connectivity table a reduced table.

The entries of the reduced table are as follows for 1d-3d:

1D : | 0 1 2d: | 0 1 2 3d: | 0 1 2 3 —+--— —+----— —+-----— 0 | 0 | 0 | 1 | x n 1 | x 1 | x 2 | s x n 2 | s x 3 | x n

with markers highlighting the reason for the entry x:=bounding entities; n:= neighboring entities; s:=sub-cell data

Definition at line 822 of file connectivity.h.

Constructor & Destructor Documentation

◆ Connectivity()

template<typename T = unsigned int>
internal::TriangulationImplementation::Connectivity< T >::Connectivity ( const unsigned int dim,
const std::vector< ReferenceCell > & cell_types )
inline

Definition at line 824 of file connectivity.h.

Member Function Documentation

◆ entity_orientations() [1/2]

template<typename T = unsigned int>
TriaObjectsOrientations & internal::TriangulationImplementation::Connectivity< T >::entity_orientations ( const unsigned int structdim)
inline

Definition at line 831 of file connectivity.h.

◆ entity_orientations() [2/2]

template<typename T = unsigned int>
const TriaObjectsOrientations & internal::TriangulationImplementation::Connectivity< T >::entity_orientations ( const unsigned int structdim) const
inline

Definition at line 842 of file connectivity.h.

◆ entity_types() [1/2]

template<typename T = unsigned int>
std::vector< ReferenceCell > & internal::TriangulationImplementation::Connectivity< T >::entity_types ( const unsigned int structdim)
inline

Definition at line 853 of file connectivity.h.

◆ entity_types() [2/2]

template<typename T = unsigned int>
const std::vector< ReferenceCell > & internal::TriangulationImplementation::Connectivity< T >::entity_types ( const unsigned int structdim) const
inline

Definition at line 866 of file connectivity.h.

◆ entity_to_entities() [1/2]

template<typename T = unsigned int>
CRS< T > & internal::TriangulationImplementation::Connectivity< T >::entity_to_entities ( const unsigned int from,
const unsigned int to )
inline

Definition at line 879 of file connectivity.h.

◆ entity_to_entities() [2/2]

template<typename T = unsigned int>
const CRS< T > & internal::TriangulationImplementation::Connectivity< T >::entity_to_entities ( const unsigned int from,
const unsigned int to ) const
inline

Definition at line 898 of file connectivity.h.

Member Data Documentation

◆ dim

template<typename T = unsigned int>
const unsigned int internal::TriangulationImplementation::Connectivity< T >::dim
private

Definition at line 917 of file connectivity.h.

◆ cell_types

template<typename T = unsigned int>
std::vector<ReferenceCell> internal::TriangulationImplementation::Connectivity< T >::cell_types
private

Definition at line 918 of file connectivity.h.

◆ line_vertices

template<typename T = unsigned int>
CRS<T> internal::TriangulationImplementation::Connectivity< T >::line_vertices
private

Definition at line 920 of file connectivity.h.

◆ line_orientation

template<typename T = unsigned int>
TriaObjectsOrientations internal::TriangulationImplementation::Connectivity< T >::line_orientation
private

Definition at line 922 of file connectivity.h.

◆ quad_vertices

template<typename T = unsigned int>
CRS<T> internal::TriangulationImplementation::Connectivity< T >::quad_vertices
private

Definition at line 924 of file connectivity.h.

◆ quad_lines

template<typename T = unsigned int>
CRS<T> internal::TriangulationImplementation::Connectivity< T >::quad_lines
private

Definition at line 925 of file connectivity.h.

◆ quad_orientation

template<typename T = unsigned int>
TriaObjectsOrientations internal::TriangulationImplementation::Connectivity< T >::quad_orientation
private

Definition at line 927 of file connectivity.h.

◆ cell_entities

template<typename T = unsigned int>
CRS<T> internal::TriangulationImplementation::Connectivity< T >::cell_entities
private

Definition at line 929 of file connectivity.h.

◆ neighbors

template<typename T = unsigned int>
CRS<T> internal::TriangulationImplementation::Connectivity< T >::neighbors
private

Definition at line 930 of file connectivity.h.

◆ quad_types

template<typename T = unsigned int>
std::vector<ReferenceCell> internal::TriangulationImplementation::Connectivity< T >::quad_types
private

Definition at line 932 of file connectivity.h.


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