1 /*! 2 * \file mfront/include/MFront/Cyrano/CyranoTraits.hxx 3 * \brief 4 * 5 * \author Thomas Helfer 6 * \date 21/02/2014 7 * \copyright Copyright (C) 2006-2018 CEA/DEN, EDF R&D. All rights 8 * reserved. 9 * This project is publicly released under either the GNU GPL Licence 10 * or the CECILL-A licence. A copy of thoses licences are delivered 11 * with the sources of TFEL. CEA or EDF may also distribute this 12 * project under specific licensing conditions. 13 */ 14 15 #ifndef LIB_MFRONT_CYRANOTRAITS_HXX 16 #define LIB_MFRONT_CYRANOTRAITS_HXX 17 18 namespace cyrano{ 19 20 enum CyranoSymmetryType{ 21 ISOTROPIC, 22 ORTHOTROPIC 23 }; // end of enum CyranoSymmetryType 24 25 template<typename Behaviour> 26 struct CyranoTraits{ 27 static constexpr bool useTimeSubStepping = false; 28 static constexpr bool doSubSteppingOnInvalidResults = false; 29 static constexpr unsigned short maximumSubStepping = 0u; 30 static constexpr bool requiresStiffnessTensor = false; 31 static constexpr bool requiresThermalExpansionCoefficientTensor = false; 32 static constexpr unsigned short material_properties_nb = 0u; 33 static constexpr unsigned short internal_variables_nb = 0u; 34 static constexpr unsigned short propertiesOffset = 0u; 35 static constexpr unsigned short elasticPropertiesOffset = 0u; 36 static constexpr CyranoSymmetryType stype = cyrano::ISOTROPIC; 37 }; // end of class CyranoTraits 38 39 } // end of namespace cyrano 40 41 #endif /* LIB_MFRONT_CYRANOTRAITS_HXX */ 42 43