From efcbebec5ef0c0ce1ddaa324df9a6965726f3392 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Sat, 9 Feb 2019 11:44:41 +0100 Subject: [PATCH] Comment on <= comparison for MatrixFree::ElementType. --- include/deal.II/matrix_free/shape_info.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/deal.II/matrix_free/shape_info.h b/include/deal.II/matrix_free/shape_info.h index 9533c9c94d..89c1f2902d 100644 --- a/include/deal.II/matrix_free/shape_info.h +++ b/include/deal.II/matrix_free/shape_info.h @@ -36,6 +36,15 @@ namespace internal * initialization. FEEvaluation will select the most efficient algorithm * based on the given element type. * + * There is an implied ordering in the type ElementType::tensor_symmetric + * in the sense that both ElementType::tensor_symmetric_collocation and + * ElementType::tensor_symmetric_hermite are also of type + * ElementType::tensor_symmetric. Likewise, a configuration of type + * ElementType::tensor_symmetric is also of type + * ElementType::tensor_general. As a consequence, we support `<=` + * operations between the types with this sorting, but not against the + * even higher indexed types such as ElementType::truncated_tensor. + * * @ingroup matrixfree */ enum ElementType -- 2.39.5