tfel
Loading...
Searching...
No Matches
mtest::StandardBehaviourBase Struct Reference

A class to handle standard mechanical behaviours. More...

#include </home/runner/work/tfel/tfel/mtest/include/MTest/StandardBehaviourBase.hxx>

Inheritance diagram for mtest::StandardBehaviourBase:
mtest::Behaviour mtest::StandardBehaviourDescription tfel::system::ExternalBehaviourDescription tfel::system::ExternalMaterialKnowledgeDescription mtest::AbaqusExplicitBehaviour mtest::AbaqusStandardBehaviour mtest::AnsysStandardBehaviour mtest::AsterCohesiveZoneModel mtest::AsterStandardBehaviour mtest::CalculiXStandardBehaviour mtest::CastemCohesiveZoneModel mtest::CastemModel mtest::CastemStandardBehaviour mtest::CyranoBehaviour mtest::DianaFEASmallStrainBehaviour mtest::GenericBehaviour

Public Member Functions

 StandardBehaviourBase (const Hypothesis, const std::string &, const std::string &)
 StandardBehaviourBase (const StandardBehaviourDescription &)
void allocateCurrentState (CurrentState &) const override
 allocate current state
std::string getBehaviourName () const override
Hypothesis getHypothesis () const override
BehaviourType getBehaviourType () const override
Kinematic getBehaviourKinematic () const override
unsigned short getGradientsSize () const override
unsigned short getThermodynamicForcesSize () const override
std::vector< std::string > getStensorComponentsSuffixes () const override
std::vector< std::string > getVectorComponentsSuffixes () const override
std::vector< std::string > getTensorComponentsSuffixes () const override
std::vector< std::string > getGradientsComponents () const override
std::vector< std::string > getThermodynamicForcesComponents () const override
unsigned short getGradientComponentPosition (const std::string &) const override
unsigned short getThermodynamicForceComponentPosition (const std::string &) const override
unsigned short getSymmetryType () const override
size_t getTangentOperatorArraySize () const override
std::vector< std::pair< std::string, std::string > > getTangentOperatorBlocks () const override
std::vector< std::string > getMaterialPropertiesNames () const override
size_t getMaterialPropertiesSize () const override
std::vector< std::string > getInternalStateVariablesNames () const override
std::vector< std::string > expandInternalStateVariablesNames () const override
size_t getInternalStateVariablesSize () const override
std::vector< std::string > getInternalStateVariablesDescriptions () const override
unsigned short getInternalStateVariableType (const std::string &) const override
unsigned short getInternalStateVariablePosition (const std::string &) const override
std::vector< std::string > getExternalStateVariablesNames () const override
size_t getExternalStateVariablesSize () const override
std::vector< std::string > expandExternalStateVariablesNames () const override
unsigned short getExternalStateVariableType (const std::string &) const override
unsigned short getExternalStateVariablePosition (const std::string &) const override
std::vector< std::string > getParametersNames () const override
std::vector< std::string > getIntegerParametersNames () const override
std::vector< std::string > getUnsignedShortParametersNames () const override
double getRealParameterDefaultValue (const std::string &) const override
int getIntegerParameterDefaultValue (const std::string &) const override
unsigned short getUnsignedShortParameterDefaultValue (const std::string &) const override
void setOutOfBoundsPolicy (const tfel::material::OutOfBoundsPolicy) const override
 set the out of bounds policy
bool hasBounds (const std::string &) const override
bool hasLowerBound (const std::string &) const override
bool hasUpperBound (const std::string &) const override
long double getLowerBound (const std::string &) const override
long double getUpperBound (const std::string &) const override
bool hasPhysicalBounds (const std::string &) const override
bool hasLowerPhysicalBound (const std::string &) const override
bool hasUpperPhysicalBound (const std::string &) const override
long double getLowerPhysicalBound (const std::string &) const override
long double getUpperPhysicalBound (const std::string &) const override
void setParameter (const std::string &, const real) const override
 set the value of a parameter
void setIntegerParameter (const std::string &, const int) const override
 set the value of a parameter
void setUnsignedIntegerParameter (const std::string &, const unsigned short) const override
 set the value of a parameter
std::vector< std::string > getOptionalMaterialProperties () const override
void setOptionalMaterialPropertiesDefaultValues (EvolutionManager &, const EvolutionManager &) const override
 This method solves two issues:
bool doPackagingStep (CurrentState &, BehaviourWorkSpace &) const override
 execute the packaging step. This victious step is done at the beginning of the computation.
 ~StandardBehaviourBase () override
 destructor
Public Member Functions inherited from mtest::Behaviour
virtual void getGradientsDefaultInitialValues (tfel::math::vector< real > &) const =0
virtual void allocateWorkSpace (BehaviourWorkSpace &) const =0
 allocate workspace
virtual StiffnessMatrixType getDefaultStiffnessMatrixType () const =0
virtual tfel::math::tmatrix< 3u, 3u, real > getRotationMatrix (const tfel::math::vector< real > &, const tfel::math::tmatrix< 3u, 3u, real > &) const =0
 compute the real rotation matrix
virtual std::pair< bool, real > computePredictionOperator (BehaviourWorkSpace &, const CurrentState &, const StiffnessMatrixType) const =0
 compute the prediction operator at the beginning of the time step.
virtual std::pair< bool, real > integrate (CurrentState &, BehaviourWorkSpace &, const real, const StiffnessMatrixType) const =0
 integrate the mechanical behaviour over the time step
virtual ~Behaviour ()
 destructor
Public Member Functions inherited from mtest::StandardBehaviourDescription
 StandardBehaviourDescription (const std::string &, const std::string &, const std::string &)
 StandardBehaviourDescription (StandardBehaviourDescription &&) noexcept
 StandardBehaviourDescription (const StandardBehaviourDescription &)
StandardBehaviourDescription & operator= (StandardBehaviourDescription &&) noexcept
StandardBehaviourDescription & operator= (const StandardBehaviourDescription &)
Public Member Functions inherited from tfel::system::ExternalBehaviourDescription
 ExternalBehaviourDescription (const std::string &, const std::string &, const std::string &)
 ExternalBehaviourDescription ()
 default constructor
 ExternalBehaviourDescription (ExternalBehaviourDescription &&) noexcept
 move constructor
 ExternalBehaviourDescription (const ExternalBehaviourDescription &)
 copy constructor
ExternalBehaviourDescription & operator= (ExternalBehaviourDescription &&) noexcept
 move assignement
ExternalBehaviourDescription & operator= (const ExternalBehaviourDescription &)
 standard assignement
 ~ExternalBehaviourDescription ()
 destructor
double getRealParameterDefaultValue (const std::string &) const
 get the default value of a double parameter
int getIntegerParameterDefaultValue (const std::string &) const
 get the default value of an integer parameter
unsigned short getUnsignedShortParameterDefaultValue (const std::string &) const
 get the default value of an unsigned short parameter
bool hasBounds (const std::string &) const
bool hasLowerBound (const std::string &) const
bool hasUpperBound (const std::string &) const
long double getLowerBound (const std::string &) const
long double getUpperBound (const std::string &) const
bool hasPhysicalBounds (const std::string &) const
bool hasLowerPhysicalBound (const std::string &) const
bool hasUpperPhysicalBound (const std::string &) const
long double getLowerPhysicalBound (const std::string &) const
long double getUpperPhysicalBound (const std::string &) const
Public Member Functions inherited from tfel::system::ExternalMaterialKnowledgeDescription
 ExternalMaterialKnowledgeDescription (const std::string &, const std::string &)
 ExternalMaterialKnowledgeDescription ()
 default constructor
 ExternalMaterialKnowledgeDescription (ExternalMaterialKnowledgeDescription &&) noexcept
 move constructor
 ExternalMaterialKnowledgeDescription (const ExternalMaterialKnowledgeDescription &)
 move constructor
ExternalMaterialKnowledgeDescription & operator= (ExternalMaterialKnowledgeDescription &&) noexcept
 move assignement
ExternalMaterialKnowledgeDescription & operator= (const ExternalMaterialKnowledgeDescription &)
 standard assignement
 ~ExternalMaterialKnowledgeDescription ()
 destructor

Static Public Member Functions

static std::vector< std::string > getStensorComponentsSuffixes (const Hypothesis)
static std::vector< std::string > getVectorComponentsSuffixes (const Hypothesis)
static std::vector< std::string > getTensorComponentsSuffixes (const Hypothesis)
Static Public Member Functions inherited from mtest::Behaviour
static void setOptionalMaterialPropertyDefaultValue (EvolutionManager &, const EvolutionManager &, const std::string &, const real)
 This function set a material property to its default value if it not already declared.
static std::shared_ptr< Behaviour > getBehaviour (const std::string &, const std::string &, const std::string &, const Parameters &, const Hypothesis)
 build a behaviour

Protected Member Functions

void initializeTangentOperator (tfel::math::matrix< real > &, const StiffnessMatrixType, const bool) const
 initialize the first value of the tangent operator

Additional Inherited Members

Public Types inherited from mtest::Behaviour
using Parameters = tfel::utilities::Data
 a simple alias
using ParametersMap = tfel::utilities::DataMap
 a simple alias
using ModellingHypothesis = tfel::material::ModellingHypothesis
 a simple alias
using Hypothesis = ModellingHypothesis::Hypothesis
 a simple alias
using BehaviourType
 a simple alias
using Kinematic = tfel::material::MechanicalBehaviourBase::Kinematic
 a simple alias
Public Attributes inherited from tfel::system::ExternalBehaviourDescription
std::string behaviour
 name of the behavior
std::string hypothesis
 name of the hypothesis
std::vector< std::pair< std::string, std::string > > tangent_operator_blocks
 list of tangent operator blocks
std::vector< std::string > gnames
 names of the gradients
std::vector< std::string > dvnames
 names of the gradients (provided for backward compatibility, gradients were initially called driving variables)
std::vector< int > gtypes
 types of the gradients (reference provided for backward compatibility, gradients were initially called driving variables)
std::vector< int > dvtypes
 types of the gradients (copy of dvtypes)
std::vector< std::string > thnames
 names of the thermodynamic forces
std::vector< int > thtypes
 types of the thermodynamic forces
std::vector< std::string > elastic_material_properties_epts
 names of entry points associated with elastic material properties exported by the behaviour, if any. This is currently only supported by a few interfaces (Cyrano, Cast3M).
std::vector< std::string > linear_thermal_expansion_coefficients_epts
 names of entry points associated with linear thermal expansion coefficients properties exported by the behaviour, if any. This is currently only supported by a few interfaces (Cyrano, Cast3M).
std::vector< std::string > mpnames
 names of the material properties that must be given to the behaviour by the calling solver
std::vector< std::string > ivnames
 names of the internal state variables
std::vector< int > ivtypes
 types of the internal state variables
std::vector< std::string > evnames
 names of the external state variables
std::vector< int > evtypes
 types of the external state variables
std::vector< std::string > pnames
 names of the parameters
std::vector< std::string > ipnames
 names of the integer parameters
std::vector< std::string > upnames
 names of the unsigned short parameters
unsigned short btype = 0
 behaviour type 0 : general behaviour 1 : small strain behaviour 2 : finite strain behaviour 3 : cohesive zone model
unsigned short kinematic = 0
 behaviour kinematic 0 : undefined kinematic 1 : small strain kinematic 2 : cohesive zone model kinematic 3 : standard finite strain kinematic (F-Cauchy) 4 : PTest,Alcyone, Cyrano 1D finite strain kinematic (eto-PK1)
unsigned short stype = 0
 symmetry type:
unsigned short etype = 0
 elastic symmetry type:
bool computesInternalEnergy = false
 if true, the behaviour may compute the internal energy
bool computesDissipatedEnergy = false
 if true, the behaviour may compute the dissipated energy
bool isUPUIR = false
 If isUPUIR is true, the behaviour is usable in purely implicit resolution.
bool requiresStiffnessTensor = false
 If requiresStiffnessTensor is true, the caller must provide the stiffness tensor.
bool requiresThermalExpansionCoefficientTensor = false
 If requiresThermalExpansionCoefficientTensor is true, the caller must provide the thermal expansion coefficients tensor.
bool hasTemperatureBeenRemovedFromExternalStateVariables = true
 a boolean stating if the temperature was removed from the list of declared external state variables.
Public Attributes inherited from tfel::system::ExternalMaterialKnowledgeDescription
std::string library
 name of the library
std::string entry_point
 name of the entry point
std::string tfel_version
 version of TFEL used to generate the entry point
std::string unit_system
 unit system used by the entry point (can be empty if no unit system has been specified)
std::string build_id
 build identifier
std::string source
 MFront source file.
std::string mfront_interface
 name of the interface used to generate the entry point
std::string material
 name of the material
std::string author
 author of the implementation
std::string date
 date of the implementation
std::string description
 description of the material knowledge

Detailed Description

A class to handle standard mechanical behaviours.

Constructor & Destructor Documentation

◆ StandardBehaviourBase() [1/2]

mtest::StandardBehaviourBase::StandardBehaviourBase ( const Hypothesis ,
const std::string & ,
const std::string &  )
Parameters
[in]h: modelling hypothesis
[in]l: library name
[in]b: behaviour name

◆ StandardBehaviourBase() [2/2]

mtest::StandardBehaviourBase::StandardBehaviourBase ( const StandardBehaviourDescription & )
explicit
Parameters
[in]umbbehaviour description

Member Function Documentation

◆ allocateCurrentState()

void mtest::StandardBehaviourBase::allocateCurrentState ( CurrentState & ) const
overridevirtual

allocate current state

Parameters
[out]cs: current state

Implements mtest::Behaviour.

◆ doPackagingStep()

bool mtest::StandardBehaviourBase::doPackagingStep ( CurrentState & ,
BehaviourWorkSpace &  ) const
overridevirtual

execute the packaging step. This victious step is done at the beginning of the computation.

Returns
a boolean
Parameters
[out]wk: behaviour workspace
[in]s: current state

Implements mtest::Behaviour.

◆ expandExternalStateVariablesNames()

std::vector< std::string > mtest::StandardBehaviourBase::expandExternalStateVariablesNames ( ) const
overridevirtual
Returns
expand the names of external variables

Implements mtest::Behaviour.

◆ expandInternalStateVariablesNames()

std::vector< std::string > mtest::StandardBehaviourBase::expandInternalStateVariablesNames ( ) const
overridevirtual
Returns
expand the names of internal variables

Implements mtest::Behaviour.

◆ getBehaviourKinematic()

Kinematic mtest::StandardBehaviourBase::getBehaviourKinematic ( ) const
overridevirtual
Returns
the type of the behaviour

Implements mtest::Behaviour.

◆ getBehaviourName()

std::string mtest::StandardBehaviourBase::getBehaviourName ( ) const
overridevirtual
Returns
the name of the behaviour

Implements mtest::Behaviour.

◆ getBehaviourType()

BehaviourType mtest::StandardBehaviourBase::getBehaviourType ( ) const
overridevirtual
Returns
the type of the behaviour

Implements mtest::Behaviour.

◆ getExternalStateVariablePosition()

unsigned short mtest::StandardBehaviourBase::getExternalStateVariablePosition ( const std::string & ) const
overridevirtual
Returns
the position of an external variable
Parameters
[in]n: external variable name

Implements mtest::Behaviour.

◆ getExternalStateVariablesNames()

std::vector< std::string > mtest::StandardBehaviourBase::getExternalStateVariablesNames ( ) const
overridevirtual
Returns
the names of external variables

Implements mtest::Behaviour.

◆ getExternalStateVariablesSize()

size_t mtest::StandardBehaviourBase::getExternalStateVariablesSize ( ) const
overridevirtual
Returns
the size of the array of exernal variables

Implements mtest::Behaviour.

◆ getExternalStateVariableType()

unsigned short mtest::StandardBehaviourBase::getExternalStateVariableType ( const std::string & ) const
overridevirtual
Returns
the type of an external variable

Implements mtest::Behaviour.

◆ getGradientComponentPosition()

unsigned short mtest::StandardBehaviourBase::getGradientComponentPosition ( const std::string & ) const
overridevirtual
Parameters
[in]c: component

Implements mtest::Behaviour.

◆ getGradientsComponents()

std::vector< std::string > mtest::StandardBehaviourBase::getGradientsComponents ( ) const
overridevirtual
Returns
the components of the driving variables

Implements mtest::Behaviour.

◆ getGradientsSize()

unsigned short mtest::StandardBehaviourBase::getGradientsSize ( ) const
overridevirtual
Returns
the size of a vector able to contain all the components of the driving variables

Implements mtest::Behaviour.

◆ getHypothesis()

Hypothesis mtest::StandardBehaviourBase::getHypothesis ( ) const
overridevirtual
Returns
the modelling hypothesis

Implements mtest::Behaviour.

◆ getIntegerParameterDefaultValue()

int mtest::StandardBehaviourBase::getIntegerParameterDefaultValue ( const std::string & ) const
overridevirtual
Returns
the default value of an integer parameter
Parameters
[in]pparameter name

Implements mtest::Behaviour.

◆ getIntegerParametersNames()

std::vector< std::string > mtest::StandardBehaviourBase::getIntegerParametersNames ( ) const
overridevirtual
Returns
the names of integer parameters

Implements mtest::Behaviour.

◆ getInternalStateVariablePosition()

unsigned short mtest::StandardBehaviourBase::getInternalStateVariablePosition ( const std::string & ) const
overridevirtual
Returns
the position of an internal variable
Parameters
[in]n: internal variable name

Implements mtest::Behaviour.

◆ getInternalStateVariablesDescriptions()

std::vector< std::string > mtest::StandardBehaviourBase::getInternalStateVariablesDescriptions ( ) const
overridevirtual
Returns
the descriptions the internal variables

Implements mtest::Behaviour.

◆ getInternalStateVariablesNames()

std::vector< std::string > mtest::StandardBehaviourBase::getInternalStateVariablesNames ( ) const
overridevirtual
Returns
the names of internal variables

Implements mtest::Behaviour.

◆ getInternalStateVariablesSize()

size_t mtest::StandardBehaviourBase::getInternalStateVariablesSize ( ) const
overridevirtual
Returns
the size of the array of internal variables

Implements mtest::Behaviour.

◆ getInternalStateVariableType()

unsigned short mtest::StandardBehaviourBase::getInternalStateVariableType ( const std::string & ) const
overridevirtual
Returns
the type of an internal variable

Implements mtest::Behaviour.

◆ getLowerBound()

long double mtest::StandardBehaviourBase::getLowerBound ( const std::string & ) const
overridevirtual
Returns
the lower bound of the given variable
Parameters
[in]vvariable name

Implements mtest::Behaviour.

◆ getLowerPhysicalBound()

long double mtest::StandardBehaviourBase::getLowerPhysicalBound ( const std::string & ) const
overridevirtual
Returns
the lower bound of the given variable
Parameters
[in]vvariable name

Implements mtest::Behaviour.

◆ getMaterialPropertiesNames()

std::vector< std::string > mtest::StandardBehaviourBase::getMaterialPropertiesNames ( ) const
overridevirtual
Returns
the names of the material properties

Implements mtest::Behaviour.

◆ getMaterialPropertiesSize()

size_t mtest::StandardBehaviourBase::getMaterialPropertiesSize ( ) const
overridevirtual
Returns
the number of the material properties

Implements mtest::Behaviour.

◆ getOptionalMaterialProperties()

std::vector< std::string > mtest::StandardBehaviourBase::getOptionalMaterialProperties ( ) const
overridevirtual
Returns
the list of optional material properties

Implements mtest::Behaviour.

◆ getParametersNames()

std::vector< std::string > mtest::StandardBehaviourBase::getParametersNames ( ) const
overridevirtual
Returns
the names of floating point parameters

Implements mtest::Behaviour.

◆ getRealParameterDefaultValue()

double mtest::StandardBehaviourBase::getRealParameterDefaultValue ( const std::string & ) const
overridevirtual
Returns
the default value of a parameter
Parameters
[in]pparameter name

Implements mtest::Behaviour.

◆ getStensorComponentsSuffixes()

std::vector< std::string > mtest::StandardBehaviourBase::getStensorComponentsSuffixes ( ) const
overridevirtual
Returns
the components suffixes of a symmetric tensor

Implements mtest::Behaviour.

◆ getSymmetryType()

unsigned short mtest::StandardBehaviourBase::getSymmetryType ( ) const
overridevirtual
Returns
the type of the behaviour 0 means that the behaviour is isotropic. 1 means that the behaviour is orthotropic.

Implements mtest::Behaviour.

◆ getTangentOperatorArraySize()

size_t mtest::StandardBehaviourBase::getTangentOperatorArraySize ( ) const
overridevirtual
Returns
the size of the tangent operator used by MTest

Implements mtest::Behaviour.

◆ getTangentOperatorBlocks()

std::vector< std::pair< std::string, std::string > > mtest::StandardBehaviourBase::getTangentOperatorBlocks ( ) const
overridevirtual
Returns
the tangent operator blocks defined by the behaviour. Those blocks can be unused by MTest.

Implements mtest::Behaviour.

◆ getTensorComponentsSuffixes()

std::vector< std::string > mtest::StandardBehaviourBase::getTensorComponentsSuffixes ( ) const
overridevirtual
Returns
the components suffixes of a tensor

Implements mtest::Behaviour.

◆ getThermodynamicForceComponentPosition()

unsigned short mtest::StandardBehaviourBase::getThermodynamicForceComponentPosition ( const std::string & ) const
overridevirtual
Parameters
[in]c: component

Implements mtest::Behaviour.

◆ getThermodynamicForcesComponents()

std::vector< std::string > mtest::StandardBehaviourBase::getThermodynamicForcesComponents ( ) const
overridevirtual
Returns
the components of the thermodynamic forces

Implements mtest::Behaviour.

◆ getThermodynamicForcesSize()

unsigned short mtest::StandardBehaviourBase::getThermodynamicForcesSize ( ) const
overridevirtual
Returns
the size of a vector able to contain all the components of the thermodynamic forces

Implements mtest::Behaviour.

◆ getUnsignedShortParameterDefaultValue()

unsigned short mtest::StandardBehaviourBase::getUnsignedShortParameterDefaultValue ( const std::string & ) const
overridevirtual
Returns
the default value of an integer parameter
Parameters
[in]pparameter name

Implements mtest::Behaviour.

◆ getUnsignedShortParametersNames()

std::vector< std::string > mtest::StandardBehaviourBase::getUnsignedShortParametersNames ( ) const
overridevirtual
Returns
the names of unsigned short parameters

Implements mtest::Behaviour.

◆ getUpperBound()

long double mtest::StandardBehaviourBase::getUpperBound ( const std::string & ) const
overridevirtual
Returns
the upper bound of the given variable
Parameters
[in]vvariable name

Implements mtest::Behaviour.

◆ getUpperPhysicalBound()

long double mtest::StandardBehaviourBase::getUpperPhysicalBound ( const std::string & ) const
overridevirtual
Returns
the upper bound of the given variable
Parameters
[in]vvariable name

Implements mtest::Behaviour.

◆ getVectorComponentsSuffixes()

std::vector< std::string > mtest::StandardBehaviourBase::getVectorComponentsSuffixes ( ) const
overridevirtual
Returns
the components suffixes of a vector

Implements mtest::Behaviour.

◆ hasBounds()

bool mtest::StandardBehaviourBase::hasBounds ( const std::string & ) const
overridevirtual
Returns
true if the given variable has bounds
Parameters
[in]vvariable name

Implements mtest::Behaviour.

◆ hasLowerBound()

bool mtest::StandardBehaviourBase::hasLowerBound ( const std::string & ) const
overridevirtual
Returns
true if the given variable has a lower bound
Parameters
[in]vvariable name

Implements mtest::Behaviour.

◆ hasLowerPhysicalBound()

bool mtest::StandardBehaviourBase::hasLowerPhysicalBound ( const std::string & ) const
overridevirtual
Returns
true if the given variable has a lower physical bound
Parameters
[in]vvariable name

Implements mtest::Behaviour.

◆ hasPhysicalBounds()

bool mtest::StandardBehaviourBase::hasPhysicalBounds ( const std::string & ) const
overridevirtual
Returns
true if the given variable has physical bounds
Parameters
[in]vvariable name

Implements mtest::Behaviour.

◆ hasUpperBound()

bool mtest::StandardBehaviourBase::hasUpperBound ( const std::string & ) const
overridevirtual
Returns
true if the given variable has an upper bound
Parameters
[in]vvariable name

Implements mtest::Behaviour.

◆ hasUpperPhysicalBound()

bool mtest::StandardBehaviourBase::hasUpperPhysicalBound ( const std::string & ) const
overridevirtual
Returns
true if the given variable has a upper physical bound
Parameters
[in]vvariable name

Implements mtest::Behaviour.

◆ initializeTangentOperator()

void mtest::StandardBehaviourBase::initializeTangentOperator ( tfel::math::matrix< real > & ,
const StiffnessMatrixType ,
const bool  ) const
protected

initialize the first value of the tangent operator

Parameters
[out]wk: behaviour workspace
[in]ktype: requested tangent operator type
[in]b: if false, a prediction operator is requested

◆ setIntegerParameter()

void mtest::StandardBehaviourBase::setIntegerParameter ( const std::string & ,
const int  ) const
overridevirtual

set the value of a parameter

Parameters
[in]n: name of the parameter
[in]v: value

Implements mtest::Behaviour.

◆ setOptionalMaterialPropertiesDefaultValues()

void mtest::StandardBehaviourBase::setOptionalMaterialPropertiesDefaultValues ( EvolutionManager & ,
const EvolutionManager &  ) const
overridevirtual

This method solves two issues:

  • Some interface requires dummy material properties to be declared. For example, the Cast3M finite element solver requires the mass density and some extra material properties describing orthotropic axes to be declared. This method is meant to automatically declare those if they are not defined by the user.
  • Some interface (mistral) uses an external files which gives the values of some material properties. This method is used to pass thoses values to MTest.
Parameters
[out]mp: evolution manager where
[in]evm: evolution manager

Implements mtest::Behaviour.

◆ setOutOfBoundsPolicy()

void mtest::StandardBehaviourBase::setOutOfBoundsPolicy ( const tfel::material::OutOfBoundsPolicy ) const
overridevirtual

set the out of bounds policy

Parameters
[in]p: policy selected

Implements mtest::Behaviour.

◆ setParameter()

void mtest::StandardBehaviourBase::setParameter ( const std::string & ,
const real  ) const
overridevirtual

set the value of a parameter

Parameters
[in]n: name of the parameter
[in]v: value

Implements mtest::Behaviour.

◆ setUnsignedIntegerParameter()

void mtest::StandardBehaviourBase::setUnsignedIntegerParameter ( const std::string & ,
const unsigned short  ) const
overridevirtual

set the value of a parameter

Parameters
[in]n: name of the parameter
[in]v: value

Implements mtest::Behaviour.


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