25 #ifndef _GEMA_LEM_FACTORY_H_ 26 #define _GEMA_LEM_FACTORY_H_ 33 #include <gmpFemPhysicsCommonMaterial.h> 38 #include "lemVersion.h" 55 static GmpFemPhysicsCommonMaterialFactory
matFactory;
62 const QVariantMap& map = ourInfo->
attributes().value(
"constants").value<QVariantMap>().value(
"materialModels").value<QVariantMap>();
76 assert(category == GM_PLUGIN_PHYSICS);
79 if (objType ==
"TimoshenkoPS")
81 if (objType ==
"TimoshenkoPE")
83 if (objType ==
"Timoshenko3D")
85 else if (objType ==
"Spring")
Declaration of the LemMechanicalTBeam class.
const GmpFemPhysicsCommonMaterialFactory * matFactory(GmSimulationData *simulation)
Returns the single material factory used by created physics.
Definition: lemFactory.h:53
const GmLogCategory & logger()
const QVariantMap & attributes() const
Declaration of the LemMechanicalPhysics class.
GmPluginInfo * pluginInfo(QString pluginName) const
Declaration of the LemMaterialElastic class.
GmPluginLoader * loader() const
LemFactory()
Default constructor.
Definition: lemFactory.h:50
Basic class for Timoshenko Beam plugin object.
Definition: lemMechanicalTBeam.h:34
virtual const QStringList & versionInfo() const
Retuns version information for the plugin. See comments on the base class.
Definition: lemFactory.h:92
virtual const QStringList & depVersionInfo() const
Retuns dependency version information for the plugin. See comments on the base class.
Definition: lemFactory.h:95
Implementation of the MechanicalFemPhysics factory plugin.
Definition: lemFactory.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: lemMaterialElastic.h:57
#define GmPluginObjectFactoryInterfaceIID