From: Martin Kronbichler Date: Sat, 9 Feb 2019 10:44:41 +0000 (+0100) Subject: Comment on <= comparison for MatrixFree::ElementType. X-Git-Tag: v9.1.0-rc1~354^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efcbebec5ef0c0ce1ddaa324df9a6965726f3392;p=dealii.git Comment on <= comparison for MatrixFree::ElementType. --- 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