25#ifndef _GEMA_PLUGIN_MECHANICALMATERIAL_POROUSELASTIC_H_
26#define _GEMA_PLUGIN_MECHANICALMATERIAL_POROUSELASTIC_H_
29#include "gmpFemPhysics.h"
88 if (propertyAc(ksc_ID) != NULL)
90 return propertyAc(ksc_ID)->scalarValueAt(e, coord, ip);
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
Definition gmpMaterialPorousElastic.h:37
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 gmpMaterialPorousElastic.h:70
virtual bool isIsotropic() const
Returns true if the material is isotropic, false otherwise.
Definition gmpMaterialPorousElastic.h:83
virtual ~GmpMechanicalMaterialPorousElastic()
Virtual destructor.
Definition gmpMaterialPorousElastic.h:67
ElementPropertyIds
IDs for material element properties.
Definition gmpMaterialPorousElastic.h:41
@ NUM_PROPERTY_IDS
The number of property ids above.
Definition gmpMaterialPorousElastic.h:46
GmpMechanicalMaterialPorousElastic(int typeIndex, QString typeName, const GmLogCategory &logger)
Constructor. Gets as parameters the material index and its name.
Definition gmpMaterialPorousElastic.h:63
GaussAttributeIds
IDs for material Gauss attributes.
Definition gmpMaterialPorousElastic.h:51
@ Pht_GA_ID
Base Id for Gauss attribute(s) used to store the calculated porosity at the current state.
Definition gmpMaterialPorousElastic.h:52
@ PhtOLD_GA_ID
Id for retrieving the porosity accessor at the previous state (old porosity)
Definition gmpMaterialPorousElastic.h:53
@ NUM_GA_IDS
The number of Gauss attribute ids above.
Definition gmpMaterialPorousElastic.h:57
virtual double swellingCompressionCoefficient(const GmElement *e, const GmVector *coord, int ip) const
Returns the material elastic modulus.
Definition gmpMaterialPorousElastic.h:86
Declaration of the GmpMechanicalMaterialElastic class.
Declaration of useful configuration definitions for the plugin library.
Declaration of the GmpMechanicalMaterial class.
Declaration of the GmpMechanicalPhysics class.