Loading [MathJax]/extensions/TeX/newcommand.js
 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\}}
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
GridTools::internal::FaceDataHelper< dim > Class Template Reference

Public Member Functions

template<typename FaceIteratorType >
void insert_face_data (const FaceIteratorType &face)
 
SubCellData get ()
 

Private Attributes

std::set< CellData< dim - 1 >, internal::CellDataComparator< dim - 1 > > face_data
 

Detailed Description

template<int dim>
class GridTools::internal::FaceDataHelper< dim >

get_coarse_mesh_description() needs to store face data for dim>1, but we can not have this code in the function, as this requires either an instantiation of CellData<dim-1>, or constexpr if. We use a class with specialization instead for now.

Data on faces is added with insert_face_data() and then retrieved with get().

Definition at line 97 of file grid_tools_topology.cc.

Member Function Documentation

◆ insert_face_data()

template<int dim>
template<typename FaceIteratorType >
void GridTools::internal::FaceDataHelper< dim >::insert_face_data ( const FaceIteratorType & face)
inline

Store the data about the given face face.

Definition at line 105 of file grid_tools_topology.cc.

◆ get()

template<int dim>
SubCellData GridTools::internal::FaceDataHelper< dim >::get ( )
inline

Return the subcell_data with the stored information.

Definition at line 121 of file grid_tools_topology.cc.

Member Data Documentation

◆ face_data

template<int dim>
std::set<CellData<dim - 1>, internal::CellDataComparator<dim - 1> > GridTools::internal::FaceDataHelper< dim >::face_data
private

Definition at line 133 of file grid_tools_topology.cc.


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