tfel
Loading...
Searching...
No Matches
mfront::UmatSmallStrainMTestFileGenerator Struct Referencefinal
Inheritance diagram for mfront::UmatSmallStrainMTestFileGenerator:
mfront::MTestFileGeneratorBase

Public Member Functions

 UmatSmallStrainMTestFileGenerator (const char *const, const char *const, const char *const)
virtual void setStrainTensor (const double *const)
virtual void setStrainTensorIncrement (const double *const)
virtual void setStressTensor (const double *const)
 ~UmatSmallStrainMTestFileGenerator () override
 destructor
Public Member Functions inherited from mfront::MTestFileGeneratorBase
 MTestFileGeneratorBase ()
 default constructor
virtual void setModellingHypothesis (const Hypothesis)
virtual void addTime (const real)
 add a computed time
virtual void setHandleThermalExpansion (const bool)
virtual void setRotationMatrix (const real, const real, const real, const real, const real, const real, const real, const real, const real)
 set the rotation matrix
virtual void addMaterialProperty (const std::string &, const real)
 add a material property
virtual void addInternalStateVariable (const std::string &, const SupportedTypes::TypeFlag, const real *const)
 add internal state variable
virtual void addExternalStateVariable (const std::string &, const SupportedTypes::TypeFlag, const real, const real *const, const real, const real *const, const bool)
 add the value of an external state variable
virtual void generate (const std::string &) const
virtual unsigned short getVariableSize (const SupportedTypes::TypeFlag &) const
virtual unsigned short getTVectorSize () const
virtual unsigned short getStensorSize () const
virtual unsigned short getTensorSize () const
virtual ~MTestFileGeneratorBase ()
 destructor

Protected Member Functions

void writeBehaviourDeclaration (std::ostream &) const override
void writeGradients (std::ostream &) const override
Protected Member Functions inherited from mfront::MTestFileGeneratorBase
virtual std::vector< std::string > getTVectorComponentsNames (const std::string &="") const
virtual std::vector< std::string > getStensorComponentsNames (const std::string &="") const
virtual std::vector< std::string > getTensorComponentsNames (const std::string &="") const
virtual std::vector< std::string > getStrainComponentsNames () const
virtual std::vector< std::string > getDeformationGradientComponentsNames () const
virtual std::vector< std::string > getStressComponentsNames () const
virtual void writeModellingHypothesis (std::ostream &) const
virtual void writeRotationMatrix (std::ostream &) const
virtual void writeMaterialProperties (std::ostream &) const
virtual void writeInternalStateVariables (std::ostream &) const
virtual void writeExternalStateVariables (std::ostream &) const
virtual void writeTimes (std::ostream &) const

Protected Attributes

const char *const interface
 interface name
const char *const library
 library name
const char *const behaviour
 behaviour name
double eto [6]
 strain
double deto [6]
 strain increment
double stress [6]
 stress increment
Protected Attributes inherited from mfront::MTestFileGeneratorBase
Hypothesis hypothesis
 modelling hypothesis
std::set< real > times
 real time step
std::map< std::string, real > mps
 values of the material properties
std::vector< InternalStateVariable > ivs
 internal state variable
std::vector< ExternalStateVariable > evs
 values of the external state variables
bool handleThermalExpansion = false
 if true handles thermal expansion
bool hasRotationMatrix = false
 flag true if the rotation matrix is defined
real m [9u]
 rotation matrix

Additional Inherited Members

Public Types inherited from mfront::MTestFileGeneratorBase
using Hypothesis = tfel::material::ModellingHypothesis::Hypothesis
 a simple alias
using real = double
 a simple alias
Static Public Member Functions inherited from mfront::MTestFileGeneratorBase
static unsigned int getIdentifier ()

Constructor & Destructor Documentation

◆ UmatSmallStrainMTestFileGenerator()

mfront::UmatSmallStrainMTestFileGenerator::UmatSmallStrainMTestFileGenerator ( const char * const ,
const char * const ,
const char * const  )

constructor

Parameters
[in]i: interface
[in]l: library
[in]b: behaviour

Member Function Documentation

◆ setStrainTensor()

virtual void mfront::UmatSmallStrainMTestFileGenerator::setStrainTensor ( const double * const )
virtual

set the strain at the beginning of the time step

Parameters
[in]e: strain

◆ setStrainTensorIncrement()

virtual void mfront::UmatSmallStrainMTestFileGenerator::setStrainTensorIncrement ( const double * const )
virtual

set the strain increment

Parameters
[in]e: strain increments

◆ setStressTensor()

virtual void mfront::UmatSmallStrainMTestFileGenerator::setStressTensor ( const double * const )
virtual

set stresses

Parameters
[in]s: stresses

◆ writeBehaviourDeclaration()

void mfront::UmatSmallStrainMTestFileGenerator::writeBehaviourDeclaration ( std::ostream & ) const
overrideprotectedvirtual

write behaviour declaration

Parameters
[in]os: output stream

Implements mfront::MTestFileGeneratorBase.

◆ writeGradients()

void mfront::UmatSmallStrainMTestFileGenerator::writeGradients ( std::ostream & ) const
overrideprotectedvirtual

write driving variables

Parameters
[in]os: output stream

Implements mfront::MTestFileGeneratorBase.


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