tfel
Loading...
Searching...
No Matches
mtest::CyranoMaterialProperty Struct Reference

material property based on the Cyrano interface More...

#include </home/runner/work/tfel/tfel/mtest/include/MTest/CyranoMaterialProperty.hxx>

Inheritance diagram for mtest::CyranoMaterialProperty:
mtest::MaterialPropertyBase mtest::MaterialProperty tfel::system::ExternalMaterialPropertyDescription tfel::system::ExternalMaterialKnowledgeDescription

Public Member Functions

 CyranoMaterialProperty (const std::string &, const std::string &)
 constructor
real getValue () const override
 return the value of the material property
 ~CyranoMaterialProperty () override
 destructor
Public Member Functions inherited from mtest::MaterialPropertyBase
 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 ~MaterialProperty ()
 destructor

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
Protected Attributes inherited from mtest::MaterialPropertyBase
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

Detailed Description

material property based on the Cyrano interface

Constructor & Destructor Documentation

◆ CyranoMaterialProperty()

mtest::CyranoMaterialProperty::CyranoMaterialProperty ( const std::string & ,
const std::string &  )

constructor

Parameters
[in]llibrary
[in]ffunction

Member Function Documentation

◆ getValue()

real mtest::CyranoMaterialProperty::getValue ( ) const
nodiscardoverridevirtual

return the value of the material property

Implements mtest::MaterialProperty.


The documentation for this struct was generated from the following file: