24#ifndef _GEMA_PLUGIN_MECHANICALINTERFACE_H_
25#define _GEMA_PLUGIN_MECHANICALINTERFACE_H_
29#include <gmpFemPhysicsCommon.h>
41 const GmpFemPhysicsCommonMaterialFactory* matFactory,
const GmLogCategory& logger);
51 virtual bool beforeElementStiffnessLoop(
const GmpFemMatrixSet& elemMatrices,
const GmpFemVectorSet& elemVectors);
53 virtual FemResultType fillElementData(
const GmElement* e, GmpFemMatrixSet& elemMatrices, GmpFemVectorSet& elemVectors);
70 virtual FemResultType fillElementDataForLoads(
const GmElement* e,
int loadId, GmpFemVectorSet& elemVectors);
73 virtual bool addStateItemsToGroup(
GmStateDump* state,
bool fixedHint,
int groupId);
91 virtual bool setInitialConditions();
Basic class for the mechanical interface element plugin object.
Definition gmpMechanicalInterface.h:37
InterfaceGaussAttributeIds
IDs for physics Gauss attributes.
Definition gmpMechanicalInterface.h:77
@ SDVOLD_GA_ID
Id for retrieving the damage variable accessor at the previous state.
Definition gmpMechanicalInterface.h:79
@ NUM_GA_IDS
The number of gauss attributes.
Definition gmpMechanicalInterface.h:85
@ IV_GA_ID
Base Id for Gauss attribute(s) used to store the internal variable at the current state.
Definition gmpMechanicalInterface.h:80
@ IVOLD_GA_ID
Id for retrieving the internal variable accessor at the previous state.
Definition gmpMechanicalInterface.h:81
Basic class for the mechanical physics plugin object.
Definition gmpMechanicalPhysics.h:38
virtual const QVariantMap * physicsMetaDataMap()
Returns a reference for the single mechanical physics attribute map, built when the function is calle...
Definition gmpMechanicalPhysics.cpp:64
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:240
@ NUM_GA_IDS
The number of Gauss attribute ids above.
Definition gmpMechanicalPhysics.h:161
Declaration of the GmpMechanicalPhysics class.