Reference documentation for deal.II version GIT 58febcd5cf 2023-09-30 20:00:01+00:00
\(\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\}}\)
CellSimilarity Namespace Reference


enum  Similarity { none , translation , inverted_translation , invalid_next_cell }

Detailed Description

This enum definition is used for storing similarities of the current cell to the previously visited cell. This information is used for reusing data when calling the method FEValues::reinit() (like derivatives, which do not change if one cell is just a translation of the previous). Currently, this variable does only recognize a translation and an inverted translation (if dim<spacedim). However, this concept makes it easy to add additional states to be detected in FEValues/FEFaceValues for making use of these similarities as well.

Enumeration Type Documentation

◆ Similarity


The cells differ by something besides a translation or inverted translations.


The cells differ by a translation.


The cells differ by an inverted translation.


The next cell is not valid.

Definition at line 375 of file fe_update_flags.h.