Reference documentation for deal.II version Git e3a3ec7800 2020-08-07 14:08:19 +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 | Private Attributes | List of all members
GridTools::internal::FaceDataHelper< dim > Class Template Reference

Public Member Functions

template<class 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 352 of file grid_tools.cc.

Member Function Documentation

◆ insert_face_data()

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

Store the data about the given face face.

Definition at line 360 of file grid_tools.cc.

◆ get()

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

Return the subcell_data with the stored information.

Definition at line 376 of file grid_tools.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 388 of file grid_tools.cc.


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