![]() |
MechanicalFemPhysics
The GeMA Mechanical FEM Physics Plugin
|
A Mechanical material whose behaviour is implemented through Lua functions. More...
#include <gmpMaterialLua.h>


Public Member Functions | |
| GmpMechanicalMaterialLua (const GmPluginData *pdata, int typeIndex, QString typeName, const GmLogCategory &logger) | |
| virtual bool | mechanicalConstitutiveModel (const GmElement *e, GmMatrix &Dep, const GmpMechanicPoint *mp, const GmVector *coord, const GmVector &Time, unsigned nc, bool ips=false) const |
| The mechanicalConstitutiveModel() interface method implementation based on the constitutiveModel() user Lua function. | |
| virtual bool | isIsotropic () const |
| The isIsotropic() interface method implementation based on the isIsotropic field on the plugin data. | |
| virtual bool | setInitialConditions (const GmElement *e, GmpMechanicPoint *mp, const GmVector *coord, unsigned sc) const |
| The setInitialConditions() interface method implementation based on the setInitialConditions() user Lua function. | |
| virtual bool | updateDeformationGradient (GmMatrix &F, const GmElement *e, const GmVector *coord, int ip, bool ips=false) const |
| The updateDeformationGradient() interface method implementation based on the updateDeformationGradient() user Lua function. | |
| virtual bool | calcDerivedResults (const GmElement *e, GmpMechanicPoint *mp, const GmVector *coord, unsigned sc) const |
| The calcDerivedResults() interface method implementation based on the calcDerivedResults() user Lua function. | |
Static Public Member Functions | |
| static GmpFemPhysicsCommonMaterial * | instance (GmSimulationData *simulation, int typeIndex, QString typeName, const GmLogCategory &logger) |
| A "factory" function used to register the material with the physics material factory. Before instancing a material object finds its corresponding PluginData in the simulation data object. Matching is done by typeName. If not found, returns NULL. | |
Static Private Member Functions | |
| static QVariant | getMpValue (QString field, const void *context, const GmElement *e, int ip, const GmVector *coord, const GmLogCategory &logger) |
| The method used to fill the material point values used by the Lua function. | |
| static bool | setMpValue (QString field, const void *context, const GmElement *e, int ip, const QVariant &v) |
| The method used to update the material point values calculated by the Lua function. | |
Static Private Attributes | |
| static QMap< QString, int > | _mpNameMap |
| Maps mechanic point data names used in the user functions to their internal id. More... | |
A Mechanical material whose behaviour is implemented through Lua functions.
Maps mechanic point data names used in the user functions to their internal id.
< Maps mechanic point data names used in the user functions to their internal id
1.8.15