|
tfel
|
a deleguate class aimed a generating the code associated with a behaviour. More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/AbstractBehaviourCodeGenerator.hxx>
Public Types | |
| using | MaterialPropertyInput = BehaviourDescription::MaterialPropertyInput |
| a simple alias | |
| using | ModellingHypothesis = tfel::material::ModellingHypothesis |
| a simple alias | |
| using | Hypothesis = ModellingHypothesis::Hypothesis |
| a simple alias | |
Public Member Functions | |
| virtual void | generateOutputFiles (const std::set< Hypothesis > &)=0 |
| generate the output files | |
| virtual void | writeMaterialPropertyEvaluation (std::ostream &, const BehaviourDescription::MaterialProperty &, std::function< std::string(const MaterialPropertyInput &)> &) const =0 |
| write the call to a material property | |
| virtual bool | isSrcFileRequired () const =0 |
| virtual | ~AbstractBehaviourCodeGenerator () |
| destructor | |
a deleguate class aimed a generating the code associated with a behaviour.
|
pure virtual |
generate the output files
| [in] | mhs | modelling hypotheses to be treated |
Implemented in mfront::BehaviourCodeGeneratorBase.
|
nodiscardpure virtual |
The source file contains implementations of functions common to all interfaces.
Implemented in mfront::BehaviourCodeGeneratorBase.
|
pure virtual |
write the call to a material property
| [out] | out | output stream |
| [in] | m | material property description |
| [in] | f | function converting input variable name. The function f can be used to specify how evaluate a variable value. For example, if we want to evaluate the variable name 'V' at the end of the time step, we could make f return V+dV |
Implemented in mfront::BehaviourCodeGeneratorBase.