From: Wolfgang Bangerth Date: Mon, 2 Mar 2015 14:45:46 +0000 (-0600) Subject: Add ProductType description also for SymmetricTensor. X-Git-Tag: v8.3.0-rc1~395^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F630%2Fhead;p=dealii.git Add ProductType description also for SymmetricTensor. --- diff --git a/include/deal.II/base/symmetric_tensor.h b/include/deal.II/base/symmetric_tensor.h index 0b42c16f3d..cb6179434e 100644 --- a/include/deal.II/base/symmetric_tensor.h +++ b/include/deal.II/base/symmetric_tensor.h @@ -2703,6 +2703,24 @@ operator * (const Number factor, } +#ifndef DEAL_II_WITH_CXX11 + +template +struct ProductType > +{ + typedef SymmetricTensor::type> type; +}; + +template +struct ProductType,U> +{ + typedef SymmetricTensor::type> type; +}; + +#endif + + + /** * Multiplication of a symmetric tensor with a scalar number from the right. *