Lem
The Lem Plugin
Public Member Functions | Static Public Member Functions | Protected Types | List of all members
LemMaterialElastic Class Reference
Inheritance diagram for LemMaterialElastic:
Inheritance graph
[legend]
Collaboration diagram for LemMaterialElastic:
Collaboration graph
[legend]

Public Member Functions

 LemMaterialElastic (int typeIndex, QString typeName, const GmLogCategory &logger)
 Constructor. Gets as parameters the material index and its name.
 
virtual ~LemMaterialElastic ()
 Virtual destructor.
 
virtual const QVariantMap * materialMetaDataMap ()
 Returns a pointer to the material attribute map, built when the function is called for the first time. More...
 
virtual bool returnMapping (const GmElement *e, GmMatrix &Dep, const lemMechanicPoint *mp, const GmVector *coord, unsigned nc, unsigned ips) const
 Returns the stresses according to the material behavior adopted.
 
virtual void tangentModulus (const GmElement *e, GmMatrix &Dep, const lemMechanicPoint *mp, const GmVector *coord, unsigned nc, unsigned ips) const
 Returns the constitutive tangent matrix.
 
virtual bool isIsotropic () const
 Returns true if the material is isotropic, false otherwise.
 
virtual double elasticModulus (const GmElement *e, const GmVector *coord, int ip) const
 Returns the material elastic modulus.
 
virtual double poissonRatio (const GmElement *e, const GmVector *coord, int ip) const
 Returns the material poisson ratio.
 
virtual double bulkModulus (const GmElement *, const GmVector *, int) const
 Returns the bulk modulus from E and nu.
 
virtual double shearModulus (const GmElement *, const GmVector *, int) const
 Returns the Shear modulus from E and nu.
 
- Public Member Functions inherited from LemMechanicalMaterial
 LemMechanicalMaterial (int typeIndex, QString typeName, const GmLogCategory &logger)
 Constructor. Gets as parameters the material index and its name.
 
virtual ~LemMechanicalMaterial ()
 Virtual destructor.
 

Static Public Member Functions

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.
 

Protected Types

enum  ElementPropertyIds { E_ID, NU_ID, NUM_PROPERTY_IDS }
 IDs for material element properties. More...
 

Member Enumeration Documentation

◆ ElementPropertyIds

IDs for material element properties.

Enumerator
E_ID 

Id for retrieving the Young's Modulus accessor.

NU_ID 

Id for retrieving the Poisson's ratio accessor.

NUM_PROPERTY_IDS 

The number of property ids above.

Member Function Documentation

◆ materialMetaDataMap()

const QVariantMap * LemMaterialElastic::materialMetaDataMap ( )
virtual

Returns a pointer to the material attribute map, built when the function is called for the first time.

This table includes the attributes treated by the base class, GmpMechanicalMaterial, adding the Young modulus 'E' and Poisson Ratio 'nu'

Implements LemMechanicalMaterial.


The documentation for this class was generated from the following files: