|
tfel
|
an a behaviour' brick is a way to alleviate to build a complex behaviour. More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/AbstractBehaviourBrick.hxx>
Public Types | |
| using | ModellingHypothesis = tfel::material::ModellingHypothesis |
| a simple alias | |
| using | Hypothesis = ModellingHypothesis::Hypothesis |
| a simple alias | |
| using | CxxTokenizer = tfel::utilities::CxxTokenizer |
| a simple alias | |
| using | tokens_iterator = CxxTokenizer::const_iterator |
| a simple alias | |
| using | Parameters = std::map<std::string, std::string> |
| using | Parameter = Parameters::value_type |
| a simple alias | |
| using | Data = tfel::utilities::Data |
| a simple alias | |
| using | DataMap = tfel::utilities::DataMap |
| a simple alias | |
Public Member Functions | |
| virtual std::string | getName () const =0 |
| return the name of the brick | |
| virtual BehaviourBrickDescription | getDescription () const =0 |
| virtual std::vector< bbrick::OptionDescription > | getOptions (const bool) const =0 |
| virtual void | initialize (const Parameters &, const DataMap &)=0 |
| intialize the brick | |
| virtual std::pair< bool, tokens_iterator > | treatKeyword (const std::string &, tokens_iterator &, const tokens_iterator)=0 |
| treat a keyword | |
| virtual std::vector< Hypothesis > | getSupportedModellingHypotheses () const =0 |
| This method returns the list of supported modelling hypotheses that are supported by the brick. | |
| virtual void | endTreatment () const =0 |
| method called at the end of the input file processing | |
| virtual void | completeVariableDeclaration () const =0 |
| complete the variable description | |
| virtual | ~AbstractBehaviourBrick () |
| descructor | |
an a behaviour' brick is a way to alleviate to build a complex behaviour.
| using mfront::AbstractBehaviourBrick::Parameters = std::map<std::string, std::string> |
Object used to pass parameters to BehaviourBricks constructor The key is the parameter name. The value is the parameter value.
|
pure virtual |
complete the variable description
Implemented in mfront::DDIF2Brick, mfront::FiniteStrainSingleCrystalBrick, mfront::StandardElasticityBrick, and mfront::StandardElastoViscoPlasticityBrick.
|
pure virtual |
method called at the end of the input file processing
Implemented in mfront::DDIF2Brick, mfront::FiniteStrainSingleCrystalBrick, mfront::StandardElasticityBrick, and mfront::StandardElastoViscoPlasticityBrick.
|
nodiscardpure virtual |
Implemented in mfront::DDIF2Brick, mfront::FiniteStrainSingleCrystalBrick, mfront::StandardElasticityBrick, and mfront::StandardElastoViscoPlasticityBrick.
|
nodiscardpure virtual |
return the name of the brick
Implemented in mfront::DDIF2Brick, mfront::FiniteStrainSingleCrystalBrick, mfront::StandardElasticityBrick, and mfront::StandardElastoViscoPlasticityBrick.
|
nodiscardpure virtual |
| [in] | b | if true, all options are returned. Otherwise, only the most adapted options for the behaviour are returned. |
Implemented in mfront::DDIF2Brick, mfront::FiniteStrainSingleCrystalBrick, mfront::StandardElasticityBrick, and mfront::StandardElastoViscoPlasticityBrick.
|
nodiscardpure virtual |
This method returns the list of supported modelling hypotheses that are supported by the brick.
This method is called after the input file processing. Two cases may arise:
Implemented in mfront::DDIF2Brick, mfront::FiniteStrainSingleCrystalBrick, mfront::StandardElasticityBrick, and mfront::StandardElastoViscoPlasticityBrick.
|
pure virtual |
intialize the brick
| [in] | p | parameters |
| [in] | d | data |
Implemented in mfront::DDIF2Brick, mfront::FiniteStrainSingleCrystalBrick, mfront::StandardElasticityBrick, and mfront::StandardElastoViscoPlasticityBrick.
|
nodiscardpure virtual |
treat a keyword
| [in] | key | keyword to be treated |
| [in,out] | p | current position in the file |
| [in] | pe | iterator past the end of the file |
Implemented in mfront::BehaviourBrickBase.