|
tfel
|
a base class for material properties. More...
#include </home/runner/work/tfel/tfel/mtest/include/MTest/MaterialPropertyBase.hxx>
Public Member Functions | |
| MaterialPropertyBase (const std::string &, const std::string &) | |
| constructor | |
| std::size_t | getNumberOfVariables () const override |
| std::vector< std::string > | getVariablesNames () const override |
| std::vector< std::string > | getParametersNames () const override |
| std::string | getOutputName () const override |
| void | setVariableValue (const std::string &, const real) override |
| set variable value | |
| void | setVariableValue (const std::size_t, const real) override |
| set variable value | |
| void | setParameter (const std::string &, const real) override |
| set the value of a parameter | |
| ~MaterialPropertyBase () override | |
| destructor | |
| Public Member Functions inherited from mtest::MaterialProperty | |
| virtual real | getValue () const =0 |
| return the value of the material property | |
| virtual | ~MaterialProperty () |
| destructor | |
Protected Attributes | |
| std::vector< real > | arguments_values |
| variables values | |
| Protected Attributes inherited from tfel::system::ExternalMaterialPropertyDescription | |
| std::string | law |
| name of the law defining the material property | |
| std::string | material_property |
| name of the enty point associated with the material property | |
| std::string | output |
| external name of the output | |
| std::vector< std::string > | arguments |
| external names of the arguments/inputs | |
| std::vector< std::string > | parameters |
| list of parameters | |
| Protected Attributes inherited from tfel::system::ExternalMaterialKnowledgeDescription | |
| std::string | library |
| name of the library | |
| std::string | entry_point |
| name of the entry point | |
| std::string | tfel_version |
| version of TFEL used to generate the entry point | |
| std::string | unit_system |
| unit system used by the entry point (can be empty if no unit system has been specified) | |
| std::string | build_id |
| build identifier | |
| std::string | source |
| MFront source file. | |
| std::string | mfront_interface |
| name of the interface used to generate the entry point | |
| std::string | material |
| name of the material | |
| std::string | author |
| author of the implementation | |
| std::string | date |
| date of the implementation | |
| std::string | description |
| description of the material knowledge | |
Additional Inherited Members | |
| Static Public Member Functions inherited from mtest::MaterialProperty | |
| static std::shared_ptr< MaterialProperty > | getMaterialProperty (const std::string &, const std::string &, const std::string &) |
| build a material property | |
| Protected Member Functions inherited from tfel::system::ExternalMaterialPropertyDescription | |
| ExternalMaterialPropertyDescription (const std::string &, const std::string &) | |
| ExternalMaterialPropertyDescription () | |
| default constructor | |
| ExternalMaterialPropertyDescription (ExternalMaterialPropertyDescription &&) noexcept | |
| move constructor | |
| ExternalMaterialPropertyDescription (const ExternalMaterialPropertyDescription &) | |
| move constructor | |
| ExternalMaterialPropertyDescription & | operator= (ExternalMaterialPropertyDescription &&) noexcept |
| move assignement | |
| ExternalMaterialPropertyDescription & | operator= (const ExternalMaterialPropertyDescription &) |
| standard assignement | |
| double | getParameterDefaultValue (const std::string &) const |
| get the default value of a parameter | |
| bool | hasBounds (const std::string &) const |
| bool | hasLowerBound (const std::string &) const |
| bool | hasUpperBound (const std::string &) const |
| long double | getLowerBound (const std::string &) const |
| long double | getUpperBound (const std::string &) const |
| bool | hasPhysicalBounds (const std::string &) const |
| bool | hasLowerPhysicalBound (const std::string &) const |
| bool | hasUpperPhysicalBound (const std::string &) const |
| long double | getLowerPhysicalBound (const std::string &) const |
| long double | getUpperPhysicalBound (const std::string &) const |
| ~ExternalMaterialPropertyDescription () | |
| destructor | |
| Protected Member Functions inherited from tfel::system::ExternalMaterialKnowledgeDescription | |
| ExternalMaterialKnowledgeDescription (const std::string &, const std::string &) | |
| ExternalMaterialKnowledgeDescription () | |
| default constructor | |
| ExternalMaterialKnowledgeDescription (ExternalMaterialKnowledgeDescription &&) noexcept | |
| move constructor | |
| ExternalMaterialKnowledgeDescription (const ExternalMaterialKnowledgeDescription &) | |
| move constructor | |
| ExternalMaterialKnowledgeDescription & | operator= (ExternalMaterialKnowledgeDescription &&) noexcept |
| move assignement | |
| ExternalMaterialKnowledgeDescription & | operator= (const ExternalMaterialKnowledgeDescription &) |
| standard assignement | |
| ~ExternalMaterialKnowledgeDescription () | |
| destructor | |
a base class for material properties.
This class handles a buffer to store variables' value and a map between variables names and variables offset.
| mtest::MaterialPropertyBase::MaterialPropertyBase | ( | const std::string & | , |
| const std::string & | ) |
constructor
| [in] | l | library |
| [in] | f | function |
|
nodiscardoverridevirtual |
Implements mtest::MaterialProperty.
|
nodiscardoverridevirtual |
Implements mtest::MaterialProperty.
|
nodiscardoverridevirtual |
Implements mtest::MaterialProperty.
|
nodiscardoverridevirtual |
Implements mtest::MaterialProperty.
set the value of a parameter
| [in] | n | name of the variable |
| [in] | v | value the variable |
Implements mtest::MaterialProperty.
|
overridevirtual |
set variable value
| [in] | p | position of the variable |
| [in] | v | value the variable |
Implements mtest::MaterialProperty.
|
overridevirtual |
set variable value
| [in] | n | name of the variable |
| [in] | v | value the variable |
Implements mtest::MaterialProperty.