From: Timo Heister Date: Tue, 24 Mar 2020 15:03:33 +0000 (-0400) Subject: annotate deprecation of n_array_elements X-Git-Tag: v9.2.0-rc1~367^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9725%2Fhead;p=dealii.git annotate deprecation of n_array_elements We should always add a comment for a replacement when deprecating something. It was not obvious here. Follow-up to #9688 --- diff --git a/include/deal.II/base/vectorization.h b/include/deal.II/base/vectorization.h index 32ffb2996d..23389353cd 100644 --- a/include/deal.II/base/vectorization.h +++ b/include/deal.II/base/vectorization.h @@ -400,6 +400,8 @@ public: * This gives the number of elements collected in this class. In the general * case, there is only one element. Specializations use SIMD intrinsics and * can work on multiple elements at the same time. + * + * @deprecated Use VectorizedArrayBase::size() instead. */ DEAL_II_DEPRECATED static const unsigned int n_array_elements = 1; @@ -942,6 +944,8 @@ public: /** * This gives the number of vectors collected in this class. + * + * @deprecated Use VectorizedArrayBase::size() instead. */ DEAL_II_DEPRECATED static const unsigned int n_array_elements = 8; @@ -1494,6 +1498,8 @@ public: /** * This gives the number of vectors collected in this class. + * + * @deprecated Use VectorizedArrayBase::size() instead. */ DEAL_II_DEPRECATED static const unsigned int n_array_elements = 16; @@ -2142,6 +2148,8 @@ public: /** * This gives the number of vectors collected in this class. + * + * @deprecated Use VectorizedArrayBase::size() instead. */ DEAL_II_DEPRECATED static const unsigned int n_array_elements = 4; @@ -2653,6 +2661,8 @@ public: /** * This gives the number of vectors collected in this class. + * + * @deprecated Use VectorizedArrayBase::size() instead. */ DEAL_II_DEPRECATED static const unsigned int n_array_elements = 8; @@ -3198,6 +3208,8 @@ public: /** * This gives the number of vectors collected in this class. + * + * @deprecated Use VectorizedArrayBase::size() instead. */ DEAL_II_DEPRECATED static const unsigned int n_array_elements = 2; @@ -3639,6 +3651,8 @@ public: /** * This gives the number of vectors collected in this class. + * + * @deprecated Use VectorizedArrayBase::size() instead. */ DEAL_II_DEPRECATED static const unsigned int n_array_elements = 4; @@ -4118,6 +4132,8 @@ public: /** * This gives the number of vectors collected in this class. + * + * @deprecated Use VectorizedArrayBase::size() instead. */ DEAL_II_DEPRECATED static const unsigned int n_array_elements = 2; @@ -4357,6 +4373,8 @@ public: /** * This gives the number of vectors collected in this class. + * + * @deprecated Use VectorizedArrayBase::size() instead. */ DEAL_II_DEPRECATED static const unsigned int n_array_elements = 4;