|
tfel
|
#include </home/runner/work/tfel/tfel/mfront/include/MFront/SymbolsGenerator.hxx>
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 |
This class provides some helper function for behaviour interfaces to generate symbols related to the behaviour.
|
virtual |
| [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) |
|
virtual |
| [in] | out | : output file |
| [in] | i | 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 |
|
nodiscardvirtual |
| [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 |
|
nodiscardpure virtual |
Implemented in mfront::AbaqusExplicitSymbolsGenerator, mfront::AbaqusSymbolsGenerator, mfront::AnsysSymbolsGenerator, mfront::AsterSymbolsGenerator, mfront::CalculiXSymbolsGenerator, mfront::CastemSymbolsGenerator, mfront::CyranoSymbolsGenerator, mfront::DianaFEASymbolsGenerator, mfront::GenericBehaviourSymbolsGenerator, and mfront::LSDYNASymbolsGenerator.
|
pure virtual |
| [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.
|
protectedvirtual |
| [out] | f | output stream |
| [in] | s | symbol name |
| [in] | v | array of ints |
|
protectedvirtual |
| [out] | f | output stream |
| [in] | s | symbol name |
| [in] | v | array of strings |
|
pure virtual |
| [in] | out | : output file |
| [in] | i | 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) |
Implemented in mfront::AbaqusExplicitSymbolsGenerator, mfront::AbaqusSymbolsGenerator, mfront::AnsysSymbolsGenerator, mfront::AsterSymbolsGenerator, mfront::CalculiXSymbolsGenerator, mfront::CastemSymbolsGenerator, mfront::CyranoSymbolsGenerator, mfront::DianaFEASymbolsGenerator, mfront::GenericBehaviourSymbolsGenerator, and mfront::LSDYNASymbolsGenerator.
|
pure virtual |
| [in] | out | : output file |
| [in] | i | 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) |
Implemented in mfront::AbaqusExplicitSymbolsGenerator, mfront::AbaqusSymbolsGenerator, mfront::AnsysSymbolsGenerator, mfront::AsterSymbolsGenerator, mfront::CalculiXSymbolsGenerator, mfront::CastemSymbolsGenerator, mfront::CyranoSymbolsGenerator, mfront::DianaFEASymbolsGenerator, mfront::GenericBehaviourSymbolsGenerator, and mfront::LSDYNASymbolsGenerator.
|
virtual |
| [in] | out | : output file |
| [in] | i | : standard behaviour interface |
| [in] | mb | : behaviour description |
| [in] | name | : name of the behaviour |
| [in] | h | : modelling hypothesis |
|
virtual |
| [in] | out | output file |
| [in] | i | standard behaviour interface |
| [in] | d | material knowledge description |
| [in] | n | name of the entry point |
|
virtual |
| [in] | out | output file |
| [in] | i | standard behaviour interface |
| [in] | d | material knowledge description |
| [in] | n | name of the entry point |
|
virtual |
write an integer symbol stating if the behaviour can compute the dissipated energy
| [out] | f | : output stream |
| [in] | i | : standard behaviour interface |
| [in] | mb | : behaviour description |
| [in] | fd | : file description |
| [in] | h | : modelling hypothesis |
|
virtual |
write an integer symbol stating if the behaviour can compute the internal energy
| [out] | f | : output stream |
| [in] | i | : standard behaviour interface |
| [in] | mb | : behaviour description |
| [in] | fd | : file description |
| [in] | h | : modelling hypothesis |
|
virtual |
| [in] | out | : output file |
| [in] | i | : standard behaviour interface |
| [in] | mb | : behaviour description |
| [in] | name | : behaviour name |
|
virtual |
| [in] | out | output file |
| [in] | i | : standard behaviour interface |
| [in] | n | name of the entry point |
|
virtual |
| [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 |
|
virtual |
| [in] | out | : output file |
| [in] | i | : standard behaviour interface |
| [in] | mb | : behaviour description |
| [in] | name | : name of the behaviour |
| [in] | h | : modelling hypothesis |
|
virtual |
| [in] | out | output file |
| [in] | i | standard behaviour interface |
| [in] | fd | file description |
| [in] | n | name of the entry point |
|
virtual |
| [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.
|
virtual |
write the symbols associated with the interface name
| [in] | out | : output file |
| [in] | i | : standard behaviour interface |
| [in] | mb | : behaviour description |
| [in] | fd | : file description |
| [in] | name | : behaviour name |
|
virtual |
| [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 |
|
virtual |
write the symbols associated with the gradients and the associated thermodynamic forces (number, names and types)
| [in] | out | output file |
| [in] | i | 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) |
Reimplemented in mfront::CastemSymbolsGenerator.
|
virtual |
| [in] | out | output file |
| [in] | i | : standard behaviour interface |
| [in] | n | name of the entry point |
|
virtual |
write symbols associated with material properties for the given hypothesis
| [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 |
|
virtual |
| [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) |
|
virtual |
| [in] | out | : output file |
| [in] | i | : standard behaviour interface |
| [in] | name | : name of the behaviour |
| [in] | h | : modelling hypothesis |
| [in] | mb | : behaviour description |
|
virtual |
| [in] | out | : output file |
| [in] | i | : standard behaviour interface |
| [in] | mb | : behaviour description |
| [in] | name | : name of the behaviour |
| [in] | h | : modelling hypothesis |
|
virtual |
| [in] | out | : output file |
| [in] | i | : standard behaviour interface |
| [in] | mb | : behaviour description |
| [in] | name | : name of the behaviour |
| [in] | h | : modelling hypothesis |
|
virtual |
| [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.
|
virtual |
| [in] | out | : output file |
| [in] | i | : standard behaviour interface |
| [in] | mb | : behaviour description |
| [in] | name | : name of the behaviour |
| [in] | h | : modelling hypothesis |
|
virtual |
write the symbols associated with the source file
| [in] | out | : output file |
| [in] | i | : standard behaviour interface |
| [in] | mb | : behaviour description |
| [in] | fd | : file description |
| [in] | name | : behaviour name |
|
virtual |
| [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.
|
virtual |
| [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.
|
virtual |
write symbols associated with supported modelling hypotheses
| [in] | out | output file |
| [in] | i | : standard behaviour interface |
| [in] | mb | behaviour description |
| [in] | mhs | modelling hypotheses supported by the interface |
| [in] | n | name of the behaviour as defined by the interface (generally taking into account the material and the behaviour name) |
|
virtual |
| [in] | out | : output file |
| [in] | i | : standard behaviour interface |
| [in] | mb | : behaviour description |
| [in] | name | : behaviour name |
|
virtual |
write the symbols associated with the tangent operator structure
| [in] | out | output file |
| [in] | i | 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) |
Reimplemented in mfront::GenericBehaviourSymbolsGenerator.
|
virtual |
| [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) |
|
virtual |
| [in] | out | output file |
| [in] | i | : standard behaviour interface |
| [in] | n | name of the entry point |
|
virtual |
| [in] | out | output file |
| [in] | i | : standard behaviour interface |
| [in] | n | name of the entry point |
|
virtual |
| [in] | out | output file |
| [in] | i | standard behaviour interface |
| [in] | d | material knowledge description |
| [in] | n | name of the entry point |
|
protectedvirtual |
write a symbol containing the types of a list of variables
| [out] | out | output stream |
| [in] | i | standard behaviour interface |
| [in] | name | name of the umat function |
| [in] | h | modelling hypothesis |
| [in] | variables | variables to be treated |
| [in] | variables_identifier | class of variable treated used as the name for the generated symbol (for example, 'InternalStateVariables') |