|
tfel
|
abstract interface of all behaviour interfaces More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/AbstractBehaviourInterface.hxx>
Public Types | |
| 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 | |
Public Member Functions | |
| virtual std::string | getInterfaceName () const =0 |
| the name of the interface is mostly used internally to build | |
| virtual std::string | getInterfaceVersion () const =0 |
| virtual void | setOptions (const DataMap &)=0 |
| give options to the interface | |
| virtual std::pair< bool, tokens_iterator > | treatKeyword (BehaviourDescription &, const std::string &, const std::vector< std::string > &, tokens_iterator, const tokens_iterator)=0 |
| treat a keyword | |
| virtual bool | isBehaviourConstructorRequired (const Hypothesis, const BehaviourDescription &) const =0 |
| virtual std::set< Hypothesis > | getModellingHypothesesToBeTreated (const BehaviourDescription &) const =0 |
| virtual std::pair< std::vector< BehaviourMaterialProperty >, SupportedTypes::TypeSize > | buildMaterialPropertiesList (const BehaviourDescription &, const Hypothesis) const =0 |
| virtual void | writeInterfaceSpecificIncludes (std::ostream &, const BehaviourDescription &) const =0 |
| virtual void | exportMechanicalData (std::ostream &, const Hypothesis, const BehaviourDescription &) const =0 |
| virtual void | writeBehaviourConstructorHeader (std::ostream &, const BehaviourDescription &, const Hypothesis, const std::string &) const =0 |
| 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. | |
| virtual void | writeBehaviourConstructorBody (std::ostream &, const BehaviourDescription &, const Hypothesis) const =0 |
| complete the body of the behaviour constructor associated with the interface. | |
| virtual void | writeBehaviourDataConstructor (std::ostream &, const Hypothesis, const BehaviourDescription &) const =0 |
| virtual void | writeBehaviourDataMainVariablesSetters (std::ostream &, const BehaviourDescription &) const =0 |
| virtual void | writeIntegrationDataConstructor (std::ostream &, const Hypothesis, const BehaviourDescription &) const =0 |
| virtual void | writeIntegrationDataMainVariablesSetters (std::ostream &, const BehaviourDescription &) const =0 |
| write the setters associated with the main variables | |
| virtual void | writeBehaviourInitializeFunctions (std::ostream &, const BehaviourDescription &, const Hypothesis) const =0 |
| write the initialize functions | |
| virtual void | writeBehaviourPostProcessings (std::ostream &, const BehaviourDescription &, const Hypothesis) const =0 |
| write the post-processings | |
| virtual void | endTreatment (const BehaviourDescription &, const FileDescription &) const =0 |
| write output files | |
| virtual void | getTargetsDescription (TargetsDescription &, const BehaviourDescription &)=0 |
| virtual | ~AbstractBehaviourInterface () |
| destructor | |
abstract interface of all behaviour interfaces
|
nodiscardpure virtual |
| [in] | mb | behaviour description |
| [in] | h | modelling hypothesis |
Implemented in mfront::BehaviourInterfaceBase, mfront::CastemInterface, mfront::MFrontBehaviourInterface, and mfront::ZMATInterface.
|
pure virtual |
write output files
| [in] | mb | : behaviour description |
| [in] | fd | : mfront file description |
Implemented in mfront::AbaqusExplicitInterface, mfront::AbaqusInterface, mfront::AnsysInterface, mfront::AsterInterface, mfront::CalculiXInterface, mfront::CastemInterface, mfront::ComsolInterface, mfront::CyranoInterface, mfront::DianaFEAInterface, mfront::GenericBehaviourInterface, mfront::LSDYNAInterface, mfront::MFrontBehaviourInterface, and mfront::ZMATInterface.
|
nodiscardpure virtual |
the name of the interface is mostly used internally to build
Implemented in mfront::AbaqusExplicitInterface, mfront::AbaqusInterface, mfront::AnsysInterface, mfront::AsterInterface, mfront::CalculiXInterface, mfront::CastemInterface, mfront::ComsolInterface, mfront::CyranoInterface, mfront::DianaFEAInterface, mfront::GenericBehaviourInterface, mfront::LSDYNAInterface, mfront::MFrontBehaviourInterface, and mfront::ZMATInterface.
|
nodiscardpure virtual |
Implemented in mfront::BehaviourInterfaceBase, mfront::Castem21Interface, mfront::MFrontBehaviourInterface, and mfront::ZMATInterface.
|
nodiscardpure virtual |
| [in] | mb | : behaviour description |
Implemented in mfront::AbaqusInterfaceBase, mfront::AnsysInterface, mfront::AsterInterface, mfront::CalculiXInterface, mfront::CastemInterface, mfront::ComsolInterface, mfront::CyranoInterface, mfront::DianaFEAInterface, mfront::GenericBehaviourInterface, mfront::LSDYNAInterface, mfront::MFrontBehaviourInterface, and mfront::ZMATInterface.
|
pure virtual |
| [out] | d | : target description |
| [out] | bd | : behaviour description |
Implemented in mfront::AbaqusExplicitInterface, mfront::AbaqusInterface, mfront::AnsysInterface, mfront::AsterInterface, mfront::CalculiXInterface, mfront::CastemInterface, mfront::ComsolInterface, mfront::CyranoInterface, mfront::DianaFEAInterface, mfront::GenericBehaviourInterface, mfront::LSDYNAInterface, mfront::MFrontBehaviourInterface, and mfront::ZMATInterface.
|
nodiscardpure virtual |
| [in] | h | : modelling hypothesis |
| [in] | mb | : behaviour description |
Implemented in mfront::BehaviourInterfaceBase, mfront::MFrontBehaviourInterface, and mfront::ZMATInterface.
give options to the interface
Those options may have been read from a configuration file or from the command line
| [in] | opts | options |
Implemented in mfront::BehaviourInterfaceBase, mfront::MFrontBehaviourInterface, and mfront::ZMATInterface.
|
nodiscardpure virtual |
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 |
Implemented in mfront::AbaqusExplicitInterface, mfront::AbaqusInterface, mfront::AnsysInterface, mfront::AsterInterface, mfront::CalculiXInterface, mfront::CastemInterface, mfront::ComsolInterface, mfront::CyranoInterface, mfront::DianaFEAInterface, mfront::GenericBehaviourInterface, mfront::LSDYNAInterface, mfront::MFrontBehaviourInterface, and mfront::ZMATInterface.
|
pure virtual |
complete the body of the behaviour constructor associated with the interface.
| [in] | os | output file |
| [in] | mb | behaviour description |
| [in] | h | modelling hypothesis |
Implemented in mfront::GenericBehaviourInterface, mfront::MFrontBehaviourInterface, mfront::UMATInterfaceBase, and mfront::ZMATInterface.
|
pure virtual |
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 |
Implemented in mfront::AbaqusExplicitInterface, mfront::GenericBehaviourInterface, mfront::LSDYNAInterface, mfront::MFrontBehaviourInterface, mfront::UMATInterfaceBase, and mfront::ZMATInterface.
|
pure virtual |
write the behaviour constructor associated with the law
| [in] | behaviourFile | : output file |
| [in] | mb | : behaviour description |
Implemented in mfront::AbaqusExplicitInterface, mfront::AbaqusInterface, mfront::AnsysInterface, mfront::GenericBehaviourInterface, mfront::LSDYNAInterface, mfront::MFrontBehaviourInterface, mfront::UMATInterfaceBase, and mfront::ZMATInterface.
|
pure virtual |
write the initialize functions
| [in] | os | output stream |
| [in] | bd | behaviour description |
| [in] | h | modelling hypothesis |
Implemented in mfront::BehaviourInterfaceBase, mfront::GenericBehaviourInterface, mfront::MFrontBehaviourInterface, and mfront::ZMATInterface.
|
pure virtual |
write the post-processings
| [in] | os | output stream |
| [in] | bd | behaviour description |
| [in] | h | modelling hypothesis |
Implemented in mfront::BehaviourInterfaceBase, mfront::GenericBehaviourInterface, mfront::MFrontBehaviourInterface, and mfront::ZMATInterface.
|
pure virtual |
write the setters associated with the main variables
| [in] | behaviourFile | : output file |
| [in] | mb | : behaviour description |
Implemented in mfront::AbaqusExplicitInterface, mfront::GenericBehaviourInterface, mfront::LSDYNAInterface, mfront::MFrontBehaviourInterface, mfront::UMATInterfaceBase, and mfront::ZMATInterface.
|
pure virtual |
write interface specific includes
| [in] | out | : output file |
| [in] | mb | : behaviour description |
Implemented in mfront::AbaqusExplicitInterface, mfront::AbaqusInterface, mfront::AnsysInterface, mfront::AsterInterface, mfront::CalculiXInterface, mfront::CastemInterface, mfront::ComsolInterface, mfront::CyranoInterface, mfront::DianaFEAInterface, mfront::GenericBehaviourInterface, mfront::LSDYNAInterface, mfront::MFrontBehaviourInterface, and mfront::ZMATInterface.