MGIS
Loading...
Searching...
No Matches
Hypothesis.hxx File Reference
#include <string>
#include "MGIS/Config.hxx"

Namespaces

namespace  mgis
 the namespace mgis encloses all the MGIS project.
 

Enumerations

enum struct  mgis::behaviour::Hypothesis {
  AXISYMMETRICALGENERALISEDPLANESTRAIN , AXISYMMETRICALGENERALISEDPLANESTRESS , AXISYMMETRICAL , PLANESTRESS ,
  PLANESTRAIN , GENERALISEDPLANESTRAIN , TRIDIMENSIONAL
}
 the list of supported modelling hypotheses
 

Functions

MGIS_EXPORT size_type mgis::behaviour::getSpaceDimension (const Hypothesis)
 
MGIS_EXPORT size_type mgis::behaviour::getStensorSize (const Hypothesis)
 
MGIS_EXPORT size_type mgis::behaviour::getTensorSize (const Hypothesis)
 
MGIS_EXPORT const char * mgis::behaviour::toString (const Hypothesis)
 
MGIS_EXPORT Hypothesis mgis::behaviour::fromString (const char *const)
 
MGIS_EXPORT Hypothesis mgis::behaviour::fromString (const std::string &)
 

Detailed Description

Author
Thomas Helfer
Date
19/06/2018

Function Documentation

◆ fromString() [1/2]

MGIS_EXPORT Hypothesis mgis::behaviour::fromString ( const char * const  )
Returns
the hypothesis described by the given string.
Parameters
[in]hmodelling hypothesis
Note
valid values are:
  • AxisymmetricalGeneralisedPlaneStrain
  • AxisymmetricalGeneralisedPlaneStress
  • Axisymmetrical
  • PlaneStress
  • PlaneStrain
  • GeneralisedPlaneStrain
  • Tridimensional

◆ fromString() [2/2]

MGIS_EXPORT Hypothesis mgis::behaviour::fromString ( const std::string &  )
Returns
the hypothesis described by the given string.
Parameters
[in]hmodelling hypothesis
Note
valid values are:
  • AxisymmetricalGeneralisedPlaneStrain
  • AxisymmetricalGeneralisedPlaneStress
  • Axisymmetrical
  • PlaneStress
  • PlaneStrain
  • GeneralisedPlaneStrain
  • Tridimensional

◆ getSpaceDimension()

MGIS_EXPORT size_type mgis::behaviour::getSpaceDimension ( const Hypothesis  )
Returns
the dimension of the space associated to the given hypothesis.
Parameters
[in]hmodelling hypothesis

◆ getStensorSize()

MGIS_EXPORT size_type mgis::behaviour::getStensorSize ( const Hypothesis  )
Returns
the size of a symmetric tensor in the given hypothesis.
Parameters
[in]hmodelling hypothesis

◆ getTensorSize()

MGIS_EXPORT size_type mgis::behaviour::getTensorSize ( const Hypothesis  )
Returns
the size of a tensor in the given hypothesis
Parameters
[in]hmodelling hypothesis

◆ toString()

MGIS_EXPORT const char * mgis::behaviour::toString ( const Hypothesis  )
Returns
the string associated to the given hypothesis
Parameters
[in]hmodelling hypothesis