a data structure representing the implementation of a material knowledge based on MFront.
More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/OverridableImplementation.hxx>
a data structure representing the implementation of a material knowledge based on MFront.
This datastructure allows to take an MFront file, called the source file and override:
- some metadata, such as the author name, the date, the description
- the parameters
- the bounds of the variables
◆ OverridableImplementation()
| mfront::OverridableImplementation::OverridableImplementation |
( |
const std::string & | | ) |
|
|
explicit |
default construtor
- Parameters
-
◆ getExternalMFrontFiles()
| const std::map< std::string, std::tuple< std::vector< std::string >, tfel::utilities::DataMap >, std::less<> > & mfront::OverridableImplementation::getExternalMFrontFiles |
( |
| ) |
const |
|
nodiscard |
- Returns
- the external MFront files
◆ getMaterial()
| std::string mfront::OverridableImplementation::getMaterial |
( |
| ) |
const |
|
nodiscard |
◆ getMaterialKnowledgeIdentifier()
| std::string mfront::OverridableImplementation::getMaterialKnowledgeIdentifier |
( |
| ) |
const |
|
nodiscard |
- Returns
- the material knowledge identifier (material property name, behaviour name or model name)
◆ getOverridenValue()
template<OverridableImplementation::Tags Tag>
| const std::string & mfront::OverridableImplementation::getOverridenValue |
( |
| ) |
const |
|
nodiscard |
- Returns
- the string valuated override associated the with given tag
◆ getOverridingParameters()
| const std::map< std::string, double > & mfront::OverridableImplementation::getOverridingParameters |
( |
| ) |
const |
|
nodiscard |
- Returns
- the parameters'overrides
◆ getSourceFileDescription()
| const FileDescription & mfront::OverridableImplementation::getSourceFileDescription |
( |
| ) |
const |
|
nodiscard |
- Returns
- the file description associated with source file
◆ getSourceFilePath()
| const std::string & mfront::OverridableImplementation::getSourceFilePath |
( |
| ) |
const |
|
nodiscard |
- Returns
- the path to the source file
◆ getSourceMaterialKnowledgeIdentifier()
| std::string mfront::OverridableImplementation::getSourceMaterialKnowledgeIdentifier |
( |
| ) |
const |
|
nodiscard |
- Returns
- the identifier (material property name, behaviour name, model name) of the treated file
◆ getSourceMaterialName()
| std::string mfront::OverridableImplementation::getSourceMaterialName |
( |
| ) |
const |
|
nodiscard |
- Returns
- the material described by the treated file
◆ getTargetType()
- Returns
- the target of the dsl
◆ overrideByAParameter()
| void mfront::OverridableImplementation::overrideByAParameter |
( |
const std::string & | , |
|
|
const double | ) |
override a variable by a parameter
- Parameters
-
| [in] | n | external variable name |
| [in] | v | parameter value |
◆ setOverridenValue()
template<OverridableImplementation::Tags Tag>
| void mfront::OverridableImplementation::setOverridenValue |
( |
const std::string & | v | ) |
|
override the information associated with the given tag tparam Tag: tag to the information that shall be overriden
- Parameters
-
The documentation for this struct was generated from the following files: