26#ifndef _GEMA_PLUGIN_BAR_H_
27#define _GEMA_PLUGIN_BAR_H_
30#include <gmpFemPhysicsCommon.h>
43 const GmpFemPhysicsCommonMaterialFactory* matFactory,
const GmLogCategory& logger);
62 virtual FemResultType
fillElementData(
const GmElement* e, GmpFemMatrixSet& elemMatrices, GmpFemVectorSet& elemVectors);
Basic class for the standard stress bar physics plugin object.
Definition gmpBar.h:38
virtual bool checkAndLoadAttributeAccessors(LuaTable &nodeTable, LuaTable &cellTable, LuaTable &gaussTable)
Reimplementation of the common function to init the _mechanicPoint structure.
Definition gmpBar.cpp:103
GmpBar(const char *pluginType, GmSimulationData *simulation, QString id, QString description, const GmpFemPhysicsCommonMaterialFactory *matFactory, const GmLogCategory &logger)
Constructor.
Definition gmpBar.cpp:53
virtual FemResultType fillElementData(const GmElement *e, GmpFemMatrixSet &elemMatrices, GmpFemVectorSet &elemVectors)
Fills the element internal force and stiffness.
Definition gmpBar.cpp:138
virtual double fillBuMatrix(const GmElement *e, const GmShape *shape, const GmVector &ncoord, const GmMatrix &X, const GmVector &N, const GmMatrix &J, GmMatrix &Bp)
Given a point 'ncood', the element coordinate matrix 'X', the point shape functions 'N' and the trans...
Definition gmpBar.cpp:315
virtual ~GmpBar()
Destructor.
Definition gmpBar.cpp:60
virtual void updateNodalCoordinates(const GmElement *e, GmMatrix &Xe, const GmVector &ue) const
Updates the nodal coordinates using nodal displacements Xen = Xe + ue.
Definition gmpBar.cpp:439
virtual bool calcDerivedResults(bool nonLinearSolver)
Recovers per element stresses for bar elements, storing the results in an element attribute.
Definition gmpBar.cpp:343
barPropertyIds
IDs for physics element properties.
Definition gmpBar.h:50
@ NUM_PROPER_IDS
The number of property ids above.
Definition gmpBar.h:54
@ AREA_ID
Id for retrieving the accessor of cross section area.
Definition gmpBar.h:51
double calcElementStress(GmElement *e)
Calculates the bar internal stress.
Definition gmpBar.cpp:394
virtual const QVariantMap * physicsMetaDataMap()
Returns a reference for the single Hydraulics attribute map, built when the function is called for th...
Definition gmpBar.cpp:65
Basic class for the mechanical physics plugin object.
Definition gmpMechanicalPhysics.h:38
@ NUM_PROPER_IDS
The number of property ids above.
Definition gmpMechanicalPhysics.h:175
Declaration of the GmpMechanicalPhysics class.