24#ifndef _GEMA_PLUGIN_MECHANICALMATERIAL_1DPLASTICITY_H_
25#define _GEMA_PLUGIN_MECHANICALMATERIAL_1DPLASTICITY_H_
29#include "gmpFemPhysics.h"
81 return propertyAc(IYST_ID)->scalarValueAt(e, coord, ip);
91 return pmAc->scalarValueAt(e, coord, ip);
Definition gmpMaterialOneDimPlasticity.h:33
ElementPropertyIds
IDs for material element properties.
Definition gmpMaterialOneDimPlasticity.h:37
@ PMD_ID
Id for retrieving the plastic modulus accessor.
Definition gmpMaterialOneDimPlasticity.h:39
@ NUM_PROPERTY_IDS
The number of property ids above.
Definition gmpMaterialOneDimPlasticity.h:42
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.
Definition gmpMaterialOneDimPlasticity.h:66
GmpMaterialOneDimPlasticity(int typeIndex, QString typeName, const GmLogCategory &logger)
Constructor. Gets as parameters the material index and its name.
Definition gmpMaterialOneDimPlasticity.h:59
virtual double initialYieldStress(const GmElement *e, const GmVector *coord, int ip) const
Returns the material yield stress.
Definition gmpMaterialOneDimPlasticity.h:79
virtual ~GmpMaterialOneDimPlasticity()
Virtual destructor.
Definition gmpMaterialOneDimPlasticity.h:63
elemGaussAttrIds
IDs for Gauss attributes of elastoplastic material.
Definition gmpMaterialOneDimPlasticity.h:46
@ EP_GA_ID
Base Id for Gauss attribute(s) used to store the calculated plastic strain at the current state.
Definition gmpMaterialOneDimPlasticity.h:47
@ DLAMBD_GA_ID
Id for retrieving the plastic multiplier at the plastic state.
Definition gmpMaterialOneDimPlasticity.h:51
@ HARD_GA_ID
Base Id for Gauss attribute(s) used to store the calculated hardening at the current state.
Definition gmpMaterialOneDimPlasticity.h:49
@ NUM_GA_IDS
The number of gauss attributes.
Definition gmpMaterialOneDimPlasticity.h:54
@ EPOLD_GA_ID
Id for retrieving the plastic strain accessor at the previous state (old plastic strain)
Definition gmpMaterialOneDimPlasticity.h:48
@ HARDOLD_GA_ID
Id for retrieving the material point state accessor at the previous state.
Definition gmpMaterialOneDimPlasticity.h:50
virtual bool isIsotropic() const
Returns true if the material is isotropic, false otherwise.
Definition gmpMaterialOneDimPlasticity.h:76
virtual double plasticModulus(const GmElement *e, const GmVector *coord, int ip) const
Returns the material plastic modulus.
Definition gmpMaterialOneDimPlasticity.h:84
Definition gmpMechanicPoint.h:33
Definition gmpMaterialElastic.h:35
virtual bool mechanicalConstitutiveModel(const GmElement *e, GmMatrix &Dep, const GmpMechanicPoint *mp, const GmVector *coord, const GmVector &Time, unsigned nc, bool ips) const
Evaluates stress and tangent matrix according to the material behavior adopted.
Definition gmpMaterialElastic.cpp:83
virtual const QVariantMap * materialMetaDataMap()
Returns a pointer to the material attribute map, built when the function is called for the first time...
Definition gmpMaterialElastic.cpp:40
@ NUM_PROPERTY_IDS
The number of property ids above.
Definition gmpMaterialElastic.h:46
Declaration of the GmpMechanicalMaterialElastic class.
Declaration of the GmpMechanicPoint class.