From: Julius Witte Date: Wed, 25 Sep 2019 16:28:43 +0000 (-0400) Subject: Expose static size and value type X-Git-Tag: v9.2.0-rc1~1022^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=123879a9a05d925f04fe3989f59666db6bf19768;p=dealii.git Expose static size and value type --- diff --git a/include/deal.II/lac/tensor_product_matrix.h b/include/deal.II/lac/tensor_product_matrix.h index ffab3f43be..8c9877bd61 100644 --- a/include/deal.II/lac/tensor_product_matrix.h +++ b/include/deal.II/lac/tensor_product_matrix.h @@ -74,6 +74,17 @@ template class TensorProductMatrixSymmetricSumBase { public: + /** + * Type of matrix entries. This alias is analogous to value_type + * in the standard library containers. + */ + using value_type = Number; + + /** + * Compile-time array lengths given by the template parameter size. + */ + static constexpr int static_size = size; + /** * Return the number of rows of the tensor product matrix * resulting from the Kronecker product of 1D matrices, which is described