|
tfel
|
#include </home/runner/work/tfel/tfel/mfront/include/MFront/BehaviourDescription.hxx>
Classes | |
| struct | ConstantMaterialProperty |
| this structure holds the value of a constant material property More... | |
| struct | AnalyticMaterialProperty |
| this structure holds the value of a material property defined through an analytic expression More... | |
| struct | ExternalMFrontMaterialProperty |
| this structure holds the value of a material property defined through an mfront file More... | |
| struct | ExternalModelBasedOnBehaviourVariableFactory |
| structure describing a model based on a behaviour factory More... | |
| struct | HillTensor |
| structure used to defined a Hill tensor More... | |
| struct | MaterialPropertyInput |
| a simple structure used to compte the value of a material property More... | |
Public Types | |
| enum | VerificationStatus { UNVERIFIED , VERIFIED } |
| validation tatus | |
| enum | ValidationStatus { UNVALIDATED , VALIDATED } |
| validation tatus | |
| enum | StrainMeasure { LINEARISED , GREENLAGRANGE , HENCKY } |
| Strain measure. | |
| using | ModellingHypothesis = tfel::material::ModellingHypothesis |
| a simple alias | |
| using | Hypothesis = ModellingHypothesis::Hypothesis |
| a simple alias | |
| using | CrystalStructure = tfel::material::CrystalStructure |
| a simple alias | |
| using | SlipSystemsDescription = tfel::material::SlipSystemsDescription |
| a simple alias | |
| using | SlipSystem = SlipSystemsDescription::system |
| a simple alias | |
| using | InteractionMatrixStructure |
| a simple alias | |
| using | OrthotropicAxesConvention = tfel::material::OrthotropicAxesConvention |
| a simple alias | |
| using | Mode = BehaviourData::Mode |
| a simple alias | |
| using | Position = BehaviourData::Position |
| a simple alias | |
| using | MaterialPropertyTypes |
| list of supported material properties types | |
| using | StressFreeExpansionDescription |
| a simple alias | |
| using | MaterialProperty |
| using | IntegrationScheme = mfront::IntegrationScheme |
| a simple alias | |
| Public Types inherited from tfel::material::MechanicalBehaviourBase | |
| enum | BehaviourType { GENERALBEHAVIOUR = 0 , STANDARDSTRAINBASEDBEHAVIOUR = 1 , STANDARDFINITESTRAINBEHAVIOUR = 2 , COHESIVEZONEMODEL = 3 } |
| enum | Kinematic { UNDEFINEDKINEMATIC = 0 , SMALLSTRAINKINEMATIC = 1 , COHESIVEZONEKINEMATIC = 2 , FINITESTRAINKINEMATIC_F_CAUCHY = 3 , FINITESTRAINKINEMATIC_ETO_PK1 = 4 } |
| enum | ExitStatus { FAILURE = 0 , SUCCESS = 1 , UNRELIABLE_RESULTS } |
| return values of the integrate method | |
| enum | SMType { ELASTIC , SECANTOPERATOR , TANGENTOPERATOR , CONSISTENTTANGENTOPERATOR , NOSTIFFNESSREQUESTED } |
| list of possible tangent operator type | |
| Public Types inherited from mfront::SupportedTypes | |
| enum | TypeFlag { SCALAR , TVECTOR , STENSOR , TENSOR } |
| flag associaed with a variable type | |
| using | const_iterator = tfel::utilities::CxxTokenizer::const_iterator |
| a simple alias | |
Public Member Functions | |
| BehaviourDescription () | |
| default constructor | |
| BehaviourDescription (const tfel::utilities::DataMap &) | |
| constructor | |
| BehaviourDescription (const BehaviourDescription &) | |
| copy constructor | |
| void | setAttribute (const Hypothesis, const std::string &, const MaterialKnowledgeAttribute &, const bool=false) |
| set a mechanical attribute | |
| void | updateAttribute (const Hypothesis, const std::string &, const MaterialKnowledgeAttribute &) |
| update an attribute | |
| template<typename T> | |
| const T & | getAttribute (const Hypothesis, const std::string &) const |
| template<typename T> | |
| T | getAttribute (const Hypothesis, const std::string &, const T &) const |
| bool | hasAttribute (const Hypothesis, const std::string &) const |
| bool | isModel () const noexcept |
| bool | allowsNewUserDefinedVariables () const |
| return true if the behaviour description allows the declaration of user defined variables | |
| void | completeVariableDeclaration () |
| complete the declaration of variables | |
| void | areDynamicallyAllocatedVectorsAllowed (const bool) |
| set if dynamically allocated vectors are allowed | |
| bool | areDynamicallyAllocatedVectorsAllowed () const |
| bool | useDynamicallyAllocatedVector (const unsigned short) const |
| bool | isBehaviourNameDefined () const |
| void | overrideByAParameter (const std::string &, const double) |
| specify that the given variable must be overriden by a parameter when declared. | |
| std::map< std::string, double > | getOverridenParameters () const |
| void | setBehaviourName (const std::string &) |
| set the behaviour name | |
| const std::string & | getBehaviourName () const |
| void | setDSLName (const std::string &) |
| set the dsl name | |
| const std::string & | getDSLName () const |
| void | setMaterialName (const std::string &) |
| set the material name | |
| const std::string & | getMaterialName () const |
| void | setLibrary (const std::string &) |
| set the library name | |
| const std::string & | getLibrary () const |
| void | setClassName (const std::string &) |
| set the class name | |
| const std::string & | getClassName () const |
| std::string | getFullClassName () const |
| bool | shallDefineDefaultConstructor () const |
| bool | isFinal () const |
| std::string | getInternalNamespace () const |
| std::string | getBehaviourFileName () const |
| std::string | getBehaviourDataFileName () const |
| std::string | getIntegrationDataFileName () const |
| std::string | getSlipSystemHeaderFileName () const |
| std::string | getSlipSystemImplementationFileName () const |
| std::string | getSrcFileName () const |
| MaterialPropertyInput | getMaterialPropertyInput (const std::string &, const bool=true) const |
| std::vector< MaterialPropertyInput > | getMaterialPropertyInputs (const std::vector< std::string > &, const bool=true) const |
| std::vector< MaterialPropertyInput > | getMaterialPropertyInputs (const MaterialPropertyDescription &, const bool=true) const |
| void | appendToSources (const std::string &) |
| append the given code to the sources | |
| const std::string & | getSources () const |
| void | appendToMembers (const Hypothesis, const std::string &, const bool) |
| append the given code to the members | |
| std::string | getMembers (const Hypothesis) const |
| void | appendToPrivateCode (const Hypothesis, const std::string &, const bool) |
| append the given code to the members | |
| void | addInitializeFunction (const Hypothesis, const std::string &, const CodeBlock &) |
| add the given initialize function | |
| void | addPostProcessing (const Hypothesis, const std::string &, const CodeBlock &) |
| add the given post-processing | |
| std::string | getPrivateCode (const Hypothesis) const |
| void | appendToIncludes (const std::string &) |
| append the given code to the includes | |
| const std::string & | getIncludes () const |
| void | addMaterialLaw (const std::string &) |
| void | addModelDescription (const ModelDescription &) |
| add a model description. All outputs of the model are automatically added as auxiliary state variables | |
| void | addModelDescription (const BehaviourVariableDescription &) |
| add a model description based on an already declared behaviour variable factory. | |
| void | addAuxiliaryModelDescription (const ModelDescription &) |
| add an auxiliary model description. All outputs of the model are automatically added as auxiliary state variables | |
| void | addAuxiliaryModelDescription (const BehaviourVariableDescription &) |
| add an auxiliary model description based on an already declared behaviour variable factory. | |
| void | addLocalDataStructure (const LocalDataStructure &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| const std::vector< std::string > & | getMaterialLaws () const |
| std::pair< SupportedTypes::TypeSize, SupportedTypes::TypeSize > | getMainVariablesSize () const |
| void | addMainVariable (const Gradient &, const ThermodynamicForce &) |
| add a new main variable | |
| const std::vector< std::pair< Gradient, ThermodynamicForce > > & | getMainVariables () const |
| void | setTangentOperatorBlocks (const std::vector< std::string > &) |
| set the tangent operator blocks and disable the use of the default blocks. | |
| void | addTangentOperatorBlock (const std::string &) |
| add new block to the tangent operator | |
| void | addTangentOperatorBlocks (const std::vector< std::string > &) |
| add new blocks to the tangent operator | |
| const Gradient & | getGradient (const std::string &) const |
| const Gradient & | getGradientByExternalName (const std::string &) const |
| const ThermodynamicForce & | getThermodynamicForce (const std::string &) const |
| const ThermodynamicForce & | getThermodynamicForceByExternalName (const std::string &) const |
| std::vector< std::pair< VariableDescription, VariableDescription > > | getTangentOperatorBlocks () const |
| std::string | getTangentOperatorBlockName (const std::pair< VariableDescription, VariableDescription > &) const |
| std::string | getTangentOperatorBlockSymbolicName (const std::pair< VariableDescription, VariableDescription > &) const |
| void | declareAsGenericBehaviour () |
| set the behaviour to be a generic behaviour | |
| void | declareAsASmallStrainStandardBehaviour () |
| set the behaviour to be a small strain standard behaviour | |
| void | declareAsAFiniteStrainStandardBehaviour (const bool) |
| set the behaviour to be a finite strain standard behaviour | |
| void | declareAsACohesiveZoneModel () |
| set the behaviour to be a cohesive zone model | |
| void | setStrainMeasure (const StrainMeasure) |
| set the strain measure to be used | |
| void | setSaveStrainMeasure (const bool) |
| set if the strain measure shall be save | |
| void | setSaveDualStress (const bool) |
| set if the dual stress shall be save | |
| StrainMeasure | getStrainMeasure () const |
| bool | isStrainMeasureDefined () const |
| bool | saveStrainMeasure () const |
| bool | saveDualStress () const |
| bool | hasTangentOperator () const |
| bool | hasTrivialTangentOperatorStructure () const |
| std::string | computeTangentOperatorSize () const |
| std::string | getTangentOperatorType () const |
| bool | useQt () const |
| void | setIntegrationScheme (const IntegrationScheme) |
| disable the usage of quantities if not already specified. | |
| *return the integration scheme used IntegrationScheme | getIntegrationScheme () const |
| *return a string describing the behaviour type std::string | getBehaviourTypeFlag () const |
| *return the symmetry type of the behaviour BehaviourSymmetryType | getSymmetryType () const |
| void | setSymmetryType (const BehaviourSymmetryType) |
| bool | isSymmetryTypeDefined () const |
| BehaviourSymmetryType | getElasticSymmetryType () const |
| void | setElasticSymmetryType (const BehaviourSymmetryType) |
| bool | isElasticSymmetryTypeDefined () const |
| void | setOrthotropicAxesConvention (const OrthotropicAxesConvention) |
| set the orthotropic axes convention. | |
| OrthotropicAxesConvention | getOrthotropicAxesConvention () const |
| bool | hasCrystalStructure () const |
| *return the crystal structure of the material CrystalStructure | getCrystalStructure () const |
| void | setCrystalStructure (const CrystalStructure) |
| set the crystal structure | |
| void | setCrystalStructure (const CrystalStructure, const long double) |
| set the crystal structure | |
| *return true if slip systems were defined bool | areSlipSystemsDefined () const |
| void | setSlipSystems (const std::vector< SlipSystem > &) |
| set the behaviour slip systems | |
| *return the slip systemss const SlipSystemsDescription & | getSlipSystems () const |
| void | setInteractionMatrix (const std::vector< long double > &) |
| set the interaction matrix. | |
| InteractionMatrixStructure | getInteractionMatrixStructure () const |
| return the interaction matrix structure. | |
| bool | hasInteractionMatrix () const |
| return true if an interaction matrix is defined. | |
| bool | hasDislocationsMeanFreePathInteractionMatrix () const |
| return true if an interaction matrix is defined. | |
| void | setDislocationsMeanFreePathInteractionMatrix (const std::vector< long double > &) |
| set the interaction matrix. | |
| bool | isMaterialPropertyConstantDuringTheTimeStep (const MaterialProperty &) const |
| bool | isMaterialPropertyDependantOnStateVariables (const MaterialProperty &) const |
| *return registred models const std::vector< std::variant< ModelDescription, ExternalModelBasedOnBehaviourVariableFactory > > & | getModelsDescriptions () const |
| *return registred models const std::vector< std::variant< ModelDescription, ExternalModelBasedOnBehaviourVariableFactory > > & | getAuxiliaryModelsDescriptions () const |
| void | setElasticMaterialProperties (const std::vector< MaterialProperty > &) |
| set the elastic material properties | |
| const std::vector< MaterialProperty > & | getElasticMaterialProperties () const |
| std::vector< MaterialPropertyDescription > | getElasticMaterialPropertiesDescriptions () const |
| this method is meant to generate callable material properties when needed. | |
| bool | areElasticMaterialPropertiesDefined () const |
| bool | areElasticMaterialPropertiesConstantDuringTheTimeStep () const |
| bool | areMaterialPropertiesConstantDuringTheTimeStep (const std::vector< MaterialProperty > &) const |
| bool | areElasticMaterialPropertiesDependantOnStateVariables () const |
| bool | areMaterialPropertiesDependantOnStateVariables (const std::vector< MaterialProperty > &) const |
| void | addHillTensor (const VariableDescription &, const std::vector< MaterialProperty > &) |
| add a new Hill tensor | |
| const std::vector< HillTensor > & | getHillTensors () const |
| const BehaviourData & | getBehaviourData (const Hypothesis) const |
| *return true if modelling hypotheses are defined bool | areModellingHypothesesDefined () const |
| const std::set< Hypothesis > & | getModellingHypotheses () const |
| std::set< Hypothesis > | getDistinctModellingHypotheses () const |
| bool | isModellingHypothesisSupported (const Hypothesis) const |
| void | setModellingHypotheses (const std::set< Hypothesis > &, const bool b=false) |
| set the list of supported modelling hypotheses | |
| void | addMaterialProperties (const Hypothesis, const VariableDescriptionContainer &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| add material properties | |
| void | addParameters (const Hypothesis, const VariableDescriptionContainer &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| add parameters | |
| void | addMaterialProperty (const Hypothesis, const VariableDescription &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| add a material property | |
| void | addIntegrationVariable (const Hypothesis, const VariableDescription &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| add a state variables | |
| void | addIntegrationVariables (const Hypothesis, const VariableDescriptionContainer &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| add state variables | |
| void | addStateVariable (const Hypothesis, const VariableDescription &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| add a state variables | |
| void | addStateVariables (const Hypothesis, const VariableDescriptionContainer &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| add state variables | |
| void | addAuxiliaryStateVariables (const Hypothesis, const VariableDescriptionContainer &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| add auxiliary state variables | |
| void | addAuxiliaryStateVariable (const Hypothesis, const VariableDescription &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| add an auxiliary state variable | |
| bool | isTemperatureDefinedAsTheFirstExternalStateVariable () const |
| void | addExternalStateVariables (const Hypothesis, const VariableDescriptionContainer &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| add external state variables | |
| void | addExternalStateVariable (const Hypothesis, const VariableDescription &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| add external state variable | |
| void | addBehaviourVariable (const BehaviourVariableDescription &) |
| add a behaviour variable | |
| void | addBehaviourVariableFactory (const BehaviourVariableDescription &) |
| add a behaviour variable factory | |
| void | addInitializeFunctionVariables (const Hypothesis, const VariableDescriptionContainer &) |
| add initialize variables | |
| void | addInitializeFunctionVariable (const Hypothesis, const VariableDescription &) |
| add an initialize variable | |
| void | addPostProcessingVariables (const Hypothesis, const VariableDescriptionContainer &) |
| add post-processing variables | |
| void | addPostProcessingVariable (const Hypothesis, const VariableDescription &) |
| add an post-processing variable | |
| void | addLocalVariable (const Hypothesis, const VariableDescription &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| add a local variable | |
| void | addLocalVariables (const Hypothesis, const VariableDescriptionContainer &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| add local variables | |
| void | addStaticVariable (const Hypothesis, const StaticVariableDescription &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| add a static variable | |
| std::map< std::string, int > | getIntegerConstants (const Hypothesis) const |
| int | getIntegerConstant (const Hypothesis, const std::string &) const |
| void | addParameter (const Hypothesis, const VariableDescription &, const BehaviourData::RegistrationStatus=BehaviourData::UNREGISTRED) |
| add a material property | |
| void | setVariableAttribute (const Hypothesis, const std::string &, const std::string &, const VariableAttribute &, const bool) |
| assign an attribute to variable | |
| *return a type suitable for storing stress free expansion std::string | getStressFreeExpansionType () const |
| void | addStressFreeExpansion (const Hypothesis, const StressFreeExpansionDescription &) |
| add a new stress free expansion description | |
| const std::vector< BehaviourData::StressFreeExpansionDescription > & | getStressFreeExpansionDescriptions (const Hypothesis) const |
| bool | isStressFreeExansionAnisotropic (const Hypothesis) const |
| bool | isMaterialPropertyName (const Hypothesis, const std::string &) const |
| bool | isLocalVariableName (const Hypothesis, const std::string &) const |
| bool | isPersistentVariableName (const Hypothesis, const std::string &) const |
| bool | isIntegrationVariableName (const Hypothesis, const std::string &) const |
| bool | isIntegrationVariableIncrementName (const Hypothesis, const std::string &) const |
| bool | isStateVariableName (const Hypothesis, const std::string &) const |
| bool | isStateVariableIncrementName (const Hypothesis, const std::string &) const |
| bool | isAuxiliaryStateVariableName (const Hypothesis, const std::string &) const |
| bool | isExternalStateVariableName (const Hypothesis, const std::string &) const |
| bool | isExternalStateVariableIncrementName (const Hypothesis, const std::string &) const |
| bool | isStaticVariableName (const Hypothesis, const std::string &) const |
| void | requiresTVectorOrVectorIncludes (bool &, bool &) const |
| check if one has to include tvector.hxx or vector.hxx | |
| void | requiresTVectorOrVectorIncludes (bool &, bool &, const BehaviourData &) const |
| check if one has to include tvector.hxx or vector.hxx | |
| bool | areAllMechanicalDataSpecialised () const |
| bool | areAllMechanicalDataSpecialised (const std::set< Hypothesis > &) const |
| bool | hasSpecialisedMechanicalData (const Hypothesis) const |
| void | specialize (const Hypothesis) |
| specialize the given hypothesis | |
| *return true if a stress free expansion has been defined bool | requiresStressFreeExpansionTreatment (const Hypothesis) const |
| *return true if thermal expansion coefficient were defined bool | areThermalExpansionCoefficientsDefined () const |
| *return the thermal expansion coefficients const std::vector< MaterialProperty > & | getThermalExpansionCoefficients () const |
| std::vector< MaterialPropertyDescription > | getThermalExpansionCoefficientsDescriptions () const |
| this method is meant to generate callable material properties when needed. | |
| void | setThermalExpansionCoefficient (MaterialProperty) |
| void | setThermalExpansionCoefficients (MaterialProperty, MaterialProperty, MaterialProperty) |
| std::vector< std::string > | getExternalNames (const Hypothesis, const VarContainer &) const |
| void | getExternalNames (std::vector< std::string > &, const Hypothesis, const VarContainer &) const |
| void | appendExternalNames (std::vector< std::string > &, const Hypothesis, const VarContainer &) const |
| bool | isMemberUsedInCodeBlocks (const Hypothesis, const std::string &) const |
| bool | isParameterName (const Hypothesis, const std::string &) const |
| bool | isInitializeFunctionVariableName (const Hypothesis, const std::string &) const |
| bool | isPostProcessingVariableName (const Hypothesis, const std::string &) const |
| void | setParameterDefaultValue (const Hypothesis, const std::string &, const double) |
| void | setParameterDefaultValue (const Hypothesis, const std::string &, const unsigned short i, const double) |
| void | setParameterDefaultValue (const Hypothesis, const std::string &, const int) |
| void | setParameterDefaultValue (const Hypothesis, const std::string &, const unsigned short) |
| double | getFloattingPointParameterDefaultValue (const Hypothesis, const std::string &) const |
| double | getFloattingPointParameterDefaultValue (const Hypothesis, const std::string &, const unsigned short) const |
| int | getIntegerParameterDefaultValue (const Hypothesis, const std::string &) const |
| unsigned short | getUnsignedShortParameterDefaultValue (const Hypothesis, const std::string &) const |
| void | setGlossaryName (const std::string &, const std::string &) |
| associate a glossary name to a gradient or a thermodynamic force | |
| void | setGlossaryName (const Hypothesis, const std::string &, const std::string &) |
| bool | isGlossaryNameUsed (const Hypothesis, const std::string &) const |
| bool | hasGlossaryName (const Hypothesis, const std::string &) const |
| void | setEntryName (const std::string &, const std::string &) |
| associate a glossary name to a gradient or a thermodynamic force | |
| bool | hasEntryName (const Hypothesis, const std::string &) const |
| void | setEntryName (const Hypothesis, const std::string &, const std::string &) |
| std::string | getExternalName (const Hypothesis h, const std::string &n) const |
| const VariableDescription & | getVariableDescriptionByExternalName (const Hypothesis, const std::string &) const |
| std::string | getVariableNameFromGlossaryNameOrEntryName (const Hypothesis, const std::string &) const |
| bool | isUsedAsEntryName (const Hypothesis, const std::string &) const |
| void | setBounds (const Hypothesis, const std::string &, const VariableBoundsDescription &) |
| add bounds to a variable | |
| void | setBounds (const Hypothesis, const std::string &, const unsigned short, const VariableBoundsDescription &) |
| add bounds to a variable | |
| void | setPhysicalBounds (const Hypothesis, const std::string &, const VariableBoundsDescription &) |
| add physical bounds to a variable | |
| void | setPhysicalBounds (const Hypothesis, const std::string &, const unsigned short, const VariableBoundsDescription &) |
| add physical bounds to a variable | |
| void | declareExternalStateVariableProbablyUnusableInPurelyImplicitResolution (const Hypothesis, const std::string &) |
| declares an external state variable to be probably unusable in a purely implicit resolution. This means that its increment is used somewhere. | |
| void | setUsableInPurelyImplicitResolution (const Hypothesis, const bool) |
| set if this behaviour can be used in a purely implicit resolution. | |
| void | setCode (const Hypothesis, const std::string &, const CodeBlock &, const Mode, const Position, const bool=true) |
| declare or update a code block | |
| std::vector< std::string > | getCodeBlockNames (const Hypothesis) const |
| return the name of the code blocks defined so far | |
| const CodeBlock & | getCodeBlock (const Hypothesis, const std::string &) const |
| std::string | getCode (const Hypothesis, const std::string &) const |
| bool | hasCode (const Hypothesis, const std::string &) const |
| bool | hasParameter (const Hypothesis, const std::string &) const |
| bool | hasParameters (const Hypothesis) const |
| bool | hasParameters () const |
| void | reserveName (const Hypothesis, const std::string &) |
| bool | isNameReserved (const std::string &) const |
| look if a name is reserved | |
| void | registerGlossaryName (const Hypothesis, const std::string &, const std::string &) |
| register the given glossary name | |
| void | registerEntryName (const Hypothesis, const std::string &, const std::string &) |
| register the given entry name | |
| void | registerMemberName (const Hypothesis, const std::string &) |
| void | registerStaticMemberName (const Hypothesis, const std::string &) |
| std::pair< bool, bool > | checkVariableExistence (const std::string &) const |
| check variable existence | |
| std::pair< bool, bool > | checkVariableExistence (const std::string &, const std::string &, const bool=true) const |
| check variable existence for a particular sort of variable. | |
| void | checkVariableGlossaryName (const std::string &, const std::string &) const |
| check variable glossary name. The variable must exists for all modelling hypothesis and have the given glossary name. If not, an exception is thrown. If another variable has the given glossary name, an exception if thrown. | |
| void | checkVariableEntryName (const std::string &, const std::string &) const |
| check variable entry name. The variable must exists for all modelling hypothesis and have the given entry name. If not, an exception is thrown. If another variable has the given entry name, an exception if thrown. | |
| void | checkVariablePosition (const std::string &, const std::string &, const size_t) |
| check a variable position. Throw an exception if this check is not satisfied. | |
| void | getSymbols (std::map< std::string, std::string > &, const Hypothesis) const |
| retrieve all the symbols associated with the declared variables. | |
| template<typename T> requires ( isMaterialKnowledgeAttributeType<T>()) | |
| T & | getAttribute (const std::string_view) |
| template<typename T> requires (isMaterialKnowledgeAttributeType<T>()) | |
| const T & | getAttribute (const std::string_view) const |
| template<typename T> requires (isMaterialKnowledgeAttributeType<T>()) | |
| T | getAttribute (const std::string_view, const T &) const |
| bool | hasAttribute (const std::string_view) const |
| void | setAttribute (const std::string &, const MaterialKnowledgeAttribute &, const bool) |
| insert a new attribute | |
| void | updateAttribute (const std::string_view, const MaterialKnowledgeAttribute &) |
| update an existing new attribute | |
| Public Member Functions inherited from mfront::MaterialKnowledgeDescription | |
| MaterialKnowledgeDescription () | |
| default constructor | |
| MaterialKnowledgeDescription (MaterialKnowledgeDescription &&) noexcept | |
| move constructor | |
| MaterialKnowledgeDescription (const MaterialKnowledgeDescription &) | |
| copy constructor | |
| MaterialKnowledgeDescription & | operator= (const MaterialKnowledgeDescription &) |
| default assignement | |
| MaterialKnowledgeDescription & | operator= (MaterialKnowledgeDescription &&) noexcept |
| move assignement | |
| void | setAttribute (const std::string &, const MaterialKnowledgeAttribute &, const bool) |
| insert a new attribute | |
| void | updateAttribute (const std::string_view, const MaterialKnowledgeAttribute &) |
| update an existing new attribute | |
| bool | hasAttribute (const std::string_view) const |
| template<typename T> requires ( isMaterialKnowledgeAttributeType<T>()) | |
| T & | getAttribute (const std::string_view) |
| template<typename T> requires (isMaterialKnowledgeAttributeType<T>()) | |
| const T & | getAttribute (const std::string_view) const |
| template<typename T> requires (isMaterialKnowledgeAttributeType<T>()) | |
| T | getAttribute (const std::string_view, const T &) const |
| const std::map< std::string, MaterialKnowledgeAttribute, std::less<> > & | getAttributes () const |
| void | addExternalMFrontFile (const std::string_view, const std::vector< std::string > &, const tfel::utilities::DataMap &) |
| add an external MFront file and the list of interfaces used to treat it. | |
| const std::map< std::string, std::tuple< std::vector< std::string >, tfel::utilities::DataMap >, std::less<> > & | getExternalMFrontFiles () const |
| bool | hasUnitSystem () const |
| return if an unit system has been associated to the material knowledge | |
| void | setUnitSystem (const std::string_view) |
| associate an unit system to the material knowledge | |
| const std::string & | getUnitSystem () const |
| associate an unit system to the material knowledge | |
| ~MaterialKnowledgeDescription () | |
| destructor | |
| Public Member Functions inherited from mfront::SupportedTypes | |
| SupportedTypes () | |
| default constructor | |
| SupportedTypes (SupportedTypes &&)=default | |
| move constructor | |
| SupportedTypes (const SupportedTypes &)=default | |
| copy constructor | |
| SupportedTypes & | operator= (SupportedTypes &&)=default |
| move assignement | |
| SupportedTypes & | operator= (const SupportedTypes &)=default |
| copy assignement | |
| virtual | ~SupportedTypes () |
| desctructor | |
Static Public Attributes | |
| static const char *const | automaticDeclarationOfTheTemperatureAsFirstExternalStateVariable |
| standard option and attribute name | |
| static const char *const | modellingHypothesis |
| standard option | |
| static const char *const | modellingHypotheses |
| standard option | |
| static const char *const | internalNamespace |
| standard option and attribute | |
| static const char *const | defaultConstructor |
| standard option and attribute | |
| static const char *const | finalClass |
| standard option and attribute | |
| static const char *const | saveThermalExpansion |
| standard attribute | |
| static constexpr IntegrationScheme | IMPLICITSCHEME |
| a simple alias for backward compatibility | |
| static constexpr IntegrationScheme | EXPLICITSCHEME |
| a simple alias for backward compatibility | |
| static constexpr IntegrationScheme | SPECIFICSCHEME |
| a simple alias for backward compatibility | |
| static constexpr IntegrationScheme | USERDEFINEDSCHEME |
| a simple alias for backward compatibility | |
| static constexpr IntegrationScheme | UNDEFINEDINTEGRATIONSCHEME |
| a simple alias for backward compatibility | |
| static const char *const | requiresStiffnessTensor |
| attribute name | |
| static const char *const | computesStiffnessTensor |
| attribute name | |
| static const char *const | requiresUnAlteredStiffnessTensor |
| attribute name | |
| static const char *const | requiresThermalExpansionCoefficientTensor |
| attribute name | |
| static const char *const | setRequireThermalExpansionCoefficientTensor |
| attribute name | |
| Static Public Attributes inherited from mfront::MaterialKnowledgeDescription | |
| static const char *const | defaultOutOfBoundsPolicy |
| standard option and attribute name | |
| static const char *const | disableRuntimeChecks |
| standard option and attribute name | |
| static const char *const | runtimeModificationOfTheOutOfBoundsPolicy |
| standard option name | |
| static const char *const | parametersAsStaticVariables |
| attribute name | |
| static const char *const | initializeParametersFromFile |
| attribute name | |
| static const char *const | validator |
| attribute name | |
| static const char *const | buildIdentifier |
| attribute name | |
| static const char *const | compatibilityMode |
| attribute name | |
| Static Public Attributes inherited from mfront::SupportedTypes | |
| static constexpr int | ArraySizeLimit = 10u |
| limit for small array support | |
Additional Inherited Members | |
| Static Public Member Functions inherited from mfront::MaterialKnowledgeDescription | |
| static void | throwUndefinedAttribute (const std::string_view) |
| throw an exception saying that no attribute with the given name exists | |
| Static Public Member Functions inherited from mfront::SupportedTypes | |
| static const std::map< std::string, TypeFlag, std::less<> > & | getTypeFlags () |
| static bool | isSupportedConstexprIntegerVariables (const std::string_view) |
| static std::string | extractType (const_iterator &, const const_iterator &, const TypeParsingOptions &=TypeParsingOptions()) |
| static std::string | extractType (const std::string_view, const TypeParsingOptions &=TypeParsingOptions()) |
| static bool | hasTypeFlag (const std::string_view) |
| static bool | isScalarType (const std::string_view) |
| static TypeFlag | getTypeFlag (const std::string_view) |
| static int | getTypeIdentifier (const std::string_view) |
| static TypeSize | getTypeSize (const std::string_view, const unsigned short=1) |
| static std::string | getTimeDerivativeType (const std::string_view) |
| Protected Attributes inherited from mfront::MaterialKnowledgeDescription | |
| std::optional< std::string > | unit_system |
| unit system | |
| std::map< std::string, MaterialKnowledgeAttribute, std::less<> > | attributes |
| behaviour attributes | |
| std::map< std::string, std::tuple< std::vector< std::string >, tfel::utilities::DataMap >, std::less<> > | externalMFrontFiles |
| external mfront files | |
This structure describes a mechanical behaviour
This class handles the fact that the mechanical behaviour data may depend on the modelling hypothesis considered, altough most of the time they won't.
This class thus stores a default mechanical behaviour data which is intendend to be valid for most hypotheses, and specific mechanical behaviour datas when required.
a simple alias
The description of a material property from the point of view of a behaviour.
list of supported material properties types
a simple alias
|
explicit |
constructor
| [in] | opts | options |
| void mfront::BehaviourDescription::addAuxiliaryModelDescription | ( | const BehaviourVariableDescription & | ) |
add an auxiliary model description based on an already declared behaviour variable factory.
| [in] | md | model description |
| void mfront::BehaviourDescription::addAuxiliaryModelDescription | ( | const ModelDescription & | ) |
add an auxiliary model description. All outputs of the model are automatically added as auxiliary state variables
| [in] | md | model description |
| void mfront::BehaviourDescription::addAuxiliaryStateVariable | ( | const Hypothesis | , |
| const VariableDescription & | , | ||
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add an auxiliary state variable
| [in] | h | modelling hypothesis |
| [in] | v | auxiliary state variable added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addAuxiliaryStateVariables | ( | const Hypothesis | , |
| const VariableDescriptionContainer & | , | ||
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add auxiliary state variables
| [in] | h | modelling hypothesis |
| [in] | v | auxiliary state variables added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addBehaviourVariable | ( | const BehaviourVariableDescription & | ) |
add a behaviour variable
| [in] | v | behaviour variable added |
| void mfront::BehaviourDescription::addBehaviourVariableFactory | ( | const BehaviourVariableDescription & | ) |
add a behaviour variable factory
| [in] | v | behaviour variable added |
| void mfront::BehaviourDescription::addExternalStateVariable | ( | const Hypothesis | , |
| const VariableDescription & | , | ||
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add external state variable
| [in] | h | modelling hypothesis |
| [in] | v | external state variable added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addExternalStateVariables | ( | const Hypothesis | , |
| const VariableDescriptionContainer & | , | ||
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add external state variables
| [in] | h | modelling hypothesis |
| [in] | v | external state variables added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addHillTensor | ( | const VariableDescription & | , |
| const std::vector< MaterialProperty > & | ) |
add a new Hill tensor
| [in] | v | variable description |
| [in] | hcs | Hill tensor coefficents |
| void mfront::BehaviourDescription::addInitializeFunction | ( | const Hypothesis | , |
| const std::string & | , | ||
| const CodeBlock & | ) |
add the given initialize function
| [in] | h | hypothesis |
| [in] | n | name of the initialize function |
| [in] | c | code associated with the initialize function |
| void mfront::BehaviourDescription::addInitializeFunctionVariable | ( | const Hypothesis | , |
| const VariableDescription & | ) |
add an initialize variable
| [in] | h | modelling hypothesis |
| [in] | v | auxiliary state variable added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addInitializeFunctionVariables | ( | const Hypothesis | , |
| const VariableDescriptionContainer & | ) |
add initialize variables
| [in] | h | modelling hypothesis |
| [in] | v | initialize variables added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addIntegrationVariable | ( | const Hypothesis | , |
| const VariableDescription & | , | ||
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add a state variables
| [in] | h | modelling hypothesis |
| [in] | v | state variable added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addIntegrationVariables | ( | const Hypothesis | , |
| const VariableDescriptionContainer & | , | ||
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add state variables
| [in] | h | modelling hypothesis |
| [in] | v | state variables added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addLocalDataStructure | ( | const LocalDataStructure & | , |
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add a local data structure
| [in] | lds | local data structure |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addLocalVariable | ( | const Hypothesis | , |
| const VariableDescription & | , | ||
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add a local variable
| [in] | h | modelling hypothesis |
| [in] | v | local variable added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addLocalVariables | ( | const Hypothesis | , |
| const VariableDescriptionContainer & | , | ||
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add local variables
| [in] | h | modelling hypothesis |
| [in] | v | local variables added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addMainVariable | ( | const Gradient & | , |
| const ThermodynamicForce & | ) |
add a new main variable
| void mfront::BehaviourDescription::addMaterialLaw | ( | const std::string & | ) |
add a material law
| [in] | m:material | law |
| void mfront::BehaviourDescription::addMaterialProperties | ( | const Hypothesis | , |
| const VariableDescriptionContainer & | , | ||
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add material properties
| [in] | h | modelling hypothesis |
| [in] | v | material properties added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addMaterialProperty | ( | const Hypothesis | , |
| const VariableDescription & | , | ||
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add a material property
| [in] | h | modelling hypothesis |
| [in] | v | material property added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addModelDescription | ( | const BehaviourVariableDescription & | ) |
add a model description based on an already declared behaviour variable factory.
| [in] | md | model description |
| void mfront::BehaviourDescription::addModelDescription | ( | const ModelDescription & | ) |
add a model description. All outputs of the model are automatically added as auxiliary state variables
| [in] | md | model description |
| void mfront::BehaviourDescription::addParameter | ( | const Hypothesis | , |
| const VariableDescription & | , | ||
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add a material property
| [in] | h | modelling hypothesis |
| [in] | v | parameter |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addParameters | ( | const Hypothesis | , |
| const VariableDescriptionContainer & | , | ||
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add parameters
| [in] | h | modelling hypothesis |
| [in] | v | material properties added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addPostProcessing | ( | const Hypothesis | , |
| const std::string & | , | ||
| const CodeBlock & | ) |
add the given post-processing
| [in] | h | hypothesis |
| [in] | n | name of the post-processing |
| [in] | c | code associated with the post-processing |
| void mfront::BehaviourDescription::addPostProcessingVariable | ( | const Hypothesis | , |
| const VariableDescription & | ) |
add an post-processing variable
| [in] | h | modelling hypothesis |
| [in] | v | auxiliary state variable added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addPostProcessingVariables | ( | const Hypothesis | , |
| const VariableDescriptionContainer & | ) |
add post-processing variables
| [in] | h | modelling hypothesis |
| [in] | v | post-processing variables added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addStateVariable | ( | const Hypothesis | , |
| const VariableDescription & | , | ||
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add a state variables
| [in] | h | modelling hypothesis |
| [in] | v | state variable added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addStateVariables | ( | const Hypothesis | , |
| const VariableDescriptionContainer & | , | ||
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add state variables
| [in] | h | modelling hypothesis |
| [in] | v | state variables added |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addStaticVariable | ( | const Hypothesis | , |
| const StaticVariableDescription & | , | ||
| const BehaviourData::RegistrationStatus | = BehaviourData::UNREGISTRED ) |
add a static variable
| [in] | h | modelling hypothesis |
| [in] | v | static variable |
| [in] | s | registration status |
| void mfront::BehaviourDescription::addStressFreeExpansion | ( | const Hypothesis | , |
| const StressFreeExpansionDescription & | ) |
add a new stress free expansion description
| [in] | h | modelling hypothesis |
| [in] | sfed | stress free expansion description |
| void mfront::BehaviourDescription::addTangentOperatorBlock | ( | const std::string & | ) |
add new block to the tangent operator
| [in] | b | block name |
| void mfront::BehaviourDescription::addTangentOperatorBlocks | ( | const std::vector< std::string > & | ) |
add new blocks to the tangent operator
| [in] | bns | list of blocks names |
| void mfront::BehaviourDescription::appendExternalNames | ( | std::vector< std::string > & | , |
| const Hypothesis | , | ||
| const VarContainer & | ) const |
get the external names associated with the variables contained in the given container
| [out] | n | names |
| [in] | h | modelling Hypothesis |
| [in] | v | variables for which external names are requested |
| void mfront::BehaviourDescription::appendToIncludes | ( | const std::string & | ) |
append the given code to the includes
| [in] | s | includes |
| void mfront::BehaviourDescription::appendToMembers | ( | const Hypothesis | , |
| const std::string & | , | ||
| const bool | ) |
append the given code to the members
| [in] | h | hypothesis |
| [in] | s | members |
| [in] | b | if h is UNDEFINEDHYPOTHIS, propagate to all specialised data |
| void mfront::BehaviourDescription::appendToPrivateCode | ( | const Hypothesis | , |
| const std::string & | , | ||
| const bool | ) |
append the given code to the members
| [in] | h | hypothesis |
| [in] | s | members |
| [in] | b | if h is UNDEFINEDHYPOTHIS, propagate to all specialised data |
| void mfront::BehaviourDescription::appendToSources | ( | const std::string & | ) |
append the given code to the sources
| [in] | s | sources |
| bool mfront::BehaviourDescription::areAllMechanicalDataSpecialised | ( | ) | const |
| bool mfront::BehaviourDescription::areAllMechanicalDataSpecialised | ( | const std::set< Hypothesis > & | ) | const |
| [in] | h | modelling hypotheses considered |
| bool mfront::BehaviourDescription::areDynamicallyAllocatedVectorsAllowed | ( | ) | const |
| bool mfront::BehaviourDescription::areElasticMaterialPropertiesConstantDuringTheTimeStep | ( | ) | const |
| bool mfront::BehaviourDescription::areElasticMaterialPropertiesDefined | ( | ) | const |
| bool mfront::BehaviourDescription::areElasticMaterialPropertiesDependantOnStateVariables | ( | ) | const |
| bool mfront::BehaviourDescription::areMaterialPropertiesConstantDuringTheTimeStep | ( | const std::vector< MaterialProperty > & | ) | const |
| [in] | mps | list of material properties |
| bool mfront::BehaviourDescription::areMaterialPropertiesDependantOnStateVariables | ( | const std::vector< MaterialProperty > & | ) | const |
| [in] | mps | list of material properties |
| void mfront::BehaviourDescription::checkVariableEntryName | ( | const std::string & | , |
| const std::string & | ) const |
check variable entry name. The variable must exists for all modelling hypothesis and have the given entry name. If not, an exception is thrown. If another variable has the given entry name, an exception if thrown.
| [in] | v | variable name |
| [in] | g | entry name |
| std::pair< bool, bool > mfront::BehaviourDescription::checkVariableExistence | ( | const std::string & | ) | const |
check variable existence
| [in] | v | : variable name |
| std::pair< bool, bool > mfront::BehaviourDescription::checkVariableExistence | ( | const std::string & | , |
| const std::string & | , | ||
| const bool | = true ) const |
check variable existence for a particular sort of variable.
| [in] | v | variable name |
| [in] | c | variable category |
| [in] | b | if true, an exception is thrown if the variable is not found for one of the distinct modelling hypotheses |
| void mfront::BehaviourDescription::checkVariableGlossaryName | ( | const std::string & | , |
| const std::string & | ) const |
check variable glossary name. The variable must exists for all modelling hypothesis and have the given glossary name. If not, an exception is thrown. If another variable has the given glossary name, an exception if thrown.
| [in] | v | variable name |
| [in] | g | glossary name |
| void mfront::BehaviourDescription::checkVariablePosition | ( | const std::string & | , |
| const std::string & | , | ||
| const size_t | ) |
check a variable position. Throw an exception if this check is not satisfied.
| [in] | v | variable name |
| [in] | c | variable category |
| [in] | p | variable position |
| void mfront::BehaviourDescription::completeVariableDeclaration | ( | ) |
complete the declaration of variables
| std::string mfront::BehaviourDescription::computeTangentOperatorSize | ( | ) | const |
| void mfront::BehaviourDescription::declareAsAFiniteStrainStandardBehaviour | ( | const bool | ) |
set the behaviour to be a finite strain standard behaviour
| [in] | b | if true, declare F and dF as members |
| void mfront::BehaviourDescription::declareExternalStateVariableProbablyUnusableInPurelyImplicitResolution | ( | const Hypothesis | , |
| const std::string & | ) |
declares an external state variable to be probably unusable in a purely implicit resolution. This means that its increment is used somewhere.
The term "probably" refers to the fact that it may happens that the increment is only used to get the value of the external state variable at a given date. For example, in a standard resolution (non implicit), the value of (T+\theta\,\Delta\,T) gives the temperature value at (t+\theta\,\Delta\,t). However, this expression is still valid in a purely implicit resolution.
| [in] | h | modelling hypothesis |
| [in] | n | variable name |
| const T & mfront::BehaviourDescription::getAttribute | ( | const Hypothesis | h, |
| const std::string & | n ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| T mfront::BehaviourDescription::getAttribute | ( | const Hypothesis | h, |
| const std::string & | n, | ||
| const T & | v ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| [in] | v | default value |
|
nodiscard |
| [in] | n | : name |
|
nodiscard |
| [in] | n | : name |
|
nodiscard |
| [in] | n | name |
| [in] | v | default value if the attribute is not defined |
| const BehaviourData & mfront::BehaviourDescription::getBehaviourData | ( | const Hypothesis | ) | const |
| [in] | h | modelling hypothesis |
| std::string mfront::BehaviourDescription::getBehaviourDataFileName | ( | ) | const |
| std::string mfront::BehaviourDescription::getBehaviourFileName | ( | ) | const |
| const std::string & mfront::BehaviourDescription::getBehaviourName | ( | ) | const |
| const std::string & mfront::BehaviourDescription::getClassName | ( | ) | const |
| std::string mfront::BehaviourDescription::getCode | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| const CodeBlock & mfront::BehaviourDescription::getCodeBlock | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| std::vector< std::string > mfront::BehaviourDescription::getCodeBlockNames | ( | const Hypothesis | ) | const |
return the name of the code blocks defined so far
| [in] | h | modelling hypothesis |
| std::set< Hypothesis > mfront::BehaviourDescription::getDistinctModellingHypotheses | ( | ) | const |
This method returns, among all the supported modelling hypotheses (see getModellingHypotheses), the ones which have specialised mechanical data and, if at least one modelling hypothesis has no specialisation, UNDEFINEDHYPOTHESIS.
This method has been introduced for iteration purpose in behaviour dsls.
| const std::string & mfront::BehaviourDescription::getDSLName | ( | ) | const |
| const std::vector< MaterialProperty > & mfront::BehaviourDescription::getElasticMaterialProperties | ( | ) | const |
| std::vector< MaterialPropertyDescription > mfront::BehaviourDescription::getElasticMaterialPropertiesDescriptions | ( | ) | const |
this method is meant to generate callable material properties when needed.
| std::string mfront::BehaviourDescription::getExternalName | ( | const Hypothesis | h, |
| const std::string & | n ) const |
get the glossary name or the entry name of a variable
| [in] | h | modelling Hypothesis |
| [in] | n | variable name |
| std::vector< std::string > mfront::BehaviourDescription::getExternalNames | ( | const Hypothesis | , |
| const VarContainer & | ) const |
| [in] | h | modelling Hypothesis |
| [in] | v | variables for which external names are requested |
| void mfront::BehaviourDescription::getExternalNames | ( | std::vector< std::string > & | , |
| const Hypothesis | , | ||
| const VarContainer & | ) const |
get the external names associated with the variables contained in the given container
| [out] | n | names |
| [in] | h | modelling Hypothesis |
| [in] | v | variables for which external names are requested |
| double mfront::BehaviourDescription::getFloattingPointParameterDefaultValue | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | v | parameter default value |
| double mfront::BehaviourDescription::getFloattingPointParameterDefaultValue | ( | const Hypothesis | , |
| const std::string & | , | ||
| const unsigned short | ) const |
| [in] | h | modelling hypothesis |
| [in] | v | parameter default value |
| [in] | i | index |
| std::string mfront::BehaviourDescription::getFullClassName | ( | ) | const |
| const Gradient & mfront::BehaviourDescription::getGradient | ( | const std::string & | ) | const |
| [in] | n | name |
| const Gradient & mfront::BehaviourDescription::getGradientByExternalName | ( | const std::string & | ) | const |
| [in] | n | name |
| const std::vector< HillTensor > & mfront::BehaviourDescription::getHillTensors | ( | ) | const |
| const std::string & mfront::BehaviourDescription::getIncludes | ( | ) | const |
| int mfront::BehaviourDescription::getIntegerConstant | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | variable name |
| std::map< std::string, int > mfront::BehaviourDescription::getIntegerConstants | ( | const Hypothesis | ) | const |
| [in] | h | modelling hypothesis |
| int mfront::BehaviourDescription::getIntegerParameterDefaultValue | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | v | parameter default value |
| std::string mfront::BehaviourDescription::getIntegrationDataFileName | ( | ) | const |
| InteractionMatrixStructure mfront::BehaviourDescription::getInteractionMatrixStructure | ( | ) | const |
return the interaction matrix structure.
| std::string mfront::BehaviourDescription::getInternalNamespace | ( | ) | const |
| const std::string & mfront::BehaviourDescription::getLibrary | ( | ) | const |
| const std::vector< std::pair< Gradient, ThermodynamicForce > > & mfront::BehaviourDescription::getMainVariables | ( | ) | const |
| std::pair< SupportedTypes::TypeSize, SupportedTypes::TypeSize > mfront::BehaviourDescription::getMainVariablesSize | ( | ) | const |
| const std::vector< std::string > & mfront::BehaviourDescription::getMaterialLaws | ( | ) | const |
| const std::string & mfront::BehaviourDescription::getMaterialName | ( | ) | const |
| MaterialPropertyInput mfront::BehaviourDescription::getMaterialPropertyInput | ( | const std::string & | , |
| const bool | = true ) const |
| [in] | n | variable name |
| [in] | b | if true, the modelling hypotheses must be defined. In this case, inputs are searched in the BehaviourData associed with each modelling hypothesis and consistency of the definition of each input is checked. If false, all inputs are searched in the root BehaviourData only (the one associated with UNDEFINEDHYPOTESIS). |
| std::vector< MaterialPropertyInput > mfront::BehaviourDescription::getMaterialPropertyInputs | ( | const MaterialPropertyDescription & | , |
| const bool | = true ) const |
| [in] | mpd | material property description |
| [in] | b | if true, the modelling hypotheses must be defined. In this case, inputs are searched in the BehaviourData associed with each modelling hypothesis and consistency of the definition of each input is checked. If false, all inputs are searched in the root BehaviourData only (the one associated with UNDEFINEDHYPOTESIS). |
| std::vector< MaterialPropertyInput > mfront::BehaviourDescription::getMaterialPropertyInputs | ( | const std::vector< std::string > & | , |
| const bool | = true ) const |
| [in] | i | list of variables used to evaluate the material property. |
| [in] | b | if true, the modelling hypotheses must be defined. In this case, inputs are searched in the BehaviourData associed with each modelling hypothesis and consistency of the definition of each input is checked. If false, all inputs are searched in the root BehaviourData only (the one associated with UNDEFINEDHYPOTESIS). |
| std::string mfront::BehaviourDescription::getMembers | ( | const Hypothesis | ) | const |
| const std::set< Hypothesis > & mfront::BehaviourDescription::getModellingHypotheses | ( | ) | const |
| OrthotropicAxesConvention mfront::BehaviourDescription::getOrthotropicAxesConvention | ( | ) | const |
| std::map< std::string, double > mfront::BehaviourDescription::getOverridenParameters | ( | ) | const |
| std::string mfront::BehaviourDescription::getPrivateCode | ( | const Hypothesis | ) | const |
| [in] | h | hypothesis |
| std::string mfront::BehaviourDescription::getSlipSystemHeaderFileName | ( | ) | const |
| std::string mfront::BehaviourDescription::getSlipSystemImplementationFileName | ( | ) | const |
| const std::string & mfront::BehaviourDescription::getSources | ( | ) | const |
| std::string mfront::BehaviourDescription::getSrcFileName | ( | ) | const |
| StrainMeasure mfront::BehaviourDescription::getStrainMeasure | ( | ) | const |
| const std::vector< BehaviourData::StressFreeExpansionDescription > & mfront::BehaviourDescription::getStressFreeExpansionDescriptions | ( | const Hypothesis | ) | const |
| [in] | h | modelling hypothesis |
| void mfront::BehaviourDescription::getSymbols | ( | std::map< std::string, std::string > & | , |
| const Hypothesis | ) const |
retrieve all the symbols associated with the declared variables.
| [out] | symbols | map between symbols and replacement strings |
| [in] | h | modelling hypothesis |
| std::string mfront::BehaviourDescription::getTangentOperatorBlockName | ( | const std::pair< VariableDescription, VariableDescription > & | ) | const |
| [in] | block | tangent operator block |
| std::vector< std::pair< VariableDescription, VariableDescription > > mfront::BehaviourDescription::getTangentOperatorBlocks | ( | ) | const |
| std::string mfront::BehaviourDescription::getTangentOperatorBlockSymbolicName | ( | const std::pair< VariableDescription, VariableDescription > & | ) | const |
| [in] | block | tangent operator block |
| std::string mfront::BehaviourDescription::getTangentOperatorType | ( | ) | const |
| std::vector< MaterialPropertyDescription > mfront::BehaviourDescription::getThermalExpansionCoefficientsDescriptions | ( | ) | const |
this method is meant to generate callable material properties when needed.
| const ThermodynamicForce & mfront::BehaviourDescription::getThermodynamicForce | ( | const std::string & | ) | const |
| [in] | n | name |
| const ThermodynamicForce & mfront::BehaviourDescription::getThermodynamicForceByExternalName | ( | const std::string & | ) | const |
| [in] | n | name |
| unsigned short mfront::BehaviourDescription::getUnsignedShortParameterDefaultValue | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | v | parameter default value |
| const VariableDescription & mfront::BehaviourDescription::getVariableDescriptionByExternalName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling Hypothesis |
| [in] | n | name |
| std::string mfront::BehaviourDescription::getVariableNameFromGlossaryNameOrEntryName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling Hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::hasAttribute | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
|
nodiscard |
| [in] | n | : name |
| bool mfront::BehaviourDescription::hasCode | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::hasCrystalStructure | ( | ) | const |
| bool mfront::BehaviourDescription::hasDislocationsMeanFreePathInteractionMatrix | ( | ) | const |
return true if an interaction matrix is defined.
| bool mfront::BehaviourDescription::hasEntryName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::hasGlossaryName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::hasInteractionMatrix | ( | ) | const |
return true if an interaction matrix is defined.
| bool mfront::BehaviourDescription::hasParameter | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::hasParameters | ( | ) | const |
| bool mfront::BehaviourDescription::hasParameters | ( | const Hypothesis | ) | const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::hasSpecialisedMechanicalData | ( | const Hypothesis | ) | const |
| [in] | h | modelling hypothesis considered |
| bool mfront::BehaviourDescription::hasTangentOperator | ( | ) | const |
| bool mfront::BehaviourDescription::hasTrivialTangentOperatorStructure | ( | ) | const |
| bool mfront::BehaviourDescription::isAuxiliaryStateVariableName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::isBehaviourNameDefined | ( | ) | const |
| bool mfront::BehaviourDescription::isExternalStateVariableIncrementName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::isExternalStateVariableName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::isFinal | ( | ) | const |
| bool mfront::BehaviourDescription::isGlossaryNameUsed | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling Hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::isInitializeFunctionVariableName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::isIntegrationVariableIncrementName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::isIntegrationVariableName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::isLocalVariableName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::isMaterialPropertyConstantDuringTheTimeStep | ( | const MaterialProperty & | ) | const |
| [in] | mp | material property |
| bool mfront::BehaviourDescription::isMaterialPropertyDependantOnStateVariables | ( | const MaterialProperty & | ) | const |
| [in] | mp | material property |
| bool mfront::BehaviourDescription::isMaterialPropertyName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::isMemberUsedInCodeBlocks | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
|
noexcept |
A behaviour is considered as a model if its behaviour type is GENERALBEHAVIOUR and if it does not declared any gradient nor thermodynamic force.
| bool mfront::BehaviourDescription::isModellingHypothesisSupported | ( | const Hypothesis | ) | const |
| [in] | h | modelling hypothesis |
| bool mfront::BehaviourDescription::isNameReserved | ( | const std::string & | ) | const |
look if a name is reserved
| [in] | n | name |
| bool mfront::BehaviourDescription::isParameterName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::isPersistentVariableName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::isPostProcessingVariableName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::isStateVariableIncrementName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::isStateVariableName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::isStaticVariableName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling hypothesis |
| [in] | n | name |
| bool mfront::BehaviourDescription::isStrainMeasureDefined | ( | ) | const |
| bool mfront::BehaviourDescription::isStressFreeExansionAnisotropic | ( | const Hypothesis | ) | const |
| [in] | h | modelling hypothesis |
| bool mfront::BehaviourDescription::isTemperatureDefinedAsTheFirstExternalStateVariable | ( | ) | const |
| bool mfront::BehaviourDescription::isUsedAsEntryName | ( | const Hypothesis | , |
| const std::string & | ) const |
| [in] | h | modelling Hypothesis |
| [in] | n | name |
| void mfront::BehaviourDescription::overrideByAParameter | ( | const std::string & | , |
| const double | ) |
specify that the given variable must be overriden by a parameter when declared.
| [in] | n | variable name |
| [in] | v | variable value |
| void mfront::BehaviourDescription::registerEntryName | ( | const Hypothesis | , |
| const std::string & | , | ||
| const std::string & | ) |
register the given entry name
| [in] | h | hypothesis |
| [in] | n | variable name |
| [in] | e | entry name |
| void mfront::BehaviourDescription::registerGlossaryName | ( | const Hypothesis | , |
| const std::string & | , | ||
| const std::string & | ) |
register the given glossary name
| [in] | h | hypothesis |
| [in] | n | variable name |
| [in] | g | glossary name |
| void mfront::BehaviourDescription::registerMemberName | ( | const Hypothesis | , |
| const std::string & | ) |
register the given member name
| [in] | h | hypothesis |
| [in] | n | variable name |
| void mfront::BehaviourDescription::registerStaticMemberName | ( | const Hypothesis | , |
| const std::string & | ) |
register the given static member name
| [in] | h | hypothesis |
| [in] | n | variable name |
| void mfront::BehaviourDescription::requiresTVectorOrVectorIncludes | ( | bool & | , |
| bool & | ) const |
check if one has to include tvector.hxx or vector.hxx
| [in] | b1 | requires true if one has to include tvector.hxx |
| [in] | b2 | requires true if one has to include vector.hxx |
| void mfront::BehaviourDescription::requiresTVectorOrVectorIncludes | ( | bool & | , |
| bool & | , | ||
| const BehaviourData & | ) const |
check if one has to include tvector.hxx or vector.hxx
| [in] | d | behaviour data |
| [in] | b1 | requires true if one has to include tvector.hxx |
| [in] | b2 | requires true if one has to include vector.hxx |
| void mfront::BehaviourDescription::reserveName | ( | const Hypothesis | , |
| const std::string & | ) |
reserve the given name
| [in] | h | hypothesis |
| [in] | n | variable name |
| bool mfront::BehaviourDescription::saveDualStress | ( | ) | const |
| bool mfront::BehaviourDescription::saveStrainMeasure | ( | ) | const |
| void mfront::BehaviourDescription::setAttribute | ( | const Hypothesis | , |
| const std::string & | , | ||
| const MaterialKnowledgeAttribute & | , | ||
| const bool | = false ) |
set a mechanical attribute
| [in] | h | modelling hypothesis |
| [in] | n | name |
| [in] | a | attribute |
| [in] | b | don't throw if the the attribute already exists. The attribute is left unchanged. However the type of the attribute is checked. |
| void mfront::MaterialKnowledgeDescription::setAttribute | ( | const std::string & | , |
| const MaterialKnowledgeAttribute & | , | ||
| const bool | ) |
insert a new attribute
| [in] | n | : name |
| [in] | a | : attribute |
| [in] | b | : don't throw if the the attribute already exists. The attribute is left unchanged. However the type of the attribute is checked. |
| void mfront::BehaviourDescription::setBehaviourName | ( | const std::string & | ) |
set the behaviour name
| [in] | b | behaviour name |
| void mfront::BehaviourDescription::setBounds | ( | const Hypothesis | , |
| const std::string & | , | ||
| const unsigned short | , | ||
| const VariableBoundsDescription & | ) |
add bounds to a variable
| [in] | h | modelling hypothesis |
| [in] | n | variable name |
| [in] | i | index (for array of variables) |
| [in] | b | bounds description |
| void mfront::BehaviourDescription::setBounds | ( | const Hypothesis | , |
| const std::string & | , | ||
| const VariableBoundsDescription & | ) |
add bounds to a variable
| [in] | h | modelling hypothesis |
| [in] | n | variable name |
| [in] | b | bounds description |
| void mfront::BehaviourDescription::setClassName | ( | const std::string & | ) |
set the class name
| [in] | n | class name |
| void mfront::BehaviourDescription::setCode | ( | const Hypothesis | , |
| const std::string & | , | ||
| const CodeBlock & | , | ||
| const Mode | , | ||
| const Position | , | ||
| const bool | = true ) |
declare or update a code block
| [in] | h | modelling hypothesis |
| [in] | n | name |
| [in] | c | code |
| [in] | m | mode |
| [in] | p | position |
| [in] | b | if true, the code can be overriden or completed |
| void mfront::BehaviourDescription::setCrystalStructure | ( | const CrystalStructure | ) |
set the crystal structure
| [in] | cs | crystal structure |
| void mfront::BehaviourDescription::setCrystalStructure | ( | const CrystalStructure | , |
| const long double | ) |
set the crystal structure
| [in] | cs | crystal structure, which must be HCP |
| [in] | r | c/a ratio |
| void mfront::BehaviourDescription::setDislocationsMeanFreePathInteractionMatrix | ( | const std::vector< long double > & | ) |
set the interaction matrix.
| [in] | m | interaction matrix |
| void mfront::BehaviourDescription::setDSLName | ( | const std::string & | ) |
set the dsl name
| [in] | b | dsl name |
| void mfront::BehaviourDescription::setElasticMaterialProperties | ( | const std::vector< MaterialProperty > & | ) |
set the elastic material properties
| [in] | emps | elastic material properties |
| void mfront::BehaviourDescription::setEntryName | ( | const Hypothesis | , |
| const std::string & | , | ||
| const std::string & | ) |
associate an entry name to a variable
| [in] | h | modelling Hypothesis |
| [in] | n | variable name |
| [in] | e | entry name |
| void mfront::BehaviourDescription::setEntryName | ( | const std::string & | , |
| const std::string & | ) |
associate a glossary name to a gradient or a thermodynamic force
| [in] | n | variable name |
| [in] | e | entry name |
| void mfront::BehaviourDescription::setGlossaryName | ( | const Hypothesis | , |
| const std::string & | , | ||
| const std::string & | ) |
associate a glossary name to a variable
| [in] | h | modelling Hypothesis |
| [in] | n | variable name |
| [in] | g | glossary name |
| void mfront::BehaviourDescription::setGlossaryName | ( | const std::string & | , |
| const std::string & | ) |
associate a glossary name to a gradient or a thermodynamic force
| [in] | n | variable name |
| [in] | g | glossary name |
| void mfront::BehaviourDescription::setIntegrationScheme | ( | const IntegrationScheme | ) |
disable the usage of quantities if not already specified.
`
This method shall be called before reading the first type of a variable. It is also automatically called by the useQt method if the usage of quantities is not already specified. */ void disableQuantitiesUsageIfNotAlreadySet() const;
void setUseQt(const bool);
bool isGradientName(const std::string&) const;
bool isGradientExternalName(const std::string&) const;
bool isGradientIncrementName(const std::string&) const;
bool isNameOfAGradientAtTheBeginningOfTheTimeStep(const std::string&) const;
bool isNameOfAGradientAtTheEndOfTheTimeStep(const std::string&) const;
bool isThermodynamicForceName(const std::string&) const;
bool isThermodynamicForceExternalName(const std::string&) const;
set the integration scheme
| [in] | s | integration scheme |
| void mfront::BehaviourDescription::setInteractionMatrix | ( | const std::vector< long double > & | ) |
set the interaction matrix.
| [in] | m | interaction matrix |
| void mfront::BehaviourDescription::setLibrary | ( | const std::string & | ) |
set the library name
| [in] | l | library name |
| void mfront::BehaviourDescription::setMaterialName | ( | const std::string & | ) |
set the material name
| [in] | m | material name |
| void mfront::BehaviourDescription::setModellingHypotheses | ( | const std::set< Hypothesis > & | , |
| const bool | b = false ) |
set the list of supported modelling hypotheses
| [in] | h | supported modelling hypotheses |
| [in] | b | parameter used if some modelling hypotheses are already defined. In this case:
|
| void mfront::BehaviourDescription::setOrthotropicAxesConvention | ( | const OrthotropicAxesConvention | ) |
set the orthotropic axes convention.
| [in] | c | new value for the orthotropic axes convention. |
| void mfront::BehaviourDescription::setParameterDefaultValue | ( | const Hypothesis | , |
| const std::string & | , | ||
| const double | ) |
| [in] | h | modelling hypothesis |
| [in] | n | parameter name |
| [in] | v | parameter default value |
| void mfront::BehaviourDescription::setParameterDefaultValue | ( | const Hypothesis | , |
| const std::string & | , | ||
| const int | ) |
| [in] | h | modelling hypothesis |
| [in] | n | parameter name |
| [in] | v | parameter default value |
| void mfront::BehaviourDescription::setParameterDefaultValue | ( | const Hypothesis | , |
| const std::string & | , | ||
| const unsigned short | i, | ||
| const double | ) |
| [in] | h | modelling hypothesis |
| [in] | n | parameter name |
| [in] | i | index |
| [in] | v | parameter default value |
| void mfront::BehaviourDescription::setParameterDefaultValue | ( | const Hypothesis | , |
| const std::string & | , | ||
| const unsigned short | ) |
| [in] | h | modelling hypothesis |
| [in] | n | parameter name |
| [in] | v | parameter default value |
| void mfront::BehaviourDescription::setPhysicalBounds | ( | const Hypothesis | , |
| const std::string & | , | ||
| const unsigned short | , | ||
| const VariableBoundsDescription & | ) |
add physical bounds to a variable
| [in] | h | modelling hypothesis |
| [in] | n | variable name |
| [in] | i | index (for array of variables) |
| [in] | b | bounds description |
| void mfront::BehaviourDescription::setPhysicalBounds | ( | const Hypothesis | , |
| const std::string & | , | ||
| const VariableBoundsDescription & | ) |
add physical bounds to a variable
| [in] | h | modelling hypothesis |
| [in] | n | variable name |
| [in] | b | bounds description |
| void mfront::BehaviourDescription::setSaveDualStress | ( | const bool | ) |
set if the dual stress shall be save
| [in] | b | boolean |
| void mfront::BehaviourDescription::setSaveStrainMeasure | ( | const bool | ) |
set if the strain measure shall be save
| [in] | b | boolean |
| void mfront::BehaviourDescription::setSlipSystems | ( | const std::vector< SlipSystem > & | ) |
set the behaviour slip systems
| [in] | gss | slip systems |
| void mfront::BehaviourDescription::setStrainMeasure | ( | const StrainMeasure | ) |
set the strain measure to be used
| [in] | m | measure |
| void mfront::BehaviourDescription::setTangentOperatorBlocks | ( | const std::vector< std::string > & | ) |
set the tangent operator blocks and disable the use of the default blocks.
| [in] | bns | list of blocks names |
| void mfront::BehaviourDescription::setThermalExpansionCoefficient | ( | MaterialProperty | ) |
set the behaviour thermal expansion coefficient (isotropic behaviour)
| [in] | a | thermal expansion |
| void mfront::BehaviourDescription::setThermalExpansionCoefficients | ( | MaterialProperty | , |
| MaterialProperty | , | ||
| MaterialProperty | ) |
set the behaviour thermal expansions coefficient (orthotropic behaviour)
| [in] | a1 | thermal expansion in the first direction |
| [in] | a2 | thermal expansion in the second direction |
| [in] | a3 | thermal expansion in the third direction |
| void mfront::BehaviourDescription::setUsableInPurelyImplicitResolution | ( | const Hypothesis | , |
| const bool | ) |
set if this behaviour can be used in a purely implicit resolution.
| [in] | h | modelling hypothesis |
| [in] | b | new value of the usableInPurelyImplicitResolution member |
| void mfront::BehaviourDescription::setVariableAttribute | ( | const Hypothesis | , |
| const std::string & | , | ||
| const std::string & | , | ||
| const VariableAttribute & | , | ||
| const bool | ) |
assign an attribute to variable
| [in] | h | modelling hypothesis |
| [in] | v | variable name |
| [in] | n | attribute name |
| [in] | a | attribute |
| [in] | b | don't throw if the attribute already exists. In this case, the attribute is left unchanged. However the type of the attribute is checked. |
| bool mfront::BehaviourDescription::shallDefineDefaultConstructor | ( | ) | const |
| void mfront::BehaviourDescription::specialize | ( | const Hypothesis | ) |
specialize the given hypothesis
| [in] | h | modelling hypothesis considered |
| void mfront::BehaviourDescription::updateAttribute | ( | const Hypothesis | , |
| const std::string & | , | ||
| const MaterialKnowledgeAttribute & | ) |
update an attribute
| [in] | h | modelling hypothesis |
| [in] | n | name |
| [in] | a | attribute |
| void mfront::MaterialKnowledgeDescription::updateAttribute | ( | const std::string_view | , |
| const MaterialKnowledgeAttribute & | ) |
update an existing new attribute
| [in] | n | name |
| [in] | a | attribute |
| bool mfront::BehaviourDescription::useDynamicallyAllocatedVector | ( | const unsigned short | ) | const |
| bool mfront::BehaviourDescription::useQt | ( | ) | const |
|
staticconstexpr |
a simple alias for backward compatibility
|
staticconstexpr |
a simple alias for backward compatibility
|
staticconstexpr |
a simple alias for backward compatibility
|
staticconstexpr |
a simple alias for backward compatibility
|
staticconstexpr |
a simple alias for backward compatibility