tfel
Loading...
Searching...
No Matches
MaterialKnowledgeDescription.hxx File Reference

19 mars 2014 More...

#include <map>
#include <tuple>
#include <string>
#include <vector>
#include <optional>
#include <string_view>
#include "TFEL/Utilities/Data.hxx"
#include "TFEL/Material/OutOfBoundsPolicy.hxx"
#include "MFront/MFrontConfig.hxx"
#include "MFront/CompatibilityMode.hxx"
#include "MFront/MaterialKnowledgeAttribute.hxx"
#include "MFront/MaterialKnowledgeDescription.ixx"

Classes

struct  mfront::MaterialKnowledgeDescription
 base class for the description of material knowledge More...

Namespaces

namespace  mfront
 This namespace contains material used to build the MFront code generator.

Functions

MFRONT_VISIBILITY_EXPORT void mfront::setDisableRuntimeChecks (MaterialKnowledgeDescription &, const bool)
 set if runtime checks shall be disabled
MFRONT_VISIBILITY_EXPORT bool mfront::areRuntimeChecksDisabled (const MaterialKnowledgeDescription &)
 this function returns the value of the MaterialKnowledgeDescription::disableRuntimeChecks attribute if it is defined, false otherwise.
MFRONT_VISIBILITY_EXPORT void mfront::setDefaultOutOfBoundsPolicy (MaterialKnowledgeDescription &, const std::string &)
 set the default out of bounds policy
MFRONT_VISIBILITY_EXPORT tfel::material::OutOfBoundsPolicy mfront::getDefaultOutOfBoundsPolicy (const MaterialKnowledgeDescription &)
 this function returns the value of the MaterialKnowledgeDescription::defaultOutOfBoundsPolicy attribute if it is defined, tfel::material::None otherwise.
MFRONT_VISIBILITY_EXPORT std::string mfront::getDefaultOutOfBoundsPolicyAsString (const MaterialKnowledgeDescription &)
 this function returns the value of the MaterialKnowledgeDescription::defaultOutOfBoundsPolicy attribute if it is defined, None otherwise.
MFRONT_VISIBILITY_EXPORT std::string mfront::getDefaultOutOfBoundsPolicyAsUpperCaseString (const MaterialKnowledgeDescription &)
 this function returns the value of the MaterialKnowledgeDescription::defaultOutOfBoundsPolicy attribute if it is defined, NONE otherwise.
MFRONT_VISIBILITY_EXPORT bool mfront::allowRuntimeModificationOfTheOutOfBoundsPolicy (const MaterialKnowledgeDescription &)
 this function returns the value of the MaterialKnowledgeDescription::runtimeModificationOfTheOutOfBoundsPolicy attribute if it is defined, true otherwise.
MFRONT_VISIBILITY_EXPORT bool mfront::areParametersTreatedAsStaticVariables (const MaterialKnowledgeDescription &)
 this function returns the value of the MaterialKnowledgeDescription::parametersAsStaticVariables attribute if it is defined, false otherwise.
MFRONT_VISIBILITY_EXPORT bool mfront::allowsParametersInitializationFromFile (const MaterialKnowledgeDescription &)
 this function returns the value of the MaterialKnowledgeDescription::initializeParametersFromFile attribute if it is defined, true otherwise.
MFRONT_VISIBILITY_EXPORT std::optional< CompatibilityMode::Version > mfront::getCompatibilityMode (const MaterialKnowledgeDescription &)
 this function returns the value of the MaterialKnowledgeDescription::compatibilityMode attribute if it is defined.
MFRONT_VISIBILITY_EXPORT CompatibilityMode::Version mfront::getEffectiveCompatibilityMode (const MaterialKnowledgeDescription &)
 this function returns the value of the MaterialKnowledgeDescription::compatibilityMode attribute if it is defined or the maximum known compatibility mode.

Detailed Description

19 mars 2014

Author
Thomas Helfer