24#ifndef _GEMA_PLUGIN_COUPLED_TM_MATERIAL_H_
25#define _GEMA_PLUGIN_COUPLED_TM_MATERIAL_H_
29#include <gmpFemPhysicsCommonMaterial.h>
30#include <gmpMechanicalMaterial.h>
31#include <gmpInterfaceMaterial.h>
42 : GmpFemPhysicsCommonMaterial(typeIndex, typeName, logger)
44 _thermoMaterial = NULL;
45 _mechanoMaterial = NULL;
58 virtual const QVariantMap* materialMetaDataMap();
63 _thermoMaterial = thermo;
64 _mechanoMaterial = mechano;
71 GmpMechanicalMaterial*
mechanical()
const {
return dynamic_cast<GmpMechanicalMaterial*
>(_mechanoMaterial); }
74 GmpInterfaceMaterial*
interface()
const {
return dynamic_cast<GmpInterfaceMaterial*
>(_mechanoMaterial); }
77 virtual bool thermoMechanicalConstitutiveModel(
const GmElement* e,
GmMatrix& Ded,
const GmpMechanicPoint* mp,
const GmVector* coord,
const GmVector& Time,
double Tg,
unsigned nc,
bool ips)
const ;
80 virtual bool setInitialConditions(
const GmElement* e, GmpMechanicPoint* mp,
const GmVector* coord,
unsigned sc)
const;
Basic class for a coupled hydro-mechanical material object, storing references for a mechanical and a...
Definition gmpCoupledTMMaterial.h:37
virtual ~GmpCoupledTMMaterial()
Destructor.
Definition gmpCoupledTMMaterial.h:49
GmpFemPhysicsCommonMaterial * _thermoMaterial
Hydraulic material.
Definition gmpCoupledTMMaterial.h:83
GmpInterfaceMaterial * interface() const
Returns the mechancial interface material or NULL if none was configured or if the material is not an...
Definition gmpCoupledTMMaterial.h:74
GmpFemPhysicsCommonMaterial * _mechanoMaterial
Mechanical material. Ps: The mechanical plugin does not have a base class common to all materials.
Definition gmpCoupledTMMaterial.h:84
void setPhysicsMaterials(GmpFemPhysicsCommonMaterial *thermo, GmpFemPhysicsCommonMaterial *mechano)
Sets the hydraulic and mechanical materials for this material. Materials CAN be NULL for a physics.
Definition gmpCoupledTMMaterial.h:61
GmpMechanicalMaterial * mechanical() const
Returns the thermal material or NULL if none was configured.
Definition gmpCoupledTMMaterial.h:71
GmpCoupledTMMaterial(int typeIndex, QString typeName, const GmLogCategory &logger)
Constructor. Gets as parameters the material index and its name.
Definition gmpCoupledTMMaterial.h:41
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 gmpCoupledTMMaterial.h:52
Declaration of useful configuration definitions for the plugin library.