|
tfel
|
base class for material properties More...
#include </home/runner/work/tfel/tfel/mtest/include/MTest/MaterialProperty.hxx>
Public Member Functions | |
| virtual std::size_t | getNumberOfVariables () const =0 |
| virtual std::vector< std::string > | getVariablesNames () const =0 |
| virtual std::vector< std::string > | getParametersNames () const =0 |
| virtual std::string | getOutputName () const =0 |
| virtual void | setVariableValue (const std::string &, const real)=0 |
| set variable value | |
| virtual void | setVariableValue (const std::size_t, const real)=0 |
| set variable value | |
| virtual real | getValue () const =0 |
| return the value of the material property | |
| virtual void | setParameter (const std::string &, const real)=0 |
| set the value of a parameter | |
| virtual | ~MaterialProperty () |
| destructor | |
Static Public Member Functions | |
| static std::shared_ptr< MaterialProperty > | getMaterialProperty (const std::string &, const std::string &, const std::string &) |
| build a material property | |
base class for material properties
|
static |
build a material property
| [in] | i | interface |
| [in] | l | library |
| [in] | f | function |
|
nodiscardpure virtual |
Implemented in mtest::MaterialPropertyBase.
|
nodiscardpure virtual |
Implemented in mtest::MaterialPropertyBase.
|
nodiscardpure virtual |
Implemented in mtest::MaterialPropertyBase.
|
nodiscardpure virtual |
return the value of the material property
Implemented in mtest::CastemMaterialProperty, mtest::CyranoMaterialProperty, and mtest::GenericMaterialProperty.
|
nodiscardpure virtual |
Implemented in mtest::MaterialPropertyBase.
|
pure virtual |
set the value of a parameter
| [in] | n | name of the variable |
| [in] | v | value the variable |
Implemented in mtest::MaterialPropertyBase.
|
pure virtual |
set variable value
| [in] | p | position of the variable |
| [in] | v | value the variable |
Implemented in mtest::MaterialPropertyBase.
|
pure virtual |
set variable value
| [in] | n | name of the variable |
| [in] | v | value the variable |
Implemented in mtest::MaterialPropertyBase.