1 /*! 2 * \file include/TFEL/Math/Forward/st2tot2.hxx 3 * \brief 4 * \author Thomas Helfer 5 * \date 19 November 2013 6 * \copyright Copyright (C) 2006-2018 CEA/DEN, EDF R&D. All rights 7 * reserved. 8 * This project is publicly released under either the GNU GPL Licence 9 * or the CECILL-A licence. A copy of thoses licences are delivered 10 * with the sources of TFEL. CEA or EDF may also distribute this 11 * project under specific licensing conditions. 12 */ 13 14 #ifndef LIB_TFEL_MATH_FORWARD_ST2TOT2_HXX 15 #define LIB_TFEL_MATH_FORWARD_ST2TOT2_HXX 16 17 namespace tfel{ 18 19 namespace math { 20 21 /* 22 * \class st2tot2 23 * \brief finite size linear function which turns a (unsymmetric) 24 * tensor to symmetric tensor. 25 * \param N, the spatial dimension, see StensorDimeToSize for details. 26 * \param T, numerical type used, by default, double 27 * \pre This class is only defined for N=1u,2u and 3u. 28 * \see StensorDimeToSize and StensorSizeToDime. 29 */ 30 template<unsigned short N, 31 typename T = double> 32 struct st2tot2; 33 34 } // end of namespace math 35 36 } // end of namespace tfel 37 38 #endif /* LIB_TFEL_MATH_FORWARD_ST2TOT2_HXX */ 39 40