Reference documentation for deal.II version Git 3fe3ec1 2018-08-21 21:05:51 -0400
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.