|
tfel
|
interface class for all domain specific languages. More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/AbstractDSL.hxx>
Classes | |
| struct | DSLOptionDescription |
| structure used to describe a DSL option More... | |
Public Types | |
| enum | DSLTarget { MATERIALPROPERTYDSL , BEHAVIOURDSL , MODELDSL } |
| list of dsl targets | |
| using | DSLOptions = tfel::utilities::DataMap |
| a simple alias | |
Public Member Functions | |
| virtual std::vector< DSLOptionDescription > | getDSLOptions () const =0 |
| virtual DSLTarget | getTargetType () const =0 |
| virtual const MaterialKnowledgeDescription & | getMaterialKnowledgeDescription () const =0 |
| virtual const FileDescription & | getFileDescription () const =0 |
| virtual std::string | getMaterialKnowledgeIdentifier () const =0 |
| virtual std::string | getMaterialName () const =0 |
| virtual std::string | getOverridableVariableNameByExternalName (const std::string &) const =0 |
| virtual std::map< std::string, double > | getOverridenParameters () const =0 |
| virtual void | analyseFile (const std::string &, const std::vector< std::string > &, const std::map< std::string, std::string > &)=0 |
| analyse a file | |
| virtual void | analyseString (const std::string &)=0 |
| analyse the specified string. | |
| virtual void | importFile (const std::string &, const std::vector< std::string > &, const std::map< std::string, std::string > &)=0 |
| import a file | |
| virtual void | endsInputFileProcessing ()=0 |
| method called at the end of the input file processing. | |
| virtual void | makeConsistencyChecks () const =0 |
| method called after processing the input file processing. | |
| virtual const TargetsDescription & | getTargetsDescription () const =0 |
| virtual void | generateOutputFiles ()=0 |
| treat the specified file. | |
| virtual void | setInterfaces (const std::set< std::string > &)=0 |
| set list of interfaces | |
| virtual void | getKeywordsList (std::vector< std::string > &) const =0 |
| return the list of keywords usable with this parser | |
| virtual | ~AbstractDSL () |
| destructor | |
interface class for all domain specific languages.
|
pure virtual |
analyse a file
| [in] | f | : file name |
| [in] | ecmds | : additionnal commands inserted treated before the input file commands (those commands are given through the --@?? option of the command line |
| [in] | s | : substitutions patterns inserted (those substitutions are given through command-line options such as --@YYY@=XXX) |
Implemented in mfront::BehaviourDSLCommon, mfront::MaterialPropertyDSL, mfront::ModelDSLBase< Child >, and mfront::ModelDSLBase< ModelDSL >.
|
pure virtual |
analyse the specified string.
| [in] | s | : analysed a string |
Implemented in mfront::BehaviourDSLCommon, mfront::MaterialPropertyDSL, mfront::ModelDSLBase< Child >, and mfront::ModelDSLBase< ModelDSL >.
|
pure virtual |
method called at the end of the input file processing.
Implemented in mfront::BehaviourDSLCommon, mfront::DefaultDSLBase, mfront::ImplicitDSLBase, mfront::IsotropicBehaviourDSLBase, mfront::IsotropicMisesCreepDSL, mfront::IsotropicMisesPlasticFlowDSL, mfront::IsotropicStrainHardeningMisesCreepDSL, mfront::MaterialPropertyDSL, mfront::ModelDSLCommon, and mfront::RungeKuttaDSLBase.
|
pure virtual |
treat the specified file.
Implemented in mfront::BehaviourDSLCommon, mfront::MaterialPropertyDSL, and mfront::ModelDSLCommon.
|
nodiscardpure virtual |
Implemented in mfront::BehaviourDSLCommon, and mfront::DSLBase.
|
nodiscardpure virtual |
Implemented in mfront::DSLBase.
|
pure virtual |
return the list of keywords usable with this parser
| [out] | k | : the list of keywords registred for this parser |
Implemented in mfront::BehaviourDSLCommon, mfront::MaterialPropertyDSL, mfront::ModelDSLBase< Child >, and mfront::ModelDSLBase< ModelDSL >.
|
nodiscardpure virtual |
Implemented in mfront::BehaviourDSLCommon, mfront::MaterialPropertyDSL, and mfront::ModelDSLCommon.
|
nodiscardpure virtual |
Implemented in mfront::BehaviourDSLCommon, mfront::MaterialPropertyDSL, and mfront::ModelDSLCommon.
|
nodiscardpure virtual |
Implemented in mfront::BehaviourDSLCommon, mfront::MaterialPropertyDSL, and mfront::ModelDSLCommon.
|
nodiscardpure virtual |
| [in] | n | external name of the quantity overridable by a parameter |
Depending on the DSL's, a parameter may override a parameter, but also a material property for example.
Implemented in mfront::BehaviourDSLCommon, mfront::MaterialPropertyDSL, and mfront::ModelDSLCommon.
|
nodiscardpure virtual |
Implemented in mfront::BehaviourDSLCommon, mfront::MaterialPropertyDSL, and mfront::ModelDSLCommon.
|
nodiscardpure virtual |
Implemented in mfront::DSLBase.
|
nodiscardpure virtual |
Implemented in mfront::AbstractBehaviourDSL, mfront::MaterialPropertyDSL, and mfront::ModelDSLCommon.
|
pure virtual |
import a file
| [in] | f | : file name |
| [in] | ecmds | : additionnal commands inserted treated before the input file commands |
| [in] | s | : substitutions patterns inserted (those substitutions are given through command-line options such as --@YYY@=XXX) |
Implemented in mfront::BehaviourDSLCommon, mfront::MaterialPropertyDSL, mfront::ModelDSLBase< Child >, and mfront::ModelDSLBase< ModelDSL >.
|
pure virtual |
method called after processing the input file processing.
Implemented in mfront::BehaviourDSLCommon, mfront::ImplicitDSLBase, mfront::MaterialPropertyDSL, and mfront::ModelDSLCommon.
|
pure virtual |
set list of interfaces
| [in] | inames | : list of interfaces |
Implemented in mfront::BehaviourDSLCommon, mfront::MaterialPropertyDSL, mfront::ModelDSL, and mfront::ModelDSLCommon.