MGIS
Loading...
Searching...
No Matches
mgis::LibrariesManager Struct Reference

structure in charge of handling libraries and querying MGIS' meta-data More...

#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/LibrariesManager.hxx>

Public Types

using libhandler = void *
 a simple alias
 
using Hypothesis = mgis::behaviour::Hypothesis
 a simple alias
 

Public Member Functions

 LibrariesManager (LibrariesManager &&)=delete
 
 LibrariesManager (const LibrariesManager &)=delete
 
LibrariesManageroperator= (LibrariesManager &&)=delete
 
LibrariesManageroperator= (const LibrariesManager &)=delete
 
std::string getTFELVersion (const std::string &, const std::string &)
 
std::string getUnitSystem (const std::string &, const std::string &)
 
unsigned short getAPIVersion (const std::string &, const std::string &)
 
unsigned short getMaterialKnowledgeType (const std::string &, const std::string &)
 
std::string getInterface (const std::string &, const std::string &)
 
std::string getAuthor (const std::string &, const std::string &)
 
std::string getDate (const std::string &, const std::string &)
 
std::string getValidator (const std::string &, const std::string &)
 
std::string getBuildIdentifier (const std::string &, const std::string &)
 
std::string getSource (const std::string &, const std::string &)
 
mgis::material_property::MaterialPropertyFctPtr getMaterialProperty (const std::string &, const std::string &)
 
std::string getMaterialPropertyOutputName (const std::string &, const std::string &)
 
std::vector< std::string > getMaterialPropertyInputsNames (const std::string &, const std::string &)
 
mgis::behaviour::BehaviourFctPtr getBehaviour (const std::string &, const std::string &, const Hypothesis)
 
std::vector< std::string > getBehaviourInitializeFunctions (const std::string &, const std::string &, const Hypothesis)
 
mgis::behaviour::BehaviourInitializeFctPtr getBehaviourInitializeFunction (const std::string &, const std::string &, const std::string &, const Hypothesis)
 
std::vector< std::string > getBehaviourInitializeFunctionInputsNames (const std::string &, const std::string &, const std::string &, const Hypothesis)
 
std::vector< int > getBehaviourInitializeFunctionInputsTypes (const std::string &, const std::string &, const std::string &, const Hypothesis)
 
std::vector< std::string > getBehaviourPostProcessings (const std::string &, const std::string &, const Hypothesis)
 
mgis::behaviour::BehaviourPostProcessingFctPtr getBehaviourPostProcessing (const std::string &, const std::string &, const std::string &, const Hypothesis)
 
std::vector< std::string > getBehaviourPostProcessingOutputsNames (const std::string &, const std::string &, const std::string &, const Hypothesis)
 
std::vector< int > getBehaviourPostProcessingOutputsTypes (const std::string &, const std::string &, const std::string &, const Hypothesis)
 
mgis::behaviour::RotateBehaviourGradientsFctPtr getRotateBehaviourGradientsFunction (const std::string &, const std::string &, const Hypothesis)
 
mgis::behaviour::RotateArrayOfBehaviourGradientsFctPtr getRotateArrayOfBehaviourGradientsFunction (const std::string &, const std::string &, const Hypothesis)
 
mgis::behaviour::RotateBehaviourThermodynamicForcesFctPtr getRotateBehaviourThermodynamicForcesFunction (const std::string &, const std::string &, const Hypothesis)
 
mgis::behaviour::RotateArrayOfBehaviourThermodynamicForcesFctPtr getRotateArrayOfBehaviourThermodynamicForcesFunction (const std::string &, const std::string &, const Hypothesis)
 
mgis::behaviour::RotateBehaviourThermodynamicForcesFctPtr getRotateBehaviourThermodynamicForcesFunction (const std::string &, const std::string &, const Hypothesis, const mgis::behaviour::FiniteStrainBehaviourOptions::StressMeasure)
 
mgis::behaviour::RotateArrayOfBehaviourThermodynamicForcesFctPtr getRotateArrayOfBehaviourThermodynamicForcesFunction (const std::string &, const std::string &, const Hypothesis, const mgis::behaviour::FiniteStrainBehaviourOptions::StressMeasure)
 
mgis::behaviour::RotateBehaviourTangentOperatorBlocksFctPtr getRotateBehaviourTangentOperatorBlocksFunction (const std::string &, const std::string &, const Hypothesis)
 
mgis::behaviour::RotateArrayOfBehaviourTangentOperatorBlocksFctPtr getRotateArrayOfBehaviourTangentOperatorBlocksFunction (const std::string &, const std::string &, const Hypothesis)
 
mgis::behaviour::RotateBehaviourTangentOperatorBlocksFctPtr getRotateBehaviourTangentOperatorBlocksFunction (const std::string &, const std::string &, const Hypothesis, const mgis::behaviour::FiniteStrainBehaviourOptions::TangentOperator)
 
mgis::behaviour::RotateArrayOfBehaviourTangentOperatorBlocksFctPtr getRotateArrayOfBehaviourTangentOperatorBlocksFunction (const std::string &, const std::string &, const Hypothesis, const mgis::behaviour::FiniteStrainBehaviourOptions::TangentOperator)
 
unsigned short getBehaviourType (const std::string &, const std::string &)
 
unsigned short getBehaviourKinematic (const std::string &, const std::string &)
 
unsigned short getBehaviourSymmetry (const std::string &, const std::string &)
 
unsigned short getElasticStiffnessSymmetry (const std::string &, const std::string &)
 
bool requiresStiffnessTensor (const std::string &, const std::string &, const Hypothesis)
 
bool computesStoredEnergy (const std::string &, const std::string &, const Hypothesis)
 
bool computesDissipatedEnergy (const std::string &, const std::string &, const Hypothesis)
 
bool requiresThermalExpansionCoefficientTensor (const std::string &, const std::string &, const Hypothesis)
 
std::vector< std::string > getGradientsNames (const std::string &, const std::string &, const Hypothesis)
 
std::vector< int > getGradientsTypes (const std::string &, const std::string &, const Hypothesis)
 
std::vector< std::string > getThermodynamicForcesNames (const std::string &, const std::string &, const Hypothesis)
 
std::vector< std::pair< std::string, std::string > > getTangentOperatorBlocksNames (const std::string &, const std::string &, const Hypothesis)
 
std::vector< int > getThermodynamicForcesTypes (const std::string &, const std::string &, const Hypothesis)
 
std::vector< std::string > getMaterialPropertiesNames (const std::string &, const std::string &, const Hypothesis)
 
std::vector< std::string > getInternalStateVariablesNames (const std::string &, const std::string &, const Hypothesis)
 
std::vector< int > getInternalStateVariablesTypes (const std::string &, const std::string &, const Hypothesis)
 
bool hasTemperatureBeenRemovedFromExternalStateVariables (const std::string &, const std::string &)
 
std::vector< std::string > getExternalStateVariablesNames (const std::string &, const std::string &, const Hypothesis)
 
bool hasExternalStateVariablesTypes (const std::string &, const std::string &, const Hypothesis)
 
std::vector< int > getExternalStateVariablesTypes (const std::string &, const std::string &, const Hypothesis)
 
void setParameter (const std::string &, const std::string &, const Hypothesis, const std::string &, const double)
 
void setParameter (const std::string &, const std::string &, const Hypothesis, const std::string &, const int)
 
void setParameter (const std::string &, const std::string &, const Hypothesis, const std::string &, const unsigned short)
 
std::vector< std::string > getParametersNames (const std::string &, const std::string &, const Hypothesis)
 
std::vector< int > getParametersTypes (const std::string &, const std::string &, const Hypothesis)
 
double getParameterDefaultValue (const std::string &, const std::string &, const Hypothesis, const std::string &)
 get the default value of a double parameter
 
int getIntegerParameterDefaultValue (const std::string &, const std::string &, const Hypothesis, const std::string &)
 get the default value of an integer parameter
 
unsigned short getUnsignedShortParameterDefaultValue (const std::string &, const std::string &, const Hypothesis, const std::string &)
 get the default value of an unsigned short parameter
 
bool hasBounds (const std::string &, const std::string &, const Hypothesis, const std::string &)
 
bool hasLowerBound (const std::string &, const std::string &, const Hypothesis, const std::string &)
 
bool hasUpperBound (const std::string &, const std::string &, const Hypothesis, const std::string &)
 
long double getLowerBound (const std::string &, const std::string &, const Hypothesis, const std::string &)
 
long double getUpperBound (const std::string &, const std::string &, const Hypothesis, const std::string &)
 
bool hasPhysicalBounds (const std::string &, const std::string &, const Hypothesis, const std::string &)
 
bool hasLowerPhysicalBound (const std::string &, const std::string &, const Hypothesis, const std::string &)
 
bool hasUpperPhysicalBound (const std::string &, const std::string &, const Hypothesis, const std::string &)
 
long double getLowerPhysicalBound (const std::string &, const std::string &, const Hypothesis, const std::string &)
 
long double getUpperPhysicalBound (const std::string &, const std::string &, const Hypothesis, const std::string &)
 

Static Public Member Functions

static LibrariesManagerget ()
 

Detailed Description

structure in charge of handling libraries and querying MGIS' meta-data

Member Function Documentation

◆ computesDissipatedEnergy()

bool mgis::LibrariesManager::computesDissipatedEnergy ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
true if a behaviour computes the dissipated energy. In MFront, this is associated with the @DissipatedEnergy code block.
Parameters
[in]llibrary name
[in]bbehaviour name
[in]hmodelling hypothesis

◆ computesStoredEnergy()

bool mgis::LibrariesManager::computesStoredEnergy ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
true if a behaviour computes the internal energy. In MFront, this is associated with the @InternalEnergy code block.
Parameters
[in]llibrary name
[in]bbehaviour name
[in]hmodelling hypothesis

◆ get()

static LibrariesManager & mgis::LibrariesManager::get ( )
static
Returns
the only instance of this class (singleton pattern).

◆ getAPIVersion()

unsigned short mgis::LibrariesManager::getAPIVersion ( const std::string &  ,
const std::string &   
)
Returns
the TFEL's API version.

This was added in TFEL 3.4.1 which broke the generic behaviour' API.

Note
If the corresponding symbol is not present, the API is assumed to conform to the TFEL' API prior to Version 3.4.1 and 0 is returned.

◆ getAuthor()

std::string mgis::LibrariesManager::getAuthor ( const std::string &  ,
const std::string &   
)
Returns
the author of the MFront file
Parameters
[in]llibrary name
[in]nentry point name

◆ getBehaviour()

mgis::behaviour::BehaviourFctPtr mgis::LibrariesManager::getBehaviour ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the function implementing the behaviour
Parameters
[in]llibrary
[in]bbehaviour name
[in]hhypothesis

◆ getBehaviourInitializeFunction()

mgis::behaviour::BehaviourInitializeFctPtr mgis::LibrariesManager::getBehaviourInitializeFunction ( const std::string &  ,
const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the initialize functions associated with a the behaviour
Parameters
[in]llibrary
[in]bbehaviour name
[in]finitialize function name
[in]hhypothesis

◆ getBehaviourInitializeFunctionInputsNames()

std::vector< std::string > mgis::LibrariesManager::getBehaviourInitializeFunctionInputsNames ( const std::string &  ,
const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the names of the inputs of an initialize function associated with a the behaviour
Parameters
[in]llibrary
[in]bbehaviour name
[in]finitialize function name
[in]hhypothesis

◆ getBehaviourInitializeFunctionInputsTypes()

std::vector< int > mgis::LibrariesManager::getBehaviourInitializeFunctionInputsTypes ( const std::string &  ,
const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the types of the inputs of an initialize function associated with a the behaviour
Parameters
[in]llibrary
[in]bbehaviour name
[in]finitialize function name
[in]hhypothesis

◆ getBehaviourInitializeFunctions()

std::vector< std::string > mgis::LibrariesManager::getBehaviourInitializeFunctions ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the initialize functions associated with a the behaviour
Parameters
[in]llibrary
[in]bbehaviour name
[in]hhypothesis

◆ getBehaviourKinematic()

unsigned short mgis::LibrariesManager::getBehaviourKinematic ( const std::string &  ,
const std::string &   
)
Returns
the kinematic assumption used by the behaviour
See also
MechanicalBehaviourBase::Kinematic The value returned has the following meaning:
  • 0: undefined kinematic
  • 1: standard small strain behaviour kinematic
  • 2: cohesive zone model kinematic
  • 3: standard finite strain kinematic (F-Cauchy)
  • 4: ptest finite strain kinematic (eto-pk1)
  • 5: Green-Lagrange strain
  • 6: Miehe Apel Lambrecht logarithmic strain framework
Parameters
[in]llibrary
[in]fbehaviour name

◆ getBehaviourPostProcessing()

mgis::behaviour::BehaviourPostProcessingFctPtr mgis::LibrariesManager::getBehaviourPostProcessing ( const std::string &  ,
const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the initialize functions associated with a the behaviour
Parameters
[in]llibrary
[in]bbehaviour name
[in]finitialize function name
[in]hhypothesis

◆ getBehaviourPostProcessingOutputsNames()

std::vector< std::string > mgis::LibrariesManager::getBehaviourPostProcessingOutputsNames ( const std::string &  ,
const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the names of the outputs associated with a post-processing
Parameters
[in]llibrary
[in]bbehaviour name
[in]ppost-processing name
[in]hhypothesis

◆ getBehaviourPostProcessingOutputsTypes()

std::vector< int > mgis::LibrariesManager::getBehaviourPostProcessingOutputsTypes ( const std::string &  ,
const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the types of the outputs associated with a post-processing
Parameters
[in]llibrary
[in]bbehaviour name
[in]ppost-processing name
[in]hhypothesis

◆ getBehaviourPostProcessings()

std::vector< std::string > mgis::LibrariesManager::getBehaviourPostProcessings ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the post-processing functions associated with a the behaviour
Parameters
[in]llibrary
[in]bbehaviour name
[in]hhypothesis

◆ getBehaviourSymmetry()

unsigned short mgis::LibrariesManager::getBehaviourSymmetry ( const std::string &  ,
const std::string &   
)
Returns
the symmetry of the behaviour The value returned has the following meaning:
  • 0: isotropic behaviour
  • 1: orthotropic behaviour
Parameters
[in]llibrary
[in]bbehaviour name

◆ getBehaviourType()

unsigned short mgis::LibrariesManager::getBehaviourType ( const std::string &  ,
const std::string &   
)
Returns
the type of the behaviour
See also
MechanicalBehaviourBase::BehaviourType The value returned has the following meaning:
  • 0: general behaviour
  • 1: strain based behaviour
  • 2: standard finite strain behaviour
  • 3: cohesive zone model
Parameters
[in]llibrary
[in]bbehaviour name

◆ getBuildIdentifier()

std::string mgis::LibrariesManager::getBuildIdentifier ( const std::string &  ,
const std::string &   
)
Returns
the build identifier
Parameters
[in]llibrary name
[in]nentry point name

◆ getDate()

std::string mgis::LibrariesManager::getDate ( const std::string &  ,
const std::string &   
)
Returns
the date of the MFront file
Parameters
[in]llibrary name
[in]nentry point name

◆ getElasticStiffnessSymmetry()

unsigned short mgis::LibrariesManager::getElasticStiffnessSymmetry ( const std::string &  ,
const std::string &   
)
Returns
the symmetry of the elastic stiffness The value returned has the following meaning:
  • 0: isotropic elastic stiffness
  • 1: orthotropic elastic stiffness
Parameters
[in]llibrary
[in]bbehaviour name

◆ getExternalStateVariablesNames()

std::vector< std::string > mgis::LibrariesManager::getExternalStateVariablesNames ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the names of the external state variables associated with a behaviour
Parameters
[in]llibrary name
[in]bbehaviour name
[in]hmodelling hypothesis

◆ getExternalStateVariablesTypes()

std::vector< int > mgis::LibrariesManager::getExternalStateVariablesTypes ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the types of the internal state variables associated with a behaviour
Parameters
[in]llibrary name
[in]bbehaviour name
[in]hmodelling hypothesis

◆ getGradientsNames()

std::vector< std::string > mgis::LibrariesManager::getGradientsNames ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the names of the gradients associated with a behaviour
Parameters
[in]llibrary name
[in]bbehaviour name
[in]hmodelling hypothesis

◆ getGradientsTypes()

std::vector< int > mgis::LibrariesManager::getGradientsTypes ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the types of the gradients associated with a behaviour
Parameters
[in]llibrary name
[in]bbehaviour name
[in]hmodelling hypothesis

◆ getIntegerParameterDefaultValue()

int mgis::LibrariesManager::getIntegerParameterDefaultValue ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &   
)

get the default value of an integer parameter

Parameters
[in]llibrary
[in]bbehaviour
[in]hmodelling hypothesis
[in]pparameter name

◆ getInterface()

std::string mgis::LibrariesManager::getInterface ( const std::string &  ,
const std::string &   
)
Returns
the name of the interface used to generate the given entry point
Parameters
[in]llibrary name
[in]nentry point name

◆ getInternalStateVariablesNames()

std::vector< std::string > mgis::LibrariesManager::getInternalStateVariablesNames ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the names of the internal state variables associated with a behaviour
Parameters
[in]llibrary name
[in]bbehaviour name
[in]hmodelling hypothesis

◆ getInternalStateVariablesTypes()

std::vector< int > mgis::LibrariesManager::getInternalStateVariablesTypes ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the types of the internal state variables associated with a behaviour
Parameters
[in]llibrary name
[in]bbehaviour name
[in]hmodelling hypothesis

◆ getLowerBound()

long double mgis::LibrariesManager::getLowerBound ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &   
)
Returns
the lower bound of the given variable
Parameters
[in]lname of the library
[in]bbehaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ getLowerPhysicalBound()

long double mgis::LibrariesManager::getLowerPhysicalBound ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &   
)
Returns
the lower bound of the given variable
Parameters
[in]lname of the library
[in]bbehaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ getMaterialKnowledgeType()

unsigned short mgis::LibrariesManager::getMaterialKnowledgeType ( const std::string &  ,
const std::string &   
)
Returns
the material knowledge type of an entry point in a library. The returned value has the following meaning:
  • 0: material property
  • 1: behaviour
  • 2: model
Parameters
[in]llibrary name

◆ getMaterialPropertiesNames()

std::vector< std::string > mgis::LibrariesManager::getMaterialPropertiesNames ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the names of the material properties associated with a behaviour
Parameters
[in]llibrary name
[in]bbehaviour name
[in]hmodelling hypothesis

◆ getMaterialProperty()

mgis::material_property::MaterialPropertyFctPtr mgis::LibrariesManager::getMaterialProperty ( const std::string &  ,
const std::string &   
)
Returns
the function implementing the given material property
Parameters
[in]llibrary
[in]mpmaterial property' name

◆ getMaterialPropertyInputsNames()

std::vector< std::string > mgis::LibrariesManager::getMaterialPropertyInputsNames ( const std::string &  ,
const std::string &   
)
Returns
the names of the inputs of the given material property
Parameters
[in]llibrary name
[in]mpmaterial property' name

◆ getMaterialPropertyOutputName()

std::string mgis::LibrariesManager::getMaterialPropertyOutputName ( const std::string &  ,
const std::string &   
)
Returns
the name of the output of the given material property
Parameters
[in]llibrary name
[in]mpmaterial property' name

◆ getParameterDefaultValue()

double mgis::LibrariesManager::getParameterDefaultValue ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &   
)

get the default value of a double parameter

Parameters
[in]llibrary
[in]bbehaviour
[in]hmodelling hypothesis
[in]pparameter name

◆ getParametersNames()

std::vector< std::string > mgis::LibrariesManager::getParametersNames ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Parameters
[in]llibrary
[in]flaw name
[in]hmodelling hypothesis

◆ getParametersTypes()

std::vector< int > mgis::LibrariesManager::getParametersTypes ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the types associated with each parameter. The integer values returned have the following meaning:
  • 0: floatting point value
  • 1: integer value
  • 2: unsigned short value
Parameters
[in]llibrary
[in]flaw name
[in]hmodelling hypothesis

◆ getRotateArrayOfBehaviourGradientsFunction()

mgis::behaviour::RotateArrayOfBehaviourGradientsFctPtr mgis::LibrariesManager::getRotateArrayOfBehaviourGradientsFunction ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the function implementing the rotation of the gradients of a behaviour from the global frame to the material frame
Parameters
[in]llibrary
[in]bbehaviour name
[in]hhypothesis

◆ getRotateArrayOfBehaviourTangentOperatorBlocksFunction() [1/2]

mgis::behaviour::RotateArrayOfBehaviourTangentOperatorBlocksFctPtr mgis::LibrariesManager::getRotateArrayOfBehaviourTangentOperatorBlocksFunction ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the function implementing the rotation of the tangent operator block from the material frame to the global frame.
Parameters
[in]llibrary
[in]bbehaviour name
[in]hhypothesis

◆ getRotateArrayOfBehaviourTangentOperatorBlocksFunction() [2/2]

mgis::behaviour::RotateArrayOfBehaviourTangentOperatorBlocksFctPtr mgis::LibrariesManager::getRotateArrayOfBehaviourTangentOperatorBlocksFunction ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const mgis::behaviour::FiniteStrainBehaviourOptions::TangentOperator   
)
Returns
the function implementing the rotation of the tangent operator block from the material frame to the global frame for a finite strain behaviour.
Parameters
[in]llibrary
[in]bbehaviour name
[in]hhypothesis
[in]ttangent operator returned by the behaviour

◆ getRotateArrayOfBehaviourThermodynamicForcesFunction() [1/2]

mgis::behaviour::RotateArrayOfBehaviourThermodynamicForcesFctPtr mgis::LibrariesManager::getRotateArrayOfBehaviourThermodynamicForcesFunction ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the function implementing the rotation of the thermodynamic forces from the material frame to the global frame.
Parameters
[in]llibrary
[in]bbehaviour name
[in]hhypothesis

◆ getRotateArrayOfBehaviourThermodynamicForcesFunction() [2/2]

mgis::behaviour::RotateArrayOfBehaviourThermodynamicForcesFctPtr mgis::LibrariesManager::getRotateArrayOfBehaviourThermodynamicForcesFunction ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const mgis::behaviour::FiniteStrainBehaviourOptions::StressMeasure   
)
Returns
the function implementing the rotation of the thermodynamic forces from the material frame to the global frame for a finite strain behaviour.
Parameters
[in]llibrary
[in]bbehaviour name
[in]hhypothesis
[in]sstress returned by the behaviour

◆ getRotateBehaviourGradientsFunction()

mgis::behaviour::RotateBehaviourGradientsFctPtr mgis::LibrariesManager::getRotateBehaviourGradientsFunction ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the function implementing the rotation of the gradients of a behaviour from the global frame to the material frame
Parameters
[in]llibrary
[in]bbehaviour name
[in]hhypothesis

◆ getRotateBehaviourTangentOperatorBlocksFunction() [1/2]

mgis::behaviour::RotateBehaviourTangentOperatorBlocksFctPtr mgis::LibrariesManager::getRotateBehaviourTangentOperatorBlocksFunction ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the function implementing the rotation of the tangent operator block from the material frame to the global frame.
Parameters
[in]llibrary
[in]bbehaviour name
[in]hhypothesis

◆ getRotateBehaviourTangentOperatorBlocksFunction() [2/2]

mgis::behaviour::RotateBehaviourTangentOperatorBlocksFctPtr mgis::LibrariesManager::getRotateBehaviourTangentOperatorBlocksFunction ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const mgis::behaviour::FiniteStrainBehaviourOptions::TangentOperator   
)
Returns
the function implementing the rotation of the tangent operator block from the material frame to the global frame for a finite strain behaviour.
Parameters
[in]llibrary
[in]bbehaviour name
[in]hhypothesis
[in]ttangent operator returned by the behaviour

◆ getRotateBehaviourThermodynamicForcesFunction() [1/2]

mgis::behaviour::RotateBehaviourThermodynamicForcesFctPtr mgis::LibrariesManager::getRotateBehaviourThermodynamicForcesFunction ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the function implementing the rotation of the thermodynamic forces from the material frame to the global frame.
Parameters
[in]llibrary
[in]bbehaviour name
[in]hhypothesis

◆ getRotateBehaviourThermodynamicForcesFunction() [2/2]

mgis::behaviour::RotateBehaviourThermodynamicForcesFctPtr mgis::LibrariesManager::getRotateBehaviourThermodynamicForcesFunction ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const mgis::behaviour::FiniteStrainBehaviourOptions::StressMeasure   
)
Returns
the function implementing the rotation of the thermodynamic forces from the material frame to the global frame for a finite strain behaviour.
Parameters
[in]llibrary
[in]bbehaviour name
[in]hhypothesis
[in]sstress returned by the behaviour

◆ getSource()

std::string mgis::LibrariesManager::getSource ( const std::string &  ,
const std::string &   
)
Returns
the name of the MFront file used to generate the given entry point
Parameters
[in]llibrary name
[in]nentry point name

◆ getTangentOperatorBlocksNames()

std::vector< std::pair< std::string, std::string > > mgis::LibrariesManager::getTangentOperatorBlocksNames ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the names of the tangent operator blocks names.
Parameters
[in]llibrary name
[in]bbehaviour name
[in]hmodelling hypothesis

◆ getTFELVersion()

std::string mgis::LibrariesManager::getTFELVersion ( const std::string &  ,
const std::string &   
)
Returns
the TFEL version used to generate an MFront entry point
Parameters
[in]llibrary name
[in]nentry point name

◆ getThermodynamicForcesNames()

std::vector< std::string > mgis::LibrariesManager::getThermodynamicForcesNames ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the names of the thermodynamic forces associated with a behaviour.
Parameters
[in]llibrary name
[in]bbehaviour name
[in]hmodelling hypothesis

◆ getThermodynamicForcesTypes()

std::vector< int > mgis::LibrariesManager::getThermodynamicForcesTypes ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
the types of the thermodynamic forces associated with a behaviour.
Parameters
[in]llibrary name
[in]bbehaviour name
[in]hmodelling hypothesis

◆ getUnitSystem()

std::string mgis::LibrariesManager::getUnitSystem ( const std::string &  ,
const std::string &   
)
Returns
the UnitSystem used by an MFront entry point
Parameters
[in]llibrary name
[in]nentry point name

◆ getUnsignedShortParameterDefaultValue()

unsigned short mgis::LibrariesManager::getUnsignedShortParameterDefaultValue ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &   
)

get the default value of an unsigned short parameter

Parameters
[in]llibrary
[in]bbehaviour
[in]hmodelling hypothesis
[in]pparameter name

◆ getUpperBound()

long double mgis::LibrariesManager::getUpperBound ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &   
)
Returns
the upper bound of the given variable
Parameters
[in]lname of the library
[in]bbehaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ getUpperPhysicalBound()

long double mgis::LibrariesManager::getUpperPhysicalBound ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &   
)
Returns
the upper bound of the given variable
Parameters
[in]lname of the library
[in]bbehaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ getValidator()

std::string mgis::LibrariesManager::getValidator ( const std::string &  ,
const std::string &   
)
Returns
the validator of the MFront file
Parameters
[in]llibrary name
[in]nentry point name

◆ hasBounds()

bool mgis::LibrariesManager::hasBounds ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &   
)
Returns
true if the given variable has bounds
Parameters
[in]lname of the library
[in]bbehaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ hasExternalStateVariablesTypes()

bool mgis::LibrariesManager::hasExternalStateVariablesTypes ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
if the behaviour exports the types of the external state variables. This method is provided for backward compatibility with TFEL versions prior to 3.4.4 and 4.1.
Parameters
[in]llibrary name
[in]bbehaviour name
[in]hmodelling hypothesis

◆ hasLowerBound()

bool mgis::LibrariesManager::hasLowerBound ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &   
)
Returns
true if the given variable has a lower bound
Parameters
[in]lname of the library
[in]bbehaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ hasLowerPhysicalBound()

bool mgis::LibrariesManager::hasLowerPhysicalBound ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &   
)
Returns
true if the given variable has a lower physical bound
Parameters
[in]lname of the library
[in]bbehaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ hasPhysicalBounds()

bool mgis::LibrariesManager::hasPhysicalBounds ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &   
)
Returns
true if the given variable has bounds
Parameters
[in]lname of the library
[in]bbehaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ hasTemperatureBeenRemovedFromExternalStateVariables()

bool mgis::LibrariesManager::hasTemperatureBeenRemovedFromExternalStateVariables ( const std::string &  ,
const std::string &   
)
Returns
if the temperature has been removed for the external state variables. This is the default behaviour of MFront
Parameters
[in]l: name of the library
[in]f: law name

◆ hasUpperBound()

bool mgis::LibrariesManager::hasUpperBound ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &   
)
Returns
true if the given variable has a upper bound
Parameters
[in]lname of the library
[in]bbehaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ hasUpperPhysicalBound()

bool mgis::LibrariesManager::hasUpperPhysicalBound ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &   
)
Returns
true if the given variable has a upper physical bound
Parameters
[in]lname of the library
[in]bbehaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ requiresStiffnessTensor()

bool mgis::LibrariesManager::requiresStiffnessTensor ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
true if a behaviour generated throught the aster interface requires a offset for the elastic properties
Parameters
[in]llibrary name
[in]bbehaviour name
[in]hmodelling hypothesis

◆ requiresThermalExpansionCoefficientTensor()

bool mgis::LibrariesManager::requiresThermalExpansionCoefficientTensor ( const std::string &  ,
const std::string &  ,
const Hypothesis   
)
Returns
true if a behaviour generated throught the aster interface requires a offset for the elastic properties
Parameters
[in]llibrary
[in]bbehaviour name
[in]hmodelling hypothesis

◆ setParameter() [1/3]

void mgis::LibrariesManager::setParameter ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &  ,
const double   
)
Parameters
[in]llibrary
[in]sname of function or mechanical behaviour
[in]hmodelling hypothesis
[in]pparameter name
[in]vvalue

◆ setParameter() [2/3]

void mgis::LibrariesManager::setParameter ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &  ,
const int   
)

set the value of an integer parameter

Parameters
[in]llibrary
[in]sname of function or mechanical behaviour
[in]hmodelling hypothesis
[in]pparameter name
[in]vvalue

◆ setParameter() [3/3]

void mgis::LibrariesManager::setParameter ( const std::string &  ,
const std::string &  ,
const Hypothesis  ,
const std::string &  ,
const unsigned short   
)

set the value of an unsigned short parameter

Parameters
[in]llibrary
[in]sname of function or mechanical behaviour
[in]hmodelling hypothesis
[in]pparameter name
[in]vvalue

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