tfel
Loading...
Searching...
No Matches
tfel::system::ExternalLibraryManager Struct Reference

Structure in charge of loading external function and retrieving information from shared libraries. More...

#include </home/runner/work/tfel/tfel/include/TFEL/System/ExternalLibraryManager.hxx>

Public Member Functions

 ExternalLibraryManager (ExternalLibraryManager &&)=delete
 ExternalLibraryManager (const ExternalLibraryManager &)=delete
ExternalLibraryManager & operator= (ExternalLibraryManager &&)=delete
ExternalLibraryManager & operator= (const ExternalLibraryManager &)=delete
void * loadLibrary (const std::string &, const bool=false)
 a wrapper around the ::dlopen system call
std::string getLibraryPath (const std::string &)
std::vector< std::string > getEntryPoints (const std::string &)
unsigned short getMaterialKnowledgeType (const std::string &, const std::string &)
void setOutOfBoundsPolicy (const std::string &, const std::string &, const tfel::material::OutOfBoundsPolicy)
void setParameter (const std::string &, const std::string &, const std::string &, const double)
void setParameter (const std::string &, const std::string &, const std::string &, const int)
void setParameter (const std::string &, const std::string &, const std::string &, const unsigned short)
void setParameter (const std::string &, const std::string &, const std::string &, const std::string &, const double)
void setParameter (const std::string &, const std::string &, const std::string &, const std::string &, const int)
void setParameter (const std::string &, const std::string &, const std::string &, const std::string &, const unsigned short)
double getRealParameterDefaultValue (const std::string &, const std::string &, const std::string &, const std::string &)
 get the default value of a double parameter
int getIntegerParameterDefaultValue (const std::string &, const std::string &, const std::string &, const std::string &)
 get the default value of an integer parameter
unsigned short getUnsignedShortParameterDefaultValue (const std::string &, const std::string &, const std::string &, const std::string &)
 get the default value of an unsigned short parameter
bool hasBounds (const std::string &, const std::string &, const std::string &, const std::string &)
bool hasLowerBound (const std::string &, const std::string &, const std::string &, const std::string &)
bool hasUpperBound (const std::string &, const std::string &, const std::string &, const std::string &)
long double getLowerBound (const std::string &, const std::string &, const std::string &, const std::string &)
long double getUpperBound (const std::string &, const std::string &, const std::string &, const std::string &)
bool hasPhysicalBounds (const std::string &, const std::string &, const std::string &, const std::string &)
bool hasLowerPhysicalBound (const std::string &, const std::string &, const std::string &, const std::string &)
bool hasUpperPhysicalBound (const std::string &, const std::string &, const std::string &, const std::string &)
long double getLowerPhysicalBound (const std::string &, const std::string &, const std::string &, const std::string &)
long double getUpperPhysicalBound (const std::string &, const std::string &, const std::string &, const std::string &)
bool hasBounds (const std::string &, const std::string &, const std::string &)
bool hasLowerBound (const std::string &, const std::string &, const std::string &)
bool hasUpperBound (const std::string &, const std::string &, const std::string &)
long double getLowerBound (const std::string &, const std::string &, const std::string &)
long double getUpperBound (const std::string &, const std::string &, const std::string &)
bool hasPhysicalBounds (const std::string &, const std::string &, const std::string &)
bool hasLowerPhysicalBound (const std::string &, const std::string &, const std::string &)
bool hasUpperPhysicalBound (const std::string &, const std::string &, const std::string &)
long double getLowerPhysicalBound (const std::string &, const std::string &, const std::string &)
long double getUpperPhysicalBound (const std::string &, const std::string &, const std::string &)
std::string getTFELVersion (const std::string &, const std::string &)
std::string getUnitSystem (const std::string &, const std::string &)
std::string getSource (const std::string &, const std::string &)
std::string getInterface (const std::string &, const std::string &)
std::string getLaw (const std::string &, const std::string &)
std::string getMaterial (const std::string &, const std::string &)
std::vector< std::string > getSupportedModellingHypotheses (const std::string &, const std::string &)
bool contains (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 getDescription (const std::string &, const std::string &)
std::string getValidator (const std::string &, const std::string &)
std::string getCompatibilityMode (const std::string &, const std::string &)
std::string getBuildId (const std::string &, const std::string &)
std::string getBuildIdentifier (const std::string &, const std::string &)
unsigned short getMaterialPropertyNumberOfVariables (const std::string &, const std::string &)
std::string getMaterialPropertyOutput (const std::string &, const std::string &)
 return the external name associated with the output of a material property.
std::vector< std::string > getMaterialPropertyVariables (const std::string &, const std::string &)
 return the external name associated with the inputs of a material property.
void getMaterialPropertyVariables (std::vector< std::string > &, const std::string &, const std::string &)
std::vector< std::string > getMaterialPropertyParameters (const std::string &, const std::string &)
void getMaterialPropertyParameters (std::vector< std::string > &, const std::string &, const std::string &)
unsigned short getGenericMaterialPropertyNumberOfVariables (const std::string &, const std::string &)
std::vector< std::string > getGenericMaterialPropertyVariables (const std::string &, const std::string &)
void getGenericMaterialPropertyVariables (std::vector< std::string > &, const std::string &, const std::string &)
GenericMaterialPropertyPtr getGenericMaterialProperty (const std::string &, const std::string &)
GenericBehaviourFctPtr getGenericBehaviourFunction (const std::string &, const std::string &)
std::vector< std::string > getGenericBehaviourInitializeFunctions (const std::string &, const std::string &, const std::string &)
GenericBehaviourInitializeFunctionPtr getGenericBehaviourInitializeFunction (const std::string &, const std::string &, const std::string &, const std::string &)
std::vector< std::string > getGenericBehaviourInitializeFunctionInputs (const std::string &, const std::string &, const std::string &, const std::string &)
std::vector< int > getGenericBehaviourInitializeFunctionInputsTypes (const std::string &, const std::string &, const std::string &, const std::string &)
std::vector< std::string > getGenericBehaviourPostProcessingFunctions (const std::string &, const std::string &, const std::string &)
GenericBehaviourPostProcessingFctPtr getGenericBehaviourPostProcessingFunction (const std::string &, const std::string &, const std::string &, const std::string &)
std::vector< std::string > getGenericBehaviourPostProcessingFunctionOutputs (const std::string &, const std::string &, const std::string &, const std::string &)
std::vector< int > getGenericBehaviourPostProcessingFunctionOutputsTypes (const std::string &, const std::string &, const std::string &, const std::string &)
GenericBehaviourRotateGradientsFctPtr getGenericBehaviourRotateGradientsFunction (const std::string &, const std::string &)
 return a function used for rotate the gradients from the global frame to the material frame.
GenericBehaviourRotateArrayOfGradientsFctPtr getGenericBehaviourRotateArrayOfGradientsFunction (const std::string &, const std::string &)
 return a function used for rotate an array of gradients from the global frame to the material frame.
GenericBehaviourRotateThermodynamicForcesFctPtr getGenericBehaviourRotateThermodynamicForcesFunction (const std::string &, const std::string &)
 return a function used for rotate the thermodynamic forces from the material frame to the global frame.
GenericBehaviourRotateArrayOfThermodynamicForcesFctPtr getGenericBehaviourRotateArrayOfThermodynamicForcesFunction (const std::string &, const std::string &)
 return a function used for rotate an array of thermodynamic forces from the material frame to the global frame.
GenericBehaviourRotateTangentOperatorBlocksFctPtr getGenericBehaviourRotateTangentOperatorBlocksFunction (const std::string &, const std::string &)
GenericBehaviourRotateArrayOfTangentOperatorBlocksFctPtr getGenericBehaviourRotateArrayOfTangentOperatorBlocksFunction (const std::string &, const std::string &)
unsigned short getCyranoMaterialPropertyNumberOfVariables (const std::string &, const std::string &)
std::vector< std::string > getCyranoMaterialPropertyVariables (const std::string &, const std::string &)
void getCyranoMaterialPropertyVariables (std::vector< std::string > &, const std::string &, const std::string &)
CyranoMaterialPropertyPtr getCyranoMaterialProperty (const std::string &, const std::string &)
CyranoBehaviourPtr getCyranoFunction (const std::string &, const std::string &)
AsterFctPtr getAsterFunction (const std::string &, const std::string &)
CastemFctPtr getCastemExternalBehaviourFunction (const std::string &, const std::string &)
AbaqusFctPtr getAbaqusExternalBehaviourFunction (const std::string &, const std::string &)
AnsysFctPtr getAnsysExternalBehaviourFunction (const std::string &, const std::string &)
AbaqusExplicitFctPtr getAbaqusExplicitExternalBehaviourFunction (const std::string &, const std::string &)
CalculiXFctPtr getCalculiXExternalBehaviourFunction (const std::string &, const std::string &)
DianaFEAFctPtr getDianaFEAExternalBehaviourFunction (const std::string &, const std::string &)
bool isUMATBehaviourUsableInPurelyImplicitResolution (const std::string &, const std::string &, const std::string &)
unsigned short getUMATBehaviourType (const std::string &, const std::string &)
unsigned short getUMATBehaviourKinematic (const std::string &, const std::string &)
unsigned short getUMATSymmetryType (const std::string &, const std::string &)
unsigned short getUMATElasticSymmetryType (const std::string &, const std::string &)
bool checkIfUMATBehaviourUsesGenericPlaneStressAlgorithm (const std::string &, const std::string &)
std::vector< std::string > getUMATGradientsNames (const std::string &, const std::string &)
std::vector< int > getUMATGradientsTypes (const std::string &, const std::string &)
std::vector< std::string > getUMATDrivingVariablesNames (const std::string &, const std::string &)
std::vector< int > getUMATDrivingVariablesTypes (const std::string &, const std::string &)
std::vector< std::string > getUMATThermodynamicForcesNames (const std::string &, const std::string &)
std::vector< int > getUMATThermodynamicForcesTypes (const std::string &, const std::string &)
std::vector< std::pair< std::string, std::string > > getUMATTangentOperatorBlocksNames (const std::string &, const std::string &)
std::vector< std::string > getUMATElasticMaterialPropertiesEntryPoints (const std::string &, const std::string &)
 return the name of entry points for the elastic properties associated with a behaviour, if any. The kind of entry point (function, class, etc.) depends on the interface used.
std::vector< std::string > getUMATLinearThermalExpansionCoefficientsEntryPoints (const std::string &, const std::string &)
 return the name of entry points for the linear thermal expansion coefficients associated with a behaviour, if any. The kind of entry point (function, class, etc.) depends on the interface used.
bool isUMATBehaviourAbleToComputeInternalEnergy (const std::string &, const std::string &, const std::string &)
 return true if the behaviour computes the internal energy
bool isUMATBehaviourAbleToComputeDissipatedEnergy (const std::string &, const std::string &, const std::string &)
 return true if the behaviour computes the dissipated energy
std::vector< std::string > getUMATMaterialPropertiesNames (const std::string &, const std::string &, const std::string &)
std::vector< std::string > getUMATInternalStateVariablesNames (const std::string &, const std::string &, const std::string &)
std::vector< int > getUMATInternalStateVariablesTypes (const std::string &, const std::string &, const std::string &)
bool hasTemperatureBeenRemovedFromExternalStateVariables (const std::string &, const std::string &)
std::vector< std::string > getUMATExternalStateVariablesNames (const std::string &, const std::string &, const std::string &)
std::vector< int > getUMATExternalStateVariablesTypes (const std::string &, const std::string &, const std::string &)
std::vector< std::string > getUMATParametersNames (const std::string &, const std::string &, const std::string &)
std::vector< int > getUMATParametersTypes (const std::string &, const std::string &, const std::string &)
bool getUMATRequiresStiffnessTensor (const std::string &, const std::string &, const std::string &)
bool getUMATRequiresThermalExpansionCoefficientTensor (const std::string &, const std::string &, const std::string &)
bool checkIfAsterBehaviourSavesTangentOperator (const std::string &, const std::string &)
unsigned short getAsterFiniteStrainFormulation (const std::string &, const std::string &)
AsterIntegrationErrorMessageFctPtr getAsterIntegrationErrorMessageFunction (const std::string &, const std::string &)
unsigned short getAbaqusOrthotropyManagementPolicy (const std::string &, const std::string &)
unsigned short getCastemFunctionNumberOfVariables (const std::string &, const std::string &)
std::vector< std::string > getCastemFunctionVariables (const std::string &, const std::string &)
void getCastemFunctionVariables (std::vector< std::string > &, const std::string &, const std::string &)
CastemFunctionPtr getCastemFunction (const std::string &, const std::string &)
CFunction0Ptr getCFunction0 (const std::string &, const std::string &)
CFunction1Ptr getCFunction1 (const std::string &, const std::string &)
CFunction2Ptr getCFunction2 (const std::string &, const std::string &)
CFunction3Ptr getCFunction3 (const std::string &, const std::string &)
CFunction4Ptr getCFunction4 (const std::string &, const std::string &)
CFunction5Ptr getCFunction5 (const std::string &, const std::string &)
CFunction6Ptr getCFunction6 (const std::string &, const std::string &)
CFunction7Ptr getCFunction7 (const std::string &, const std::string &)
CFunction8Ptr getCFunction8 (const std::string &, const std::string &)
CFunction9Ptr getCFunction9 (const std::string &, const std::string &)
CFunction10Ptr getCFunction10 (const std::string &, const std::string &)
CFunction11Ptr getCFunction11 (const std::string &, const std::string &)
CFunction12Ptr getCFunction12 (const std::string &, const std::string &)
CFunction13Ptr getCFunction13 (const std::string &, const std::string &)
CFunction14Ptr getCFunction14 (const std::string &, const std::string &)
CFunction15Ptr getCFunction15 (const std::string &, const std::string &)
FortranFunction0Ptr getFortranFunction0 (const std::string &, const std::string &)
FortranFunction1Ptr getFortranFunction1 (const std::string &, const std::string &)
FortranFunction2Ptr getFortranFunction2 (const std::string &, const std::string &)
FortranFunction3Ptr getFortranFunction3 (const std::string &, const std::string &)
FortranFunction4Ptr getFortranFunction4 (const std::string &, const std::string &)
FortranFunction5Ptr getFortranFunction5 (const std::string &, const std::string &)
FortranFunction6Ptr getFortranFunction6 (const std::string &, const std::string &)
FortranFunction7Ptr getFortranFunction7 (const std::string &, const std::string &)
FortranFunction8Ptr getFortranFunction8 (const std::string &, const std::string &)
FortranFunction9Ptr getFortranFunction9 (const std::string &, const std::string &)
FortranFunction10Ptr getFortranFunction10 (const std::string &, const std::string &)
FortranFunction11Ptr getFortranFunction11 (const std::string &, const std::string &)
FortranFunction12Ptr getFortranFunction12 (const std::string &, const std::string &)
FortranFunction13Ptr getFortranFunction13 (const std::string &, const std::string &)
FortranFunction14Ptr getFortranFunction14 (const std::string &, const std::string &)
FortranFunction15Ptr getFortranFunction15 (const std::string &, const std::string &)
 ~ExternalLibraryManager ()
 destructor

Static Public Member Functions

static ExternalLibraryManager & getExternalLibraryManager ()

Detailed Description

Structure in charge of loading external function and retrieving information from shared libraries.

Member Function Documentation

◆ checkIfAsterBehaviourSavesTangentOperator()

bool tfel::system::ExternalLibraryManager::checkIfAsterBehaviourSavesTangentOperator ( const std::string & ,
const std::string &  )
Returns
true if a behaviour generated throught the aster interface saves the tangent operator
Parameters
[in]l: name of the library
[in]f: law name

◆ checkIfUMATBehaviourUsesGenericPlaneStressAlgorithm()

bool tfel::system::ExternalLibraryManager::checkIfUMATBehaviourUsesGenericPlaneStressAlgorithm ( const std::string & ,
const std::string &  )
Returns
true if the umat behaviour uses the generic plane stress algorithm
Parameters
[in]l: name of the library
[in]f: law name

◆ contains()

bool tfel::system::ExternalLibraryManager::contains ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]s: symbol name

◆ getAbaqusExplicitExternalBehaviourFunction()

AbaqusExplicitFctPtr tfel::system::ExternalLibraryManager::getAbaqusExplicitExternalBehaviourFunction ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name

◆ getAbaqusExternalBehaviourFunction()

AbaqusFctPtr tfel::system::ExternalLibraryManager::getAbaqusExternalBehaviourFunction ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name

◆ getAbaqusOrthotropyManagementPolicy()

unsigned short tfel::system::ExternalLibraryManager::getAbaqusOrthotropyManagementPolicy ( const std::string & ,
const std::string &  )
Returns
the orthotropy management policy for the Abaqus and Abaqus/Explicit interface. See the associated documentation for details.

The return value has the following meaning:

  • 0: unspecified policy (equivalent to native)
  • 1: native policy (equivalent to native)
  • 2: mfront policy
Parameters
[in]l: name of the library
[in]f: law name

◆ getAnsysExternalBehaviourFunction()

AnsysFctPtr tfel::system::ExternalLibraryManager::getAnsysExternalBehaviourFunction ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name

◆ getAsterFiniteStrainFormulation()

unsigned short tfel::system::ExternalLibraryManager::getAsterFiniteStrainFormulation ( const std::string & ,
const std::string &  )
Returns
the aster finite strain formulation. Possible returned values are:
  • 1: SIMO_MIEHE
  • 2: GROT_DEP (total lagrangian)
Parameters
[in]lname of the library
[in]flaw name

◆ getAsterFunction()

AsterFctPtr tfel::system::ExternalLibraryManager::getAsterFunction ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name

◆ getAsterIntegrationErrorMessageFunction()

AsterIntegrationErrorMessageFctPtr tfel::system::ExternalLibraryManager::getAsterIntegrationErrorMessageFunction ( const std::string & ,
const std::string &  )
Returns
the error message if the behaviour did not converge
Parameters
[in]lname of the library
[in]flaw name

◆ getAuthor()

std::string tfel::system::ExternalLibraryManager::getAuthor ( const std::string & ,
const std::string &  )
Returns
the author associated with the current symbol, if any
Parameters
[in]l: name of the library
[in]s: symbol name

◆ getBuildId()

std::string tfel::system::ExternalLibraryManager::getBuildId ( const std::string & ,
const std::string &  )
Returns
the build id associated with the current symbol, if any.
Parameters
[in]l: name of the library
[in]s: symbol name

◆ getBuildIdentifier()

std::string tfel::system::ExternalLibraryManager::getBuildIdentifier ( const std::string & ,
const std::string &  )
Returns
the build id associated with the current symbol, if any.
Parameters
[in]l: name of the library
[in]s: symbol name

◆ getCalculiXExternalBehaviourFunction()

CalculiXFctPtr tfel::system::ExternalLibraryManager::getCalculiXExternalBehaviourFunction ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name

◆ getCastemExternalBehaviourFunction()

CastemFctPtr tfel::system::ExternalLibraryManager::getCastemExternalBehaviourFunction ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name

◆ getCastemFunction()

CastemFunctionPtr tfel::system::ExternalLibraryManager::getCastemFunction ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCastemFunctionNumberOfVariables()

unsigned short tfel::system::ExternalLibraryManager::getCastemFunctionNumberOfVariables ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: function name

◆ getCastemFunctionVariables() [1/2]

std::vector< std::string > tfel::system::ExternalLibraryManager::getCastemFunctionVariables ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: function name

◆ getCastemFunctionVariables() [2/2]

void tfel::system::ExternalLibraryManager::getCastemFunctionVariables ( std::vector< std::string > & ,
const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: function name

◆ getCFunction0()

CFunction0Ptr tfel::system::ExternalLibraryManager::getCFunction0 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCFunction1()

CFunction1Ptr tfel::system::ExternalLibraryManager::getCFunction1 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCFunction10()

CFunction10Ptr tfel::system::ExternalLibraryManager::getCFunction10 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCFunction11()

CFunction11Ptr tfel::system::ExternalLibraryManager::getCFunction11 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCFunction12()

CFunction12Ptr tfel::system::ExternalLibraryManager::getCFunction12 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCFunction13()

CFunction13Ptr tfel::system::ExternalLibraryManager::getCFunction13 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCFunction14()

CFunction14Ptr tfel::system::ExternalLibraryManager::getCFunction14 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCFunction15()

CFunction15Ptr tfel::system::ExternalLibraryManager::getCFunction15 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCFunction2()

CFunction2Ptr tfel::system::ExternalLibraryManager::getCFunction2 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCFunction3()

CFunction3Ptr tfel::system::ExternalLibraryManager::getCFunction3 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCFunction4()

CFunction4Ptr tfel::system::ExternalLibraryManager::getCFunction4 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCFunction5()

CFunction5Ptr tfel::system::ExternalLibraryManager::getCFunction5 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCFunction6()

CFunction6Ptr tfel::system::ExternalLibraryManager::getCFunction6 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCFunction7()

CFunction7Ptr tfel::system::ExternalLibraryManager::getCFunction7 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCFunction8()

CFunction8Ptr tfel::system::ExternalLibraryManager::getCFunction8 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCFunction9()

CFunction9Ptr tfel::system::ExternalLibraryManager::getCFunction9 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getCompatibilityMode()

std::string tfel::system::ExternalLibraryManager::getCompatibilityMode ( const std::string & ,
const std::string &  )
Returns
the compatibility mode associated with the current symbol, if any.
Parameters
[in]l: name of the library
[in]s: symbol name
Note
an empty string is returned if no compatibility mode is defined

◆ getCyranoFunction()

CyranoBehaviourPtr tfel::system::ExternalLibraryManager::getCyranoFunction ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name

◆ getCyranoMaterialProperty()

CyranoMaterialPropertyPtr tfel::system::ExternalLibraryManager::getCyranoMaterialProperty ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name

◆ getCyranoMaterialPropertyNumberOfVariables()

unsigned short tfel::system::ExternalLibraryManager::getCyranoMaterialPropertyNumberOfVariables ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: function name

◆ getCyranoMaterialPropertyVariables() [1/2]

std::vector< std::string > tfel::system::ExternalLibraryManager::getCyranoMaterialPropertyVariables ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: function name

◆ getCyranoMaterialPropertyVariables() [2/2]

void tfel::system::ExternalLibraryManager::getCyranoMaterialPropertyVariables ( std::vector< std::string > & ,
const std::string & ,
const std::string &  )
Parameters
[out]nnames of the variables
[in]l: name of the library
[in]f: function name

◆ getDate()

std::string tfel::system::ExternalLibraryManager::getDate ( const std::string & ,
const std::string &  )
Returns
the date associated with the current symbol, if any
Parameters
[in]l: name of the library
[in]s: symbol name

◆ getDescription()

std::string tfel::system::ExternalLibraryManager::getDescription ( const std::string & ,
const std::string &  )
Returns
the description associated with the current symbol, if any
Parameters
[in]l: name of the library
[in]s: symbol name

◆ getDianaFEAExternalBehaviourFunction()

DianaFEAFctPtr tfel::system::ExternalLibraryManager::getDianaFEAExternalBehaviourFunction ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name

◆ getEntryPoints()

std::vector< std::string > tfel::system::ExternalLibraryManager::getEntryPoints ( const std::string & )
Returns
the list of all mfront generated entry points in a library.
Parameters
[in]llibrary name

◆ getExternalLibraryManager()

ExternalLibraryManager & tfel::system::ExternalLibraryManager::getExternalLibraryManager ( )
static
Returns
the uniq instance of this class

◆ getFortranFunction0()

FortranFunction0Ptr tfel::system::ExternalLibraryManager::getFortranFunction0 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getFortranFunction1()

FortranFunction1Ptr tfel::system::ExternalLibraryManager::getFortranFunction1 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getFortranFunction10()

FortranFunction10Ptr tfel::system::ExternalLibraryManager::getFortranFunction10 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getFortranFunction11()

FortranFunction11Ptr tfel::system::ExternalLibraryManager::getFortranFunction11 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getFortranFunction12()

FortranFunction12Ptr tfel::system::ExternalLibraryManager::getFortranFunction12 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getFortranFunction13()

FortranFunction13Ptr tfel::system::ExternalLibraryManager::getFortranFunction13 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getFortranFunction14()

FortranFunction14Ptr tfel::system::ExternalLibraryManager::getFortranFunction14 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getFortranFunction15()

FortranFunction15Ptr tfel::system::ExternalLibraryManager::getFortranFunction15 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getFortranFunction2()

FortranFunction2Ptr tfel::system::ExternalLibraryManager::getFortranFunction2 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getFortranFunction3()

FortranFunction3Ptr tfel::system::ExternalLibraryManager::getFortranFunction3 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getFortranFunction4()

FortranFunction4Ptr tfel::system::ExternalLibraryManager::getFortranFunction4 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getFortranFunction5()

FortranFunction5Ptr tfel::system::ExternalLibraryManager::getFortranFunction5 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getFortranFunction6()

FortranFunction6Ptr tfel::system::ExternalLibraryManager::getFortranFunction6 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getFortranFunction7()

FortranFunction7Ptr tfel::system::ExternalLibraryManager::getFortranFunction7 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getFortranFunction8()

FortranFunction8Ptr tfel::system::ExternalLibraryManager::getFortranFunction8 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getFortranFunction9()

FortranFunction9Ptr tfel::system::ExternalLibraryManager::getFortranFunction9 ( const std::string & ,
const std::string &  )

load a function from a library

Parameters
l: library name
f: function name
Returns
the function pointer

◆ getGenericBehaviourFunction()

GenericBehaviourFctPtr tfel::system::ExternalLibraryManager::getGenericBehaviourFunction ( const std::string & ,
const std::string &  )
Parameters
[in]lname of the library
[in]ffunction name

◆ getGenericBehaviourInitializeFunction()

GenericBehaviourInitializeFunctionPtr tfel::system::ExternalLibraryManager::getGenericBehaviourInitializeFunction ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
the post-processing function
Parameters
[in]lname of the library
[in]ffunction name
[in]hmodelling hypothesis
[in]ppost-processing function name

◆ getGenericBehaviourInitializeFunctionInputs()

std::vector< std::string > tfel::system::ExternalLibraryManager::getGenericBehaviourInitializeFunctionInputs ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
the inputs of a initialize function function
Parameters
[in]lname of the library
[in]ffunction name
[in]hmodelling hypothesis
[in]pinitialize function function name

◆ getGenericBehaviourInitializeFunctionInputsTypes()

std::vector< int > tfel::system::ExternalLibraryManager::getGenericBehaviourInitializeFunctionInputsTypes ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
the types of the inputs of a initialize function function
Parameters
[in]lname of the library
[in]ffunction name
[in]hmodelling hypothesis
[in]pinitialize function function name

◆ getGenericBehaviourInitializeFunctions()

std::vector< std::string > tfel::system::ExternalLibraryManager::getGenericBehaviourInitializeFunctions ( const std::string & ,
const std::string & ,
const std::string &  )
Returns
the post-processings associated with a behaviour generated through the generic interface.
Parameters
[in]lname of the library
[in]bbehaviour name
[in]hmodelling hypothesis

◆ getGenericBehaviourPostProcessingFunction()

GenericBehaviourPostProcessingFctPtr tfel::system::ExternalLibraryManager::getGenericBehaviourPostProcessingFunction ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
the post-processing function
Parameters
[in]lname of the library
[in]ffunction name
[in]hmodelling hypothesis
[in]ppost-processing function name

◆ getGenericBehaviourPostProcessingFunctionOutputs()

std::vector< std::string > tfel::system::ExternalLibraryManager::getGenericBehaviourPostProcessingFunctionOutputs ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
the outputs of a post-processing function
Parameters
[in]lname of the library
[in]ffunction name
[in]hmodelling hypothesis
[in]ppost-processing function name

◆ getGenericBehaviourPostProcessingFunctionOutputsTypes()

std::vector< int > tfel::system::ExternalLibraryManager::getGenericBehaviourPostProcessingFunctionOutputsTypes ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
the types of the outputs of a post-processing function
Parameters
[in]lname of the library
[in]ffunction name
[in]hmodelling hypothesis
[in]ppost-processing function name

◆ getGenericBehaviourPostProcessingFunctions()

std::vector< std::string > tfel::system::ExternalLibraryManager::getGenericBehaviourPostProcessingFunctions ( const std::string & ,
const std::string & ,
const std::string &  )
Returns
the post-processings associated with a behaviour generated through the generic interface.
Parameters
[in]lname of the library
[in]bbehaviour name
[in]hmodelling hypothesis

◆ getGenericBehaviourRotateArrayOfGradientsFunction()

GenericBehaviourRotateArrayOfGradientsFctPtr tfel::system::ExternalLibraryManager::getGenericBehaviourRotateArrayOfGradientsFunction ( const std::string & ,
const std::string &  )

return a function used for rotate an array of gradients from the global frame to the material frame.

Parameters
[in]lname of the library
[in]ffunction name

◆ getGenericBehaviourRotateArrayOfTangentOperatorBlocksFunction()

GenericBehaviourRotateArrayOfTangentOperatorBlocksFctPtr tfel::system::ExternalLibraryManager::getGenericBehaviourRotateArrayOfTangentOperatorBlocksFunction ( const std::string & ,
const std::string &  )
Returns
a function used for rotate an array of tangent operator blocks from the material frame to the global frame.
Parameters
[in]lname of the library
[in]ffunction name

◆ getGenericBehaviourRotateArrayOfThermodynamicForcesFunction()

GenericBehaviourRotateArrayOfThermodynamicForcesFctPtr tfel::system::ExternalLibraryManager::getGenericBehaviourRotateArrayOfThermodynamicForcesFunction ( const std::string & ,
const std::string &  )

return a function used for rotate an array of thermodynamic forces from the material frame to the global frame.

Parameters
[in]lname of the library
[in]ffunction name

◆ getGenericBehaviourRotateGradientsFunction()

GenericBehaviourRotateGradientsFctPtr tfel::system::ExternalLibraryManager::getGenericBehaviourRotateGradientsFunction ( const std::string & ,
const std::string &  )

return a function used for rotate the gradients from the global frame to the material frame.

Parameters
[in]lname of the library
[in]ffunction name

◆ getGenericBehaviourRotateTangentOperatorBlocksFunction()

GenericBehaviourRotateTangentOperatorBlocksFctPtr tfel::system::ExternalLibraryManager::getGenericBehaviourRotateTangentOperatorBlocksFunction ( const std::string & ,
const std::string &  )
Returns
a function used for rotate the tangent operator blocks from the material frame to the global frame.
Parameters
[in]lname of the library
[in]ffunction name

◆ getGenericBehaviourRotateThermodynamicForcesFunction()

GenericBehaviourRotateThermodynamicForcesFctPtr tfel::system::ExternalLibraryManager::getGenericBehaviourRotateThermodynamicForcesFunction ( const std::string & ,
const std::string &  )

return a function used for rotate the thermodynamic forces from the material frame to the global frame.

Parameters
[in]lname of the library
[in]ffunction name

◆ getGenericMaterialProperty()

GenericMaterialPropertyPtr tfel::system::ExternalLibraryManager::getGenericMaterialProperty ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name

◆ getGenericMaterialPropertyNumberOfVariables()

unsigned short tfel::system::ExternalLibraryManager::getGenericMaterialPropertyNumberOfVariables ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: function name

◆ getGenericMaterialPropertyVariables() [1/2]

std::vector< std::string > tfel::system::ExternalLibraryManager::getGenericMaterialPropertyVariables ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: function name

◆ getGenericMaterialPropertyVariables() [2/2]

void tfel::system::ExternalLibraryManager::getGenericMaterialPropertyVariables ( std::vector< std::string > & ,
const std::string & ,
const std::string &  )
Parameters
[out]nnames of the variables
[in]l: name of the library
[in]f: function name

◆ getIntegerParameterDefaultValue()

int tfel::system::ExternalLibraryManager::getIntegerParameterDefaultValue ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )

get the default value of an integer parameter

Parameters
[in]l: name of the library
[in]s: name of function or mechanical behaviour
[in]h: modelling hypothesis
[in]p: parameter name

◆ getInterface()

std::string tfel::system::ExternalLibraryManager::getInterface ( const std::string & ,
const std::string &  )
Returns
the interface of the function or the mechanical behaviour
Parameters
[in]lname of the library
[in]sname of function or mechanical behaviour This function looks for the symbol s+'_mfront_interface' in the library and expect it to a pointer to characters. An exception is thrown if the symbol is not found.

◆ getLaw()

std::string tfel::system::ExternalLibraryManager::getLaw ( const std::string & ,
const std::string &  )
Returns
the law associated with the entry point
Parameters
[in]lname of the library
[in]sname of function or mechanical behaviour This function looks for the symbol s+'_mfront_law' in the library and expect it to a pointer to characters.

◆ getLibraryPath()

std::string tfel::system::ExternalLibraryManager::getLibraryPath ( const std::string & )
Returns
the path of a library
Parameters
[in]llibrary name

◆ getLowerBound() [1/2]

long double tfel::system::ExternalLibraryManager::getLowerBound ( const std::string & ,
const std::string & ,
const std::string &  )
Returns
the lower bound of the given variable (material property)
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]vvariable name

◆ getLowerBound() [2/2]

long double tfel::system::ExternalLibraryManager::getLowerBound ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
the lower bound of the given variable
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ getLowerPhysicalBound() [1/2]

long double tfel::system::ExternalLibraryManager::getLowerPhysicalBound ( const std::string & ,
const std::string & ,
const std::string &  )
Returns
the lower bound of the given variable (material property)
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]vvariable name

◆ getLowerPhysicalBound() [2/2]

long double tfel::system::ExternalLibraryManager::getLowerPhysicalBound ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
the lower bound of the given variable
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ getMaterial()

std::string tfel::system::ExternalLibraryManager::getMaterial ( const std::string & ,
const std::string &  )
Returns
the material associated with the entry point
Parameters
[in]lname of the library
[in]sname of function or mechanical behaviour This function looks for the symbol s+'_mfront_material' in the library and expect it to a pointer to characters. If the symbol is not found, an empty string is returned.

◆ getMaterialKnowledgeType()

unsigned short tfel::system::ExternalLibraryManager::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

◆ getMaterialPropertyNumberOfVariables()

unsigned short tfel::system::ExternalLibraryManager::getMaterialPropertyNumberOfVariables ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: function name

◆ getMaterialPropertyOutput()

std::string tfel::system::ExternalLibraryManager::getMaterialPropertyOutput ( const std::string & ,
const std::string &  )

return the external name associated with the output of a material property.

Parameters
[in]l: name of the library
[in]f: function name

◆ getMaterialPropertyParameters() [1/2]

std::vector< std::string > tfel::system::ExternalLibraryManager::getMaterialPropertyParameters ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: function name

◆ getMaterialPropertyParameters() [2/2]

void tfel::system::ExternalLibraryManager::getMaterialPropertyParameters ( std::vector< std::string > & ,
const std::string & ,
const std::string &  )
Parameters
[out]nnames of the variables
[in]l: name of the library
[in]f: function name

◆ getMaterialPropertyVariables() [1/2]

std::vector< std::string > tfel::system::ExternalLibraryManager::getMaterialPropertyVariables ( const std::string & ,
const std::string &  )

return the external name associated with the inputs of a material property.

Parameters
[in]l: name of the library
[in]f: function name

◆ getMaterialPropertyVariables() [2/2]

void tfel::system::ExternalLibraryManager::getMaterialPropertyVariables ( std::vector< std::string > & ,
const std::string & ,
const std::string &  )
Parameters
[out]nnames of the variables
[in]l: name of the library
[in]f: function name

◆ getRealParameterDefaultValue()

double tfel::system::ExternalLibraryManager::getRealParameterDefaultValue ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )

get the default value of a double parameter

Parameters
[in]l: name of the library
[in]s: name of function or mechanical behaviour
[in]h: modelling hypothesis
[in]p: parameter name

◆ getSource()

std::string tfel::system::ExternalLibraryManager::getSource ( const std::string & ,
const std::string &  )
Returns
the src of the function or the mechanical behaviour
Parameters
[in]lname of the library
[in]sname of function or mechanical behaviour This function looks for the symbol s+'_src' in the library and expect it to a pointer to characters. If the symbol is not found, an empty string is returned.

◆ getSupportedModellingHypotheses()

std::vector< std::string > tfel::system::ExternalLibraryManager::getSupportedModellingHypotheses ( const std::string & ,
const std::string &  )
Returns
the list of supported modelling hypotheses
Parameters
[in]l: name of the library
[in]s: name of function or mechanical behaviour This function looks for the symbol s+'_ModellingHypotheses' in the library and expect it to a pointer to characters. An exception is thrown if the symbol is not found.

◆ getTFELVersion()

std::string tfel::system::ExternalLibraryManager::getTFELVersion ( const std::string & ,
const std::string &  )
Returns
the TFEL version used to generate the given entry point.
Parameters
[in]lname of the library
[in]sname of function or mechanical behaviour This function looks for the symbol s+'_tfel_version' in the library and expect it to a pointer to characters. If the symbol is not found, an empty string is returned.

◆ getUMATBehaviourKinematic()

unsigned short tfel::system::ExternalLibraryManager::getUMATBehaviourKinematic ( 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]l: name of the library
[in]f: law name

◆ getUMATBehaviourType()

unsigned short tfel::system::ExternalLibraryManager::getUMATBehaviourType ( 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]l: name of the library
[in]f: law name

◆ getUMATDrivingVariablesNames()

std::vector< std::string > tfel::system::ExternalLibraryManager::getUMATDrivingVariablesNames ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name

◆ getUMATDrivingVariablesTypes()

std::vector< int > tfel::system::ExternalLibraryManager::getUMATDrivingVariablesTypes ( const std::string & ,
const std::string &  )

A type is associated to an integer as follows:

  • 0: scalar
  • 1: symmetric tensor
  • 2: vector (size of the space dimension)
  • 3: unsymmetric tensor
Parameters
[in]l: name of the library
[in]f: law name

◆ getUMATElasticMaterialPropertiesEntryPoints()

std::vector< std::string > tfel::system::ExternalLibraryManager::getUMATElasticMaterialPropertiesEntryPoints ( const std::string & ,
const std::string &  )

return the name of entry points for the elastic properties associated with a behaviour, if any. The kind of entry point (function, class, etc.) depends on the interface used.

The size of the returned vector is currently either:

  • 0: which means that the behaviour does not export its elastic properties.
  • 2, which means that the elastic behaviour is isotropic.
  • 9, which means that the elastic behaviour is orthotropic.
Parameters
[in]l: name of the library
[in]f: law name

◆ getUMATElasticSymmetryType()

unsigned short tfel::system::ExternalLibraryManager::getUMATElasticSymmetryType ( const std::string & ,
const std::string &  )
Returns
the symmetry of the elastic behaviour (isotropic or orthotropic) If the returned value is 0, the behaviour is isotropic. If the returned value is 1, the behaviour is orthotropic.
Parameters
[in]l: name of the library
[in]f: law name

◆ getUMATExternalStateVariablesNames()

std::vector< std::string > tfel::system::ExternalLibraryManager::getUMATExternalStateVariablesNames ( const std::string & ,
const std::string & ,
const std::string &  )
Returns
the list of the external state variables.
Note
by convention, the temperature is generally not included in this list when it is declared as the first external state variable, as it is treated specifically by the UMAT interface. The user may thus need to call the hasTemperatureBeenRemovedFromExternalStateVariables method to see if the temperature was indeed removed from the list of external state variables.
Parameters
[in]l: name of the library
[in]f: law name
[in]h: modelling hypothesis

◆ getUMATExternalStateVariablesTypes()

std::vector< int > tfel::system::ExternalLibraryManager::getUMATExternalStateVariablesTypes ( const std::string & ,
const std::string & ,
const std::string &  )

A type is associated to an integer as follows:

  • 0: scalar
  • 1: symmetric tensor
  • 2: vector (size of the space dimension)
  • 3: unsymmetric tensor
Parameters
[in]l: name of the library
[in]f: law name
[in]h: modelling hypothesis

◆ getUMATGradientsNames()

std::vector< std::string > tfel::system::ExternalLibraryManager::getUMATGradientsNames ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name

◆ getUMATGradientsTypes()

std::vector< int > tfel::system::ExternalLibraryManager::getUMATGradientsTypes ( const std::string & ,
const std::string &  )

A type is associated to an integer as follows:

  • 0: scalar
  • 1: symmetric tensor
  • 2: vector (size of the space dimension)
  • 3: unsymmetric tensor
Parameters
[in]l: name of the library
[in]f: law name

◆ getUMATInternalStateVariablesNames()

std::vector< std::string > tfel::system::ExternalLibraryManager::getUMATInternalStateVariablesNames ( const std::string & ,
const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name
[in]h: modelling hypothesis

◆ getUMATInternalStateVariablesTypes()

std::vector< int > tfel::system::ExternalLibraryManager::getUMATInternalStateVariablesTypes ( const std::string & ,
const std::string & ,
const std::string &  )

A type is associated to an integer as follows:

  • 0: scalar
  • 1: symmetric tensor
  • 2: vector (size of the space dimension)
  • 3: unsymmetric tensor
Parameters
[in]l: name of the library
[in]f: law name
[in]h: modelling hypothesis

◆ getUMATLinearThermalExpansionCoefficientsEntryPoints()

std::vector< std::string > tfel::system::ExternalLibraryManager::getUMATLinearThermalExpansionCoefficientsEntryPoints ( const std::string & ,
const std::string &  )

return the name of entry points for the linear thermal expansion coefficients associated with a behaviour, if any. The kind of entry point (function, class, etc.) depends on the interface used.

The size of the returned vector is currently either:

  • 0: which means that the behaviour does not export its elastic properties.
  • 1, which means that the thermal expansion is isotropic.
  • 3, which means that the thermal expansion is orthotropic.
Parameters
[in]l: name of the library
[in]f: law name

◆ getUMATMaterialPropertiesNames()

std::vector< std::string > tfel::system::ExternalLibraryManager::getUMATMaterialPropertiesNames ( const std::string & ,
const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name
[in]h: modelling hypothesis

◆ getUMATParametersNames()

std::vector< std::string > tfel::system::ExternalLibraryManager::getUMATParametersNames ( const std::string & ,
const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name
[in]h: modelling hypothesis

◆ getUMATParametersTypes()

std::vector< int > tfel::system::ExternalLibraryManager::getUMATParametersTypes ( const std::string & ,
const std::string & ,
const std::string &  )
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]l: name of the library
[in]f: law name
[in]h: modelling hypothesis

◆ getUMATRequiresStiffnessTensor()

bool tfel::system::ExternalLibraryManager::getUMATRequiresStiffnessTensor ( const std::string & ,
const std::string & ,
const std::string &  )
Returns
true if a behaviour generated throught the aster interface requires a offset for the elastic properties
Parameters
[in]l: name of the library
[in]f: law name
[in]h: modelling hypothesis

◆ getUMATRequiresThermalExpansionCoefficientTensor()

bool tfel::system::ExternalLibraryManager::getUMATRequiresThermalExpansionCoefficientTensor ( const std::string & ,
const std::string & ,
const std::string &  )
Returns
true if a behaviour generated throught the aster interface requires a offset for the elastic properties
Parameters
[in]l: name of the library
[in]f: law name
[in]h: modelling hypothesis

◆ getUMATSymmetryType()

unsigned short tfel::system::ExternalLibraryManager::getUMATSymmetryType ( const std::string & ,
const std::string &  )
Returns
the symmetry of the behaviour (isotropic or orthotropic) If the returned value is 0, the behaviour is isotropic. If the returned value is 1, the behaviour is orthotropic.
Parameters
[in]l: name of the library
[in]f: law name

◆ getUMATTangentOperatorBlocksNames()

std::vector< std::pair< std::string, std::string > > tfel::system::ExternalLibraryManager::getUMATTangentOperatorBlocksNames ( const std::string & ,
const std::string &  )
Returns
the name of blocks in the tangent operator.
Parameters
[in]l: name of the library
[in]f: law name

◆ getUMATThermodynamicForcesNames()

std::vector< std::string > tfel::system::ExternalLibraryManager::getUMATThermodynamicForcesNames ( const std::string & ,
const std::string &  )
Parameters
[in]l: name of the library
[in]f: law name

◆ getUMATThermodynamicForcesTypes()

std::vector< int > tfel::system::ExternalLibraryManager::getUMATThermodynamicForcesTypes ( const std::string & ,
const std::string &  )

A type is associated to an integer as follows:

  • 0: scalar
  • 1: symmetric tensor
  • 2: vector (size of the space dimension)
  • 3: unsymmetric tensor
Parameters
[in]l: name of the library
[in]f: law name

◆ getUnitSystem()

std::string tfel::system::ExternalLibraryManager::getUnitSystem ( const std::string & ,
const std::string &  )
Returns
the unit system used by the given entry point.
Parameters
[in]lname of the library
[in]sname of function or mechanical behaviour This function looks for the symbol s+'_unit_system' in the library and expect it to a pointer to characters. If the symbol is not found, an empty string is returned.

◆ getUnsignedShortParameterDefaultValue()

unsigned short tfel::system::ExternalLibraryManager::getUnsignedShortParameterDefaultValue ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )

get the default value of an unsigned short parameter

Parameters
[in]l: name of the library
[in]s: name of function or mechanical behaviour
[in]h: modelling hypothesis
[in]p: parameter name

◆ getUpperBound() [1/2]

long double tfel::system::ExternalLibraryManager::getUpperBound ( const std::string & ,
const std::string & ,
const std::string &  )
Returns
the upper bound of the given variable (material property)
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]vvariable name

◆ getUpperBound() [2/2]

long double tfel::system::ExternalLibraryManager::getUpperBound ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
the upper bound of the given variable
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ getUpperPhysicalBound() [1/2]

long double tfel::system::ExternalLibraryManager::getUpperPhysicalBound ( const std::string & ,
const std::string & ,
const std::string &  )
Returns
the upper bound of the given variable (material property)
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]vvariable name

◆ getUpperPhysicalBound() [2/2]

long double tfel::system::ExternalLibraryManager::getUpperPhysicalBound ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
the upper bound of the given variable
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ getValidator()

std::string tfel::system::ExternalLibraryManager::getValidator ( const std::string & ,
const std::string &  )
Returns
the validator associated with the current symbol, if any.
Parameters
[in]l: name of the library
[in]s: symbol name

◆ hasBounds() [1/2]

bool tfel::system::ExternalLibraryManager::hasBounds ( const std::string & ,
const std::string & ,
const std::string &  )
Returns
true if the given variable (material property) has bounds
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]vvariable name

◆ hasBounds() [2/2]

bool tfel::system::ExternalLibraryManager::hasBounds ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
true if the given variable has bounds
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ hasLowerBound() [1/2]

bool tfel::system::ExternalLibraryManager::hasLowerBound ( const std::string & ,
const std::string & ,
const std::string &  )
Returns
true if the given variable (material property) has lower bound
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]vvariable name

◆ hasLowerBound() [2/2]

bool tfel::system::ExternalLibraryManager::hasLowerBound ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
true if the given variable has a lower bound
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ hasLowerPhysicalBound() [1/2]

bool tfel::system::ExternalLibraryManager::hasLowerPhysicalBound ( const std::string & ,
const std::string & ,
const std::string &  )
Returns
true if the given variable (material property) has a lower physical bound
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]vvariable name

◆ hasLowerPhysicalBound() [2/2]

bool tfel::system::ExternalLibraryManager::hasLowerPhysicalBound ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
true if the given variable has a lower physical bound
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ hasPhysicalBounds() [1/2]

bool tfel::system::ExternalLibraryManager::hasPhysicalBounds ( const std::string & ,
const std::string & ,
const std::string &  )
Returns
true if the given variable (material property) has physical bounds
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]vvariable name

◆ hasPhysicalBounds() [2/2]

bool tfel::system::ExternalLibraryManager::hasPhysicalBounds ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
true if the given variable has bounds
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ hasTemperatureBeenRemovedFromExternalStateVariables()

bool tfel::system::ExternalLibraryManager::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() [1/2]

bool tfel::system::ExternalLibraryManager::hasUpperBound ( const std::string & ,
const std::string & ,
const std::string &  )
Returns
true if the given variable (material property) has a upper bound
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]vvariable name

◆ hasUpperBound() [2/2]

bool tfel::system::ExternalLibraryManager::hasUpperBound ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
true if the given variable has a upper bound
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ hasUpperPhysicalBound() [1/2]

bool tfel::system::ExternalLibraryManager::hasUpperPhysicalBound ( const std::string & ,
const std::string & ,
const std::string &  )
Returns
true if the given variable (material property) has a upper physical bound
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]vvariable name

◆ hasUpperPhysicalBound() [2/2]

bool tfel::system::ExternalLibraryManager::hasUpperPhysicalBound ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string &  )
Returns
true if the given variable has a upper physical bound
Parameters
[in]lname of the library
[in]fname of function or mechanical behaviour
[in]hmodelling hypothesis
[in]vvariable name

◆ isUMATBehaviourAbleToComputeDissipatedEnergy()

bool tfel::system::ExternalLibraryManager::isUMATBehaviourAbleToComputeDissipatedEnergy ( const std::string & ,
const std::string & ,
const std::string &  )

return true if the behaviour computes the dissipated energy

Parameters
[in]l: name of the library
[in]f: law name
[in]h: modelling hypothesis

◆ isUMATBehaviourAbleToComputeInternalEnergy()

bool tfel::system::ExternalLibraryManager::isUMATBehaviourAbleToComputeInternalEnergy ( const std::string & ,
const std::string & ,
const std::string &  )

return true if the behaviour computes the internal energy

Parameters
[in]l: name of the library
[in]f: law name
[in]h: modelling hypothesis

◆ isUMATBehaviourUsableInPurelyImplicitResolution()

bool tfel::system::ExternalLibraryManager::isUMATBehaviourUsableInPurelyImplicitResolution ( const std::string & ,
const std::string & ,
const std::string &  )
Note
the loadLibrary must have already been called with this name

◆ loadLibrary()

void * tfel::system::ExternalLibraryManager::loadLibrary ( const std::string & ,
const bool = false )

a wrapper around the ::dlopen system call

Parameters
[in]name: name of the library
[in]b: boolean allowing ::dlopen to fail. If ::dlopen fails, a null pointer is returned. This library is not registred.
Returns
a pointer to the library
Note
on success, the pointer is registred in a map using its name as a key. This name is used in the methods of this call

◆ setOutOfBoundsPolicy()

void tfel::system::ExternalLibraryManager::setOutOfBoundsPolicy ( const std::string & ,
const std::string & ,
const tfel::material::OutOfBoundsPolicy  )
Parameters
[in]l: name of the library
[in]f: name of function or mechanical behaviour
[in]p: out of bounds policy value

◆ setParameter() [1/6]

void tfel::system::ExternalLibraryManager::setParameter ( const std::string & ,
const std::string & ,
const std::string & ,
const double  )
Parameters
[in]l: name of the library
[in]s: name of function or mechanical behaviour
[in]p: parameter name
[in]v: value

◆ setParameter() [2/6]

void tfel::system::ExternalLibraryManager::setParameter ( const std::string & ,
const std::string & ,
const std::string & ,
const int  )

set the value of an integer parameter

Parameters
[in]l: name of the library
[in]s: name of function or mechanical behaviour
[in]p: parameter name
[in]v: value

◆ setParameter() [3/6]

void tfel::system::ExternalLibraryManager::setParameter ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string & ,
const double  )
Parameters
[in]l: name of the library
[in]s: name of function or mechanical behaviour
[in]h: modelling hypothesis
[in]p: parameter name
[in]v: value

◆ setParameter() [4/6]

void tfel::system::ExternalLibraryManager::setParameter ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string & ,
const int  )

set the value of an integer parameter

Parameters
[in]l: name of the library
[in]s: name of function or mechanical behaviour
[in]h: modelling hypothesis
[in]p: parameter name
[in]v: value

◆ setParameter() [5/6]

void tfel::system::ExternalLibraryManager::setParameter ( const std::string & ,
const std::string & ,
const std::string & ,
const std::string & ,
const unsigned short  )

set the value of an unsigned short parameter

Parameters
[in]l: name of the library
[in]s: name of function or mechanical behaviour
[in]h: modelling hypothesis
[in]p: parameter name
[in]v: value

◆ setParameter() [6/6]

void tfel::system::ExternalLibraryManager::setParameter ( const std::string & ,
const std::string & ,
const std::string & ,
const unsigned short  )

set the value of an unsigned short parameter

Parameters
[in]l: name of the library
[in]s: name of function or mechanical behaviour
[in]p: parameter name
[in]v: value

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