1 /*! 2 * \file mfront/src/MichelAndSuquet1992HollowSphereStressCriterion.cxx 3 * \brief 4 * \author Thomas Helfer, Jérémy Hure, Mohamed Shokeir 5 * \date 20/07/2020 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 #include "TFEL/Raise.hxx" 15 #include "MFront/BehaviourBrick/BrickUtilities.hxx" 16 #include "MFront/BehaviourBrick/OptionDescription.hxx" 17 #include "MFront/BehaviourBrick/StressPotential.hxx" 18 #include "MFront/BehaviourBrick/MichelAndSuquet1992HollowSphereStressCriterion.hxx" 19 20 namespace mfront { 21 22 namespace bbrick { 23 MichelAndSuquet1992HollowSphereStressCriterion()24 MichelAndSuquet1992HollowSphereStressCriterion::MichelAndSuquet1992HollowSphereStressCriterion() 25 : StandardPorousStressCriterionBase("MichelAndSuquet1992HollowSphere") {} // end of 26 // MichelAndSuquet1992HollowSphereStressCriterion::MichelAndSuquet1992HollowSphereStressCriterion 27 28 std::vector<mfront::BehaviourSymmetryType> getSupportedBehaviourSymmetries() const29 MichelAndSuquet1992HollowSphereStressCriterion::getSupportedBehaviourSymmetries() const { 30 return {mfront::ISOTROPIC, mfront::ORTHOTROPIC}; 31 } // end of 32 // MichelAndSuquet1992HollowSphereStressCriterion::getSupportedBehaviourSymmetries() 33 getOptions() const34 std::vector<OptionDescription> MichelAndSuquet1992HollowSphereStressCriterion::getOptions() 35 const { 36 auto opts = StressCriterionBase::getOptions(); 37 opts.emplace_back("n", "Norton exponent of the matrix", 38 OptionDescription::MATERIALPROPERTY); 39 return opts; 40 } // end of MichelAndSuquet1992HollowSphereStressCriterion::getOptions() 41 42 StressCriterion::PorosityEffectOnFlowRule getPorosityEffectOnEquivalentPlasticStrain() const43 MichelAndSuquet1992HollowSphereStressCriterion::getPorosityEffectOnEquivalentPlasticStrain() const { 44 return StressCriterion::NO_POROSITY_EFFECT_ON_EQUIVALENT_PLASTIC_STRAIN; 45 } // end of MichelAndSuquet1992HollowSphereStressCriterion::getPorosityEffectOnEquivalentPlasticStrain() 46 47 MichelAndSuquet1992HollowSphereStressCriterion:: 48 ~MichelAndSuquet1992HollowSphereStressCriterion() = default; 49 50 } // end of namespace bbrick 51 52 } // end of namespace mfront 53