tfel
Loading...
Searching...
No Matches
tfel::material::MechanicalBehaviourTraits< Behaviour > Class Template Reference

Gives information about its Behaviour argument. All behaviour shall specialise this class. More...

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

Static Public Member Functions

static const char * getName ()

Static Public Attributes

static constexpr bool is_defined = false
static constexpr bool hasStressFreeExpansion = false
static constexpr bool handlesThermalExpansion = false
static constexpr unsigned short material_properties_nb = 0
static constexpr unsigned short external_variables_nb = 0
static constexpr unsigned short internal_variables_nb = 0
static constexpr bool use_quantities = false
static constexpr bool hasConsistentTangentOperator = false
static constexpr bool isConsistentTangentOperatorSymmetric = false
static constexpr bool hasPredictionOperator = false
static constexpr bool hasTimeStepScalingFactor = false

Detailed Description

template<class Behaviour>
class tfel::material::MechanicalBehaviourTraits< Behaviour >

Gives information about its Behaviour argument. All behaviour shall specialise this class.

Parameters
Behaviour.
Author
Thomas Helfer
Date
10/08/2006

Member Function Documentation

◆ getName()

template<class Behaviour>
const char * tfel::material::MechanicalBehaviourTraits< Behaviour >::getName ( )
inlinestatic
Returns
the name of the behaviour.
Note
This method can't be a static method of the behaviour. If it were, requesting the name of the behaviour would instantiate the class even if it is not defined. This can lead to static assertion failures.

Member Data Documentation

◆ external_variables_nb

template<class Behaviour>
unsigned short tfel::material::MechanicalBehaviourTraits< Behaviour >::external_variables_nb = 0
staticconstexpr

Number of external variables.

◆ handlesThermalExpansion

template<class Behaviour>
bool tfel::material::MechanicalBehaviourTraits< Behaviour >::handlesThermalExpansion = false
staticconstexpr

if true, the hasStressFreeExpansion must also be ture.

◆ hasConsistentTangentOperator

template<class Behaviour>
bool tfel::material::MechanicalBehaviourTraits< Behaviour >::hasConsistentTangentOperator = false
staticconstexpr

Says if the Behaviour class is able to compute a consistent tangent operator. More precisely, this must be true if the behaviour is able to compute an approximation of the consistent tangent operator.

◆ hasPredictionOperator

template<class Behaviour>
bool tfel::material::MechanicalBehaviourTraits< Behaviour >::hasPredictionOperator = false
staticconstexpr

Says if the Behaviour class is able to compute a prediction operator.

◆ hasStressFreeExpansion

template<class Behaviour>
bool tfel::material::MechanicalBehaviourTraits< Behaviour >::hasStressFreeExpansion = false
staticconstexpr

if true, the behaviour must provide a compouteStressFreeExpansion method.

◆ hasTimeStepScalingFactor

template<class Behaviour>
bool tfel::material::MechanicalBehaviourTraits< Behaviour >::hasTimeStepScalingFactor = false
staticconstexpr

Says if the Behaviour class is able the compute a Time Step Scaling factor

◆ internal_variables_nb

template<class Behaviour>
unsigned short tfel::material::MechanicalBehaviourTraits< Behaviour >::internal_variables_nb = 0
staticconstexpr

Number of internal variables.

◆ is_defined

template<class Behaviour>
bool tfel::material::MechanicalBehaviourTraits< Behaviour >::is_defined = false
staticconstexpr

Says if the traits class has been specialised

◆ isConsistentTangentOperatorSymmetric

template<class Behaviour>
bool tfel::material::MechanicalBehaviourTraits< Behaviour >::isConsistentTangentOperatorSymmetric = false
staticconstexpr

Says if the consistent tangent operator computed by the Behaviour class (if any) is symmetric. If true, we also consider that all the possible stiffness matrix are symmetric.

◆ material_properties_nb

template<class Behaviour>
unsigned short tfel::material::MechanicalBehaviourTraits< Behaviour >::material_properties_nb = 0
staticconstexpr

Number of material properties.

◆ use_quantities

template<class Behaviour>
bool tfel::material::MechanicalBehaviourTraits< Behaviour >::use_quantities = false
staticconstexpr

Says if the Behaviour class uses quantities

See also
qt.hxx

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