tfel
Loading...
Searching...
No Matches
mfront::GenericBehaviourSymbolsGenerator Struct Reference

#include </home/runner/work/tfel/tfel/mfront/include/MFront/GenericBehaviourSymbolsGenerator.hxx>

Inheritance diagram for mfront::GenericBehaviourSymbolsGenerator:
mfront::SymbolsGenerator

Public Member Functions

 GenericBehaviourSymbolsGenerator ()
 constructor
void writeSpecificSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const FileDescription &, const std::string &) const override
void writeBehaviourTypeSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &) const override
void writeBehaviourKinematicSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &) const override
void writeTangentOperatorSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &) const override
 write the symbols associated with the tangent operator structure
void writeInitializeFunctionsSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &, const Hypothesis) const override
void writePostProcessingsSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &, const Hypothesis) const override
void writeAdditionalSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const FileDescription &, const std::string &, const Hypothesis) const override
bool handleStrainMeasure () const override
 ~GenericBehaviourSymbolsGenerator () override
 destructor
Public Member Functions inherited from mfront::SymbolsGenerator
virtual std::string getSymbolName (const BehaviourInterfaceBase &, const std::string &, const Hypothesis) const
virtual void writeFileDescriptionSymbols (std::ostream &, const BehaviourInterfaceBase &, const FileDescription &, const std::string &) const
virtual void writeValidatorSymbol (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &) const
virtual void writeCompatibilityModeSymbol (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &) const
virtual void writeBuildIdentifierSymbol (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &) const
virtual void writeEntryPointSymbol (std::ostream &, const BehaviourInterfaceBase &, const std::string &) const
virtual void writeTFELVersionSymbol (std::ostream &, const BehaviourInterfaceBase &, const std::string &) const
virtual void writeUnitSystemSymbol (std::ostream &, const BehaviourInterfaceBase &, const std::string &, const BehaviourDescription &) const
virtual void writeMaterialSymbol (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &) const
virtual void writeMaterialKnowledgeTypeSymbol (std::ostream &, const BehaviourInterfaceBase &, const std::string &) const
virtual void writeTemperatureRemovedFromExternalStateVariablesSymbol (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &) const
virtual void generateGeneralSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const FileDescription &, const std::set< Hypothesis > &, const std::string &) const
virtual void generateSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const FileDescription &, const std::string &, const Hypothesis) const
virtual void writeSourceFileSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const FileDescription &, const std::string &) const
 write the symbols associated with the source file
virtual void writeInterfaceNameSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const FileDescription &, const std::string &) const
 write the symbols associated with the interface name
virtual void writeIsUsableInPurelyImplicitResolutionSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &, const Hypothesis) const
virtual void writeSupportedModellingHypothesis (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::set< Hypothesis > &, const std::string &) const
 write symbols associated with supported modelling hypotheses
virtual void writeMainVariablesSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &) const
 write the symbols associated with the gradients and the associated thermodynamic forces (number, names and types)
virtual void writeMaterialPropertiesSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &, const Hypothesis) const
 write symbols associated with material properties for the given hypothesis
virtual void writeStateVariablesSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &, const Hypothesis) const
virtual void writeExternalStateVariablesSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &, const Hypothesis) const
virtual void writeParametersSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &, const Hypothesis) const
virtual void writeParameterDefaultValueSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &, const Hypothesis) const
virtual void writeBoundsSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &, const Hypothesis) const
virtual void writePhysicalBoundsSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &, const Hypothesis) const
virtual void writeRequirementsSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &, const Hypothesis) const
virtual void writeSymmetryTypeSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &) const
virtual void writeElasticSymmetryTypeSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &) const
virtual void writeComputesInternalEnergySymbol (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &, const Hypothesis) const
 write an integer symbol stating if the behaviour can compute the internal energy
virtual void writeComputesDissipatedEnergySymbol (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &, const Hypothesis) const
 write an integer symbol stating if the behaviour can compute the dissipated energy
virtual void writeExternalNames (std::ostream &, const BehaviourInterfaceBase &, const std::string &, const Hypothesis &, const std::vector< std::string > &, const std::string &) const
virtual ~SymbolsGenerator ()
 destructor

Additional Inherited Members

Public Types inherited from mfront::SymbolsGenerator
using ModellingHypothesis = tfel::material::ModellingHypothesis
 a simple alias
using Hypothesis = ModellingHypothesis::Hypothesis
 a simple alias
Protected Member Functions inherited from mfront::SymbolsGenerator
virtual void writeVariablesTypesSymbol (std::ostream &, const BehaviourInterfaceBase &, const std::string &, const Hypothesis, const VariableDescriptionContainer &, const std::string &) const
 write a symbol containing the types of a list of variables
virtual void writeArrayOfStringsSymbol (std::ostream &, const std::string &, const std::vector< std::string > &) const
virtual void writeArrayOfIntsSymbol (std::ostream &, const std::string &, const std::vector< int > &) const

Detailed Description

This class provides some helper function for behaviours interfaces based on the umat standard

Member Function Documentation

◆ handleStrainMeasure()

bool mfront::GenericBehaviourSymbolsGenerator::handleStrainMeasure ( ) const
nodiscardoverridevirtual
Returns
if the interface treats the strain measure internally or if the strain measure is handled by the calling code.

Implements mfront::SymbolsGenerator.

◆ writeAdditionalSymbols()

void mfront::GenericBehaviourSymbolsGenerator::writeAdditionalSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const FileDescription & ,
const std::string & ,
const Hypothesis  ) const
overridevirtual
Parameters
[in]out: output file
[in]i: standard behaviour interface
[in]mb: behaviour description
[in]fd: file description
[in]name: name of the behaviour as defined by the interface (generally taking into account the material and the behaviour name)
[in]h: modelling hypothesis

Implements mfront::SymbolsGenerator.

◆ writeBehaviourKinematicSymbols()

void mfront::GenericBehaviourSymbolsGenerator::writeBehaviourKinematicSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string &  ) const
overridevirtual
Parameters
[in]out: output file
[in]ibehaviour interface
[in]mb: behaviour description
[in]name: name of the behaviour as defined by the interface (generally taking into account the material and the behaviour name)

Implements mfront::SymbolsGenerator.

◆ writeBehaviourTypeSymbols()

void mfront::GenericBehaviourSymbolsGenerator::writeBehaviourTypeSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string &  ) const
overridevirtual
Parameters
[in]out: output file
[in]ibehaviour interface
[in]mb: behaviour description
[in]name: name of the behaviour as defined by the interface (generally taking into account the material and the behaviour name)

Implements mfront::SymbolsGenerator.

◆ writeInitializeFunctionsSymbols()

void mfront::GenericBehaviourSymbolsGenerator::writeInitializeFunctionsSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string & ,
const Hypothesis  ) const
overridevirtual
Parameters
[in]out: output file
[in]i: standard behaviour interface
[in]mb: behaviour description
[in]name: name of the behaviour
[in]h: modelling hypothesis

Reimplemented from mfront::SymbolsGenerator.

◆ writePostProcessingsSymbols()

void mfront::GenericBehaviourSymbolsGenerator::writePostProcessingsSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string & ,
const Hypothesis  ) const
overridevirtual
Parameters
[in]out: output file
[in]i: standard behaviour interface
[in]mb: behaviour description
[in]name: name of the behaviour
[in]h: modelling hypothesis

Reimplemented from mfront::SymbolsGenerator.

◆ writeSpecificSymbols()

void mfront::GenericBehaviourSymbolsGenerator::writeSpecificSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const FileDescription & ,
const std::string &  ) const
overridevirtual
Parameters
[in]out: output file
[in]i: standard behaviour interface
[in]mb: behaviour description
[in]fd: file description
[in]name: name of the behaviour as defined by the interface (generally taking into account the material and the behaviour name)

Reimplemented from mfront::SymbolsGenerator.

◆ writeTangentOperatorSymbols()

void mfront::GenericBehaviourSymbolsGenerator::writeTangentOperatorSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string &  ) const
overridevirtual

write the symbols associated with the tangent operator structure

Parameters
[in]outoutput file
[in]ibehaviour interface
[in]mbbehaviour description
[in]namename of the behaviour as defined by the interface (generally taking into account the material and the behaviour name)
Note
By default, no tangent operator blocks are defined for finite strain behaviours (including strain based behaviours based on a strain measure different than the linearised strain), because most consistent tangent operators used by the targeted solvers are not the derivative of the Cauchy stress with respect to the deformation gradient.

Reimplemented from mfront::SymbolsGenerator.


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