Reference documentation for deal.II version Git ab1cc5b 2017-03-24 06:23:49 -0600
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.