25#ifndef _GEMA_PLUGIN_MECHANICALMATERIAL_HYPERELASTIC_H_
26#define _GEMA_PLUGIN_MECHANICALMATERIAL_HYPERELASTIC_H_
29#include "gmpFemPhysics.h"
65 virtual const QVariantMap* materialMetaDataMap();
68 virtual bool checkLoadedData(
const GmElement* e)
const;
76 virtual bool updateDeformationGradient(
GmMatrix& F,
const GmElement* e,
const GmVector* coord,
int ip,
bool ips =
false)
const;
86 return propertyAc(E_ID)->scalarValueAt(e, coord, ip);
97 return nuAcc->scalarValueAt(e, coord, ip);
Definition gmpMechanicPoint.h:33
Basic class providing the interface for a mechanical material.
Definition gmpMechanicalMaterial.h:43
virtual bool mechanicalConstitutiveModel(const GmElement *e, GmMatrix &Dep, const GmpMechanicPoint *mp, const GmVector *coord, const GmVector &Time, unsigned nc, bool ips=false) const =0
Evaluates stress and tangent matrix according to the material behavior adopted.
Definition gmpMaterialHyperelastic.h:36
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 gmpMaterialHyperelastic.h:58
virtual double poissonRatio(const GmElement *e, const GmVector *coord, int ip) const
Returns the material poisson ratio.
Definition gmpMaterialHyperelastic.h:89
virtual bool isIsotropic() const
Returns true if the material is isotropic, false otherwise.
Definition gmpMaterialHyperelastic.h:74
ElementPropertyIds
IDs for material element properties.
Definition gmpMaterialHyperelastic.h:40
@ E_ID
Id for retrieving the Young's Modulus accessor.
Definition gmpMaterialHyperelastic.h:41
@ NU_ID
Id for retrieving the Poisson's ratio accessor.
Definition gmpMaterialHyperelastic.h:42
@ NUM_PROPERTY_IDS
The number of property ids above.
Definition gmpMaterialHyperelastic.h:45
virtual ~GmpMechanicalMaterialHyperelastic()
Virtual destructor.
Definition gmpMaterialHyperelastic.h:55
virtual double elasticModulus(const GmElement *e, const GmVector *coord, int ip) const
Returns the material elastic modulus.
Definition gmpMaterialHyperelastic.h:78
GmpMechanicalMaterialHyperelastic(int typeIndex, QString typeName, const GmLogCategory &logger)
Constructor. Gets as parameters the material index and its name.
Definition gmpMaterialHyperelastic.h:51
Declaration of the GmpMechanicPoint class.
Declaration of useful configuration definitions for the plugin library.
Declaration of the GmpMechanicalMaterial class.