1 /*! 2 * \file include/TFEL/Material/Cazacu2004YieldCriterionTypes.hxx 3 * \brief 4 * \author Thomas Helfer 5 * \date 10/05/2018 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_MATERIAL_CAZACU2004YIELDCRITERIONTYPES_HXX 15 #define LIB_TFEL_MATERIAL_CAZACU2004YIELDCRITERIONTYPES_HXX 16 17 #include "TFEL/Math/stensor.hxx" 18 #include "TFEL/Math/st2tost2.hxx" 19 20 namespace tfel { 21 22 namespace material { 23 24 //! a simple alias 25 template <typename StressStensor> 26 using Cazacu2004StressType = tfel::math::StensorNumType<StressStensor>; 27 //! a simple alias 28 template <typename StressStensor> 29 using Cazacu2004BaseType = 30 tfel::typetraits::base_type<tfel::math::StensorNumType<StressStensor>>; 31 //! a simple alias 32 template <typename StressStensor> 33 using Cazacu2004InvertStressType = 34 tfel::math::result_type<Cazacu2004BaseType<StressStensor>, 35 Cazacu2004StressType<StressStensor>, 36 tfel::math::OpDiv>; 37 //! a simple alias 38 template <typename StressStensor> 39 using Cazacu2004StressNormalType = 40 tfel::math::stensor<tfel::math::StensorTraits<StressStensor>::dime, 41 Cazacu2004BaseType<StressStensor>>; 42 //! a simple alias 43 template <typename StressStensor> 44 using Cazacu2004StressSecondDerivativeType = 45 tfel::math::st2tost2<tfel::math::StensorTraits<StressStensor>::dime, 46 Cazacu2004InvertStressType<StressStensor>>; 47 48 } // end of namespace material 49 50 } // end of namespace tfel 51 52 #endif /* LIB_TFEL_MATERIAL_CAZACU2004YIELDCRITERIONTYPES_HXX */ 53