24 #ifndef _GEMA_PLUGIN_MECHANICALINTERFACE_H_ 25 #define _GEMA_PLUGIN_MECHANICALINTERFACE_H_ 29 #include <gmpFemPhysicsCommon.h> 41 const GmpFemPhysicsCommonMaterialFactory* matFactory,
const GmLogCategory& logger);
49 virtual bool checkAndLoadAttributeAccessors(
LuaTable& nodeTable,
LuaTable& gaussTable);
51 virtual bool beforeElementStiffnessLoop(
const GmpFemMatrixSet& elemMatrices,
const GmpFemVectorSet& elemVectors);
53 virtual FemResultType fillElementData(
const GmElement* e, GmpFemMatrixSet& elemMatrices, GmpFemVectorSet& elemVectors);
76 virtual FemResultType fillElementDataForLoads(
const GmElement* e,
int loadId, GmpFemVectorSet& elemVectors);
79 virtual bool addStateItemsToGroup(
GmStateDump* state,
bool fixedHint,
int groupId);
97 virtual bool setInitialConditions();
Base Id for Gauss attribute(s) used to store the internal variable at the current state.
Definition: gmpMechanicalInterface.h:86
Declaration of the GmpMechanicalPhysics class.
InterfaceGaussAttributeIds
IDs for physics Gauss attributes.
Definition: gmpMechanicalInterface.h:82
Id for retrieving the damage variable accessor at the previous state.
Definition: gmpMechanicalInterface.h:85
void fillElementDisplacements(const GmElement *e, GmVector &ue)
Given an element, fills the vector 'ue' with nodal displacements. The vector should have size equal t...
Definition: gmpMechanicalPhysics.cpp:234
virtual const QVariantMap * physicsMetaDataMap()
Returns a reference for the single mechanical physics attribute map, built when the function is calle...
Definition: gmpMechanicalPhysics.cpp:64
Id for retrieving the internal variable accessor at the previous state.
Definition: gmpMechanicalInterface.h:87
The number of gauss attributes.
Definition: gmpMechanicalInterface.h:91
The number of Gauss attribute ids above.
Definition: gmpMechanicalPhysics.h:158
Basic class for the mechanical interface element plugin object.
Definition: gmpMechanicalInterface.h:36
Basic class for the mechanical physics plugin object.
Definition: gmpMechanicalPhysics.h:37