1 /*! 2 * \file VariableBoundsDescription.cxx 3 * \brief 4 * \author Thomas Helfer 5 * \date 22 janv. 2015 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"MFront/VariableBoundsDescription.hxx" 15 16 namespace mfront{ 17 hasLowerBound() const18 bool VariableBoundsDescription::hasLowerBound() const{ 19 return (this->boundsType==LOWER)||(this->boundsType==LOWERANDUPPER); 20 } // end of VariableBoundsDescription::hasLowerBounds() 21 hasUpperBound() const22 bool VariableBoundsDescription::hasUpperBound() const{ 23 return (this->boundsType==UPPER)||(this->boundsType==LOWERANDUPPER); 24 } // end of VariableBoundsDescription::hasUpperBounds() 25 26 VariableBoundsDescription::~VariableBoundsDescription() noexcept = default; 27 28 } // end of namespace mfront 29