tfel
Loading...
Searching...
No Matches
tfel::material::ModellingHypothesis Struct Reference

a helper structure defining the Hypothesis enum. More...

#include </home/runner/work/tfel/tfel/include/TFEL/Material/ModellingHypothesis.hxx>

Public Types

enum  Hypothesis {
  AXISYMMETRICALGENERALISEDPLANESTRAIN , AXISYMMETRICALGENERALISEDPLANESTRESS , AXISYMMETRICAL , PLANESTRESS ,
  PLANESTRAIN , GENERALISEDPLANESTRAIN , TRIDIMENSIONAL , UNDEFINEDHYPOTHESIS
}

Static Public Member Functions

static const std::vector< Hypothesis > & getModellingHypotheses ()
static Hypothesis fromString (const std::string &)
static std::string toString (const Hypothesis)
static std::string toUpperCaseString (const Hypothesis)
static bool isModellingHypothesis (const std::string &)

Detailed Description

a helper structure defining the Hypothesis enum.

Member Enumeration Documentation

◆ Hypothesis

the list of supported modelling hypothesis

Member Function Documentation

◆ fromString()

Hypothesis tfel::material::ModellingHypothesis::fromString ( const std::string & )
static

convert a string to a modelling hypothesis

AXISYMMETRICALGENERALISEDPLANESTRAIN <=> AxisymmetricalGeneralisedPlaneStrain AXISYMMETRICALGENERALISEDPLANESTRESS <=> AxisymmetricalGeneralisedPlaneStress, AXISYMMETRICAL <=> Axisymmetrical PLANESTRESS <=> PlaneStress PLANESTRAIN <=> PlaneStrain GENERALISEDPLANESTRAIN <=> GeneralisedPlaneStrain TRIDIMENSIONAL <=> Tridimensional

◆ isModellingHypothesis()

bool tfel::material::ModellingHypothesis::isModellingHypothesis ( const std::string & )
static
Returns
true if the given string stands for a modelling hypothesis

◆ toString()

std::string tfel::material::ModellingHypothesis::toString ( const Hypothesis )
static
Returns
a string correpsonding to the modelling hypothesis AXISYMMETRICALGENERALISEDPLANESTRAIN <=> AxisymmetricalGeneralisedPlaneStrain AXISYMMETRICALGENERALISEDPLANESTRESS <=> AxisymmetricalGeneralisedPlaneStress, AXISYMMETRICAL <=> Axisymmetrical PLANESTRESS <=> PlaneStress PLANESTRAIN <=> PlaneStrain GENERALISEDPLANESTRAIN <=> GeneralisedPlaneStrain TRIDIMENSIONAL <=> Tridimensional

◆ toUpperCaseString()

std::string tfel::material::ModellingHypothesis::toUpperCaseString ( const Hypothesis )
static
Returns
an upper case string correpsonding to the modelling hypothesis

The documentation for this struct was generated from the following file: