tfel
Loading...
Searching...
No Matches
mfront::SymbolsGenerator Struct Referenceabstract

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

Inheritance diagram for mfront::SymbolsGenerator:
mfront::AbaqusExplicitSymbolsGenerator mfront::AbaqusSymbolsGenerator mfront::AnsysSymbolsGenerator mfront::AsterSymbolsGenerator mfront::CalculiXSymbolsGenerator mfront::CastemSymbolsGenerator mfront::CyranoSymbolsGenerator mfront::DianaFEASymbolsGenerator mfront::GenericBehaviourSymbolsGenerator mfront::LSDYNASymbolsGenerator

Public Types

using ModellingHypothesis = tfel::material::ModellingHypothesis
 a simple alias
using Hypothesis = ModellingHypothesis::Hypothesis
 a simple alias

Public Member Functions

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 writeSpecificSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const FileDescription &, 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 writeBehaviourTypeSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &) const =0
virtual void writeBehaviourKinematicSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &) const =0
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 writeTangentOperatorSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &) const
 write the symbols associated with the tangent operator structure
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 writeInitializeFunctionsSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const std::string &, const Hypothesis) const
virtual void writePostProcessingsSymbols (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 writeAdditionalSymbols (std::ostream &, const BehaviourInterfaceBase &, const BehaviourDescription &, const FileDescription &, const std::string &, const Hypothesis) const =0
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 bool handleStrainMeasure () const =0
virtual ~SymbolsGenerator ()
 destructor

Protected Member Functions

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 behaviour interfaces to generate symbols related to the behaviour.

Member Function Documentation

◆ generateGeneralSymbols()

virtual void mfront::SymbolsGenerator::generateGeneralSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const FileDescription & ,
const std::set< Hypothesis > & ,
const std::string &  ) const
virtual
Parameters
[in]out: output file
[in]i: standard behaviour interface
[in]mb: behaviour description
[in]fd: file description
[in]mhs: modelling hypotheses
[in]name: name of the behaviour as defined by the interface (generally taking into account the material and the behaviour name)

◆ generateSymbols()

virtual void mfront::SymbolsGenerator::generateSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const FileDescription & ,
const std::string & ,
const Hypothesis  ) const
virtual
Parameters
[in]out: output file
[in]ibehaviour 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

◆ getSymbolName()

virtual std::string mfront::SymbolsGenerator::getSymbolName ( const BehaviourInterfaceBase & ,
const std::string & ,
const Hypothesis  ) const
nodiscardvirtual
Returns
a name used to create symbols for the interface
Parameters
[in]i: standard behaviour interface
[in]n: name of the behaviour as defined by the interface (generally taking into account the material and the behaviour name)
[in]h: modelling hypothesis

◆ handleStrainMeasure()

virtual bool mfront::SymbolsGenerator::handleStrainMeasure ( ) const
nodiscardpure virtual

◆ writeAdditionalSymbols()

virtual void mfront::SymbolsGenerator::writeAdditionalSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const FileDescription & ,
const std::string & ,
const Hypothesis  ) const
pure virtual
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

Implemented in mfront::AbaqusExplicitSymbolsGenerator, mfront::AbaqusSymbolsGenerator, mfront::AnsysSymbolsGenerator, mfront::AsterSymbolsGenerator, mfront::CalculiXSymbolsGenerator, mfront::CastemSymbolsGenerator, mfront::CyranoSymbolsGenerator, mfront::DianaFEASymbolsGenerator, mfront::GenericBehaviourSymbolsGenerator, and mfront::LSDYNASymbolsGenerator.

◆ writeArrayOfIntsSymbol()

virtual void mfront::SymbolsGenerator::writeArrayOfIntsSymbol ( std::ostream & ,
const std::string & ,
const std::vector< int > &  ) const
protectedvirtual
Parameters
[out]foutput stream
[in]ssymbol name
[in]varray of ints

◆ writeArrayOfStringsSymbol()

virtual void mfront::SymbolsGenerator::writeArrayOfStringsSymbol ( std::ostream & ,
const std::string & ,
const std::vector< std::string > &  ) const
protectedvirtual
Parameters
[out]foutput stream
[in]ssymbol name
[in]varray of strings

◆ writeBehaviourKinematicSymbols()

virtual void mfront::SymbolsGenerator::writeBehaviourKinematicSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string &  ) const
pure virtual
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)

Implemented in mfront::AbaqusExplicitSymbolsGenerator, mfront::AbaqusSymbolsGenerator, mfront::AnsysSymbolsGenerator, mfront::AsterSymbolsGenerator, mfront::CalculiXSymbolsGenerator, mfront::CastemSymbolsGenerator, mfront::CyranoSymbolsGenerator, mfront::DianaFEASymbolsGenerator, mfront::GenericBehaviourSymbolsGenerator, and mfront::LSDYNASymbolsGenerator.

◆ writeBehaviourTypeSymbols()

virtual void mfront::SymbolsGenerator::writeBehaviourTypeSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string &  ) const
pure virtual
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)

Implemented in mfront::AbaqusExplicitSymbolsGenerator, mfront::AbaqusSymbolsGenerator, mfront::AnsysSymbolsGenerator, mfront::AsterSymbolsGenerator, mfront::CalculiXSymbolsGenerator, mfront::CastemSymbolsGenerator, mfront::CyranoSymbolsGenerator, mfront::DianaFEASymbolsGenerator, mfront::GenericBehaviourSymbolsGenerator, and mfront::LSDYNASymbolsGenerator.

◆ writeBoundsSymbols()

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

◆ writeBuildIdentifierSymbol()

virtual void mfront::SymbolsGenerator::writeBuildIdentifierSymbol ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string &  ) const
virtual
Parameters
[in]outoutput file
[in]istandard behaviour interface
[in]dmaterial knowledge description
[in]nname of the entry point

◆ writeCompatibilityModeSymbol()

virtual void mfront::SymbolsGenerator::writeCompatibilityModeSymbol ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string &  ) const
virtual
Parameters
[in]outoutput file
[in]istandard behaviour interface
[in]dmaterial knowledge description
[in]nname of the entry point

◆ writeComputesDissipatedEnergySymbol()

virtual void mfront::SymbolsGenerator::writeComputesDissipatedEnergySymbol ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string & ,
const Hypothesis  ) const
virtual

write an integer symbol stating if the behaviour can compute the dissipated energy

Parameters
[out]f: output stream
[in]i: standard behaviour interface
[in]mb: behaviour description
[in]fd: file description
[in]h: modelling hypothesis

◆ writeComputesInternalEnergySymbol()

virtual void mfront::SymbolsGenerator::writeComputesInternalEnergySymbol ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string & ,
const Hypothesis  ) const
virtual

write an integer symbol stating if the behaviour can compute the internal energy

Parameters
[out]f: output stream
[in]i: standard behaviour interface
[in]mb: behaviour description
[in]fd: file description
[in]h: modelling hypothesis

◆ writeElasticSymmetryTypeSymbols()

virtual void mfront::SymbolsGenerator::writeElasticSymmetryTypeSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string &  ) const
virtual
Parameters
[in]out: output file
[in]i: standard behaviour interface
[in]mb: behaviour description
[in]name: behaviour name

◆ writeEntryPointSymbol()

virtual void mfront::SymbolsGenerator::writeEntryPointSymbol ( std::ostream & ,
const BehaviourInterfaceBase & ,
const std::string &  ) const
virtual
Parameters
[in]outoutput file
[in]i: standard behaviour interface
[in]nname of the entry point

◆ writeExternalNames()

virtual void mfront::SymbolsGenerator::writeExternalNames ( std::ostream & ,
const BehaviourInterfaceBase & ,
const std::string & ,
const Hypothesis & ,
const std::vector< std::string > & ,
const std::string &  ) const
virtual
Parameters
[out]f: output stream
[in]i: standard behaviour interface
[in]name: name of the umat function
[in]h: modelling hypothesis
[in]v: variables external names and array size
[in]t: class of variable treated used as the name for the generated symbol (for example, 'InternalStateVariables')
[in]o: offset

◆ writeExternalStateVariablesSymbols()

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

◆ writeFileDescriptionSymbols()

virtual void mfront::SymbolsGenerator::writeFileDescriptionSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const FileDescription & ,
const std::string &  ) const
virtual
Parameters
[in]outoutput file
[in]istandard behaviour interface
[in]fdfile description
[in]nname of the entry point

◆ writeInitializeFunctionsSymbols()

virtual void mfront::SymbolsGenerator::writeInitializeFunctionsSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string & ,
const Hypothesis  ) const
virtual
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 in mfront::GenericBehaviourSymbolsGenerator.

◆ writeInterfaceNameSymbols()

virtual void mfront::SymbolsGenerator::writeInterfaceNameSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const FileDescription & ,
const std::string &  ) const
virtual

write the symbols associated with the interface name

Parameters
[in]out: output file
[in]i: standard behaviour interface
[in]mb: behaviour description
[in]fd: file description
[in]name: behaviour name

◆ writeIsUsableInPurelyImplicitResolutionSymbols()

virtual void mfront::SymbolsGenerator::writeIsUsableInPurelyImplicitResolutionSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string & ,
const Hypothesis  ) const
virtual
Parameters
[in]out: output file
[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)
[in]h: modelling hypothesis

◆ writeMainVariablesSymbols()

virtual void mfront::SymbolsGenerator::writeMainVariablesSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string &  ) const
virtual

write the symbols associated with the gradients and the associated thermodynamic forces (number, names and types)

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)

Reimplemented in mfront::CastemSymbolsGenerator.

◆ writeMaterialKnowledgeTypeSymbol()

virtual void mfront::SymbolsGenerator::writeMaterialKnowledgeTypeSymbol ( std::ostream & ,
const BehaviourInterfaceBase & ,
const std::string &  ) const
virtual
Parameters
[in]outoutput file
[in]i: standard behaviour interface
[in]nname of the entry point

◆ writeMaterialPropertiesSymbols()

virtual void mfront::SymbolsGenerator::writeMaterialPropertiesSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string & ,
const Hypothesis  ) const
virtual

write symbols associated with material properties for the given hypothesis

Parameters
[in]out: output file
[in]i: standard behaviour interface
[in]mb: behaviour description
[in]n: name of the behaviour as defined by the interface (generally taking into account the material and the behaviour name)
[in]h: modelling hypothesis

◆ writeMaterialSymbol()

virtual void mfront::SymbolsGenerator::writeMaterialSymbol ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string &  ) const
virtual
Parameters
[in]out: output file
[in]i: standard behaviour 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)

◆ writeParameterDefaultValueSymbols()

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

◆ writeParametersSymbols()

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

◆ writePhysicalBoundsSymbols()

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

◆ writePostProcessingsSymbols()

virtual void mfront::SymbolsGenerator::writePostProcessingsSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string & ,
const Hypothesis  ) const
virtual
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 in mfront::GenericBehaviourSymbolsGenerator.

◆ writeRequirementsSymbols()

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

◆ writeSourceFileSymbols()

virtual void mfront::SymbolsGenerator::writeSourceFileSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const FileDescription & ,
const std::string &  ) const
virtual

write the symbols associated with the source file

Parameters
[in]out: output file
[in]i: standard behaviour interface
[in]mb: behaviour description
[in]fd: file description
[in]name: behaviour name

◆ writeSpecificSymbols()

virtual void mfront::SymbolsGenerator::writeSpecificSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const FileDescription & ,
const std::string &  ) const
virtual
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 in mfront::AbaqusExplicitSymbolsGenerator, mfront::AbaqusSymbolsGenerator, mfront::AnsysSymbolsGenerator, mfront::AsterSymbolsGenerator, mfront::CastemSymbolsGenerator, mfront::CyranoSymbolsGenerator, and mfront::GenericBehaviourSymbolsGenerator.

◆ writeStateVariablesSymbols()

virtual void mfront::SymbolsGenerator::writeStateVariablesSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string & ,
const Hypothesis  ) const
virtual
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 in mfront::CalculiXSymbolsGenerator.

◆ writeSupportedModellingHypothesis()

virtual void mfront::SymbolsGenerator::writeSupportedModellingHypothesis ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::set< Hypothesis > & ,
const std::string &  ) const
virtual

write symbols associated with supported modelling hypotheses

Parameters
[in]outoutput file
[in]i: standard behaviour interface
[in]mbbehaviour description
[in]mhsmodelling hypotheses supported by the interface
[in]nname of the behaviour as defined by the interface (generally taking into account the material and the behaviour name)

◆ writeSymmetryTypeSymbols()

virtual void mfront::SymbolsGenerator::writeSymmetryTypeSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string &  ) const
virtual
Parameters
[in]out: output file
[in]i: standard behaviour interface
[in]mb: behaviour description
[in]name: behaviour name

◆ writeTangentOperatorSymbols()

virtual void mfront::SymbolsGenerator::writeTangentOperatorSymbols ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string &  ) const
virtual

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 in mfront::GenericBehaviourSymbolsGenerator.

◆ writeTemperatureRemovedFromExternalStateVariablesSymbol()

virtual void mfront::SymbolsGenerator::writeTemperatureRemovedFromExternalStateVariablesSymbol ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string &  ) const
virtual
Parameters
[in]out: output file
[in]i: standard behaviour 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)

◆ writeTFELVersionSymbol()

virtual void mfront::SymbolsGenerator::writeTFELVersionSymbol ( std::ostream & ,
const BehaviourInterfaceBase & ,
const std::string &  ) const
virtual
Parameters
[in]outoutput file
[in]i: standard behaviour interface
[in]nname of the entry point

◆ writeUnitSystemSymbol()

virtual void mfront::SymbolsGenerator::writeUnitSystemSymbol ( std::ostream & ,
const BehaviourInterfaceBase & ,
const std::string & ,
const BehaviourDescription &  ) const
virtual
Parameters
[in]outoutput file
[in]i: standard behaviour interface
[in]nname of the entry point

◆ writeValidatorSymbol()

virtual void mfront::SymbolsGenerator::writeValidatorSymbol ( std::ostream & ,
const BehaviourInterfaceBase & ,
const BehaviourDescription & ,
const std::string &  ) const
virtual
Parameters
[in]outoutput file
[in]istandard behaviour interface
[in]dmaterial knowledge description
[in]nname of the entry point

◆ writeVariablesTypesSymbol()

virtual void mfront::SymbolsGenerator::writeVariablesTypesSymbol ( std::ostream & ,
const BehaviourInterfaceBase & ,
const std::string & ,
const Hypothesis ,
const VariableDescriptionContainer & ,
const std::string &  ) const
protectedvirtual

write a symbol containing the types of a list of variables

Parameters
[out]outoutput stream
[in]istandard behaviour interface
[in]namename of the umat function
[in]hmodelling hypothesis
[in]variablesvariables to be treated
[in]variables_identifierclass of variable treated used as the name for the generated symbol (for example, 'InternalStateVariables')

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