Reference documentation for deal.II version Git 354f154960 2021-01-18 17:44:59 +0100
\(\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 | Private Attributes | List of all members
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::Type > &cell_types)
 
std::vector< unsigned char > & entity_orientations (const unsigned int structdim)
 
const std::vector< unsigned char > & entity_orientations (const unsigned int structdim) const
 
std::vector< ReferenceCell::Type > & entity_types (const unsigned int structdim)
 
const std::vector< ReferenceCell::Type > & 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< ReferenceCell::Typecell_types
 
CRS< T > line_vertices
 
std::vector< unsigned char > line_orientation
 
CRS< T > quad_vertices
 
CRS< T > quad_lines
 
std::vector< unsigned char > quad_orientation
 
CRS< T > cell_entities
 
CRS< T > neighbors
 
std::vector< ReferenceCell::Typequad_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:

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 821 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::Type > &  cell_types 
)
inline

Definition at line 823 of file connectivity.h.

Member Function Documentation

◆ entity_orientations() [1/2]

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

Definition at line 830 of file connectivity.h.

◆ entity_orientations() [2/2]

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

Definition at line 841 of file connectivity.h.

◆ entity_types() [1/2]

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

Definition at line 852 of file connectivity.h.

◆ entity_types() [2/2]

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

Definition at line 865 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 878 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 897 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 916 of file connectivity.h.

◆ cell_types

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

Definition at line 917 of file connectivity.h.

◆ line_vertices

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

Definition at line 919 of file connectivity.h.

◆ line_orientation

template<typename T = unsigned int>
std::vector<unsigned char> internal::TriangulationImplementation::Connectivity< T >::line_orientation
private

Definition at line 921 of file connectivity.h.

◆ quad_vertices

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

Definition at line 923 of file connectivity.h.

◆ quad_lines

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

Definition at line 924 of file connectivity.h.

◆ quad_orientation

template<typename T = unsigned int>
std::vector<unsigned char> internal::TriangulationImplementation::Connectivity< T >::quad_orientation
private

Definition at line 926 of file connectivity.h.

◆ cell_entities

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

Definition at line 928 of file connectivity.h.

◆ neighbors

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

Definition at line 929 of file connectivity.h.

◆ quad_types

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

Definition at line 931 of file connectivity.h.


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