|
tfel
|
abstract interface of all behaviour interfaces More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/MFrontBehaviourInterface.hxx>
Public Member Functions | |
| void | setOptions (const DataMap &) override |
| give options to the interface | |
| std::string | getInterfaceName () const override |
| the name of the interface is mostly used internally to build | |
| std::string | getInterfaceVersion () const override |
| std::pair< bool, tokens_iterator > | treatKeyword (BehaviourDescription &, const std::string &, const std::vector< std::string > &, tokens_iterator, const tokens_iterator) override |
| treat a keyword | |
| bool | isBehaviourConstructorRequired (const Hypothesis, const BehaviourDescription &) const override |
| std::set< Hypothesis > | getModellingHypothesesToBeTreated (const BehaviourDescription &) const override |
| std::pair< std::vector< BehaviourMaterialProperty >, SupportedTypes::TypeSize > | buildMaterialPropertiesList (const BehaviourDescription &, const Hypothesis) const override |
| void | writeInterfaceSpecificIncludes (std::ostream &, const BehaviourDescription &) const override |
| void | exportMechanicalData (std::ostream &, const Hypothesis, const BehaviourDescription &) const override |
| void | writeBehaviourConstructorHeader (std::ostream &, const BehaviourDescription &, const Hypothesis, const std::string &) const override |
| write the behaviour constructor header associated with the interface. This method allow the interface to add a new constructor containing specific arguments and the call specific constructors for the behaviour data and integration data, as build by the writeBehaviourDataConstructor and the writeIntegrationDataConstructor methods respectively. This body of this constructor will be populated by the writeBehaviourConstructorBody method. | |
| void | writeBehaviourConstructorBody (std::ostream &, const BehaviourDescription &, const Hypothesis) const override |
| complete the body of the behaviour constructor associated with the interface. | |
| void | writeBehaviourDataConstructor (std::ostream &, const Hypothesis, const BehaviourDescription &) const override |
| void | writeBehaviourDataMainVariablesSetters (std::ostream &, const BehaviourDescription &) const override |
| void | writeIntegrationDataConstructor (std::ostream &, const Hypothesis, const BehaviourDescription &) const override |
| void | writeIntegrationDataMainVariablesSetters (std::ostream &, const BehaviourDescription &) const override |
| write the setters associated with the main variables | |
| void | writeBehaviourInitializeFunctions (std::ostream &, const BehaviourDescription &, const Hypothesis) const override |
| write the initialize functions | |
| void | writeBehaviourPostProcessings (std::ostream &, const BehaviourDescription &, const Hypothesis) const override |
| write the post-processings | |
| void | endTreatment (const BehaviourDescription &, const FileDescription &) const override |
| write output files | |
| void | getTargetsDescription (TargetsDescription &, const BehaviourDescription &) override |
| ~MFrontBehaviourInterface () override | |
| destructor | |
| Public Member Functions inherited from mfront::AbstractBehaviourInterface | |
| virtual | ~AbstractBehaviourInterface () |
| destructor | |
Static Public Member Functions | |
| static std::string | getName () |
Additional Inherited Members | |
| Public Types inherited from mfront::AbstractBehaviourInterface | |
| typedef tfel::material::ModellingHypothesis | ModellingHypothesis |
| a simple alias | |
| typedef ModellingHypothesis::Hypothesis | Hypothesis |
| a simple alias | |
| using | CxxTokenizer = tfel::utilities::CxxTokenizer |
| a simple alias | |
| using | tokens_iterator = CxxTokenizer::TokensContainer::const_iterator |
| a simple alias | |
| using | DataMap = tfel::utilities::DataMap |
| a simple alias | |
abstract interface of all behaviour interfaces
|
nodiscardoverridevirtual |
| [in] | mb | behaviour description |
| [in] | h | modelling hypothesis |
Implements mfront::AbstractBehaviourInterface.
|
overridevirtual |
write output files
| [in] | mb | : behaviour description |
| [in] | fd | : mfront file description |
Implements mfront::AbstractBehaviourInterface.
|
overridevirtual |
Implements mfront::AbstractBehaviourInterface.
|
nodiscardoverridevirtual |
the name of the interface is mostly used internally to build
Implements mfront::AbstractBehaviourInterface.
|
nodiscardoverridevirtual |
Implements mfront::AbstractBehaviourInterface.
|
nodiscardoverridevirtual |
| [in] | mb | : behaviour description |
Implements mfront::AbstractBehaviourInterface.
|
overridevirtual |
| [out] | d | : target description |
| [out] | bd | : behaviour description |
Implements mfront::AbstractBehaviourInterface.
|
nodiscardoverridevirtual |
| [in] | h | : modelling hypothesis |
| [in] | mb | : behaviour description |
Implements mfront::AbstractBehaviourInterface.
give options to the interface
Those options may have been read from a configuration file or from the command line
| [in] | opts | options |
Implements mfront::AbstractBehaviourInterface.
|
nodiscardoverridevirtual |
treat a keyword
| [in,out] | bd | behaviour description |
| [in] | key | keyword to be treated |
| [in] | i | list of interfaces to which the keyword is restricted |
| [in] | p | current position in the file |
| [in] | pe | iterator past the end of the file |
Implements mfront::AbstractBehaviourInterface.
|
overridevirtual |
complete the body of the behaviour constructor associated with the interface.
| [in] | os | output file |
| [in] | mb | behaviour description |
| [in] | h | modelling hypothesis |
Implements mfront::AbstractBehaviourInterface.
|
overridevirtual |
write the behaviour constructor header associated with the interface. This method allow the interface to add a new constructor containing specific arguments and the call specific constructors for the behaviour data and integration data, as build by the writeBehaviourDataConstructor and the writeIntegrationDataConstructor methods respectively. This body of this constructor will be populated by the writeBehaviourConstructorBody method.
| [in] | behaviourFile | : output file |
| [in] | mb | : behaviour description |
| [in] | h | : modelling hypothesis |
| [in] | initStateVarsIncrements | : constructor part assigning default value (zero) to state variable increments |
Implements mfront::AbstractBehaviourInterface.
|
overridevirtual |
Implements mfront::AbstractBehaviourInterface.
|
overridevirtual |
write the behaviour constructor associated with the law
| [in] | behaviourFile | : output file |
| [in] | mb | : behaviour description |
Implements mfront::AbstractBehaviourInterface.
|
overridevirtual |
write the initialize functions
| [in] | os | output stream |
| [in] | bd | behaviour description |
| [in] | h | modelling hypothesis |
Implements mfront::AbstractBehaviourInterface.
|
overridevirtual |
write the post-processings
| [in] | os | output stream |
| [in] | bd | behaviour description |
| [in] | h | modelling hypothesis |
Implements mfront::AbstractBehaviourInterface.
|
overridevirtual |
Implements mfront::AbstractBehaviourInterface.
|
overridevirtual |
write the setters associated with the main variables
| [in] | behaviourFile | : output file |
| [in] | mb | : behaviour description |
Implements mfront::AbstractBehaviourInterface.
|
overridevirtual |
write interface specific includes
| [in] | out | : output file |
| [in] | mb | : behaviour description |
Implements mfront::AbstractBehaviourInterface.