FemProcess
The GeMA Fem Process Plugin
gmpFemPhysicsCoupled.h
Go to the documentation of this file.
1 /************************************************************************
2 **
3 ** Copyright (C) 2014 by Carlos Augusto Teixera Mendes
4 ** All rights reserved.
5 **
6 ** This file is part of the "GeMA" software. It's use should respect
7 ** the terms in the license agreement that can be found together
8 ** with this source code.
9 ** It is provided AS IS, with NO WARRANTY OF ANY KIND,
10 ** INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR
11 ** A PARTICULAR PURPOSE.
12 **
13 ************************************************************************/
14 
24 #ifndef _GEMA_PLUGIN_FEM_PHYSICS_COUPLED_H_
25 #define _GEMA_PLUGIN_FEM_PHYSICS_COUPLED_H_
26 
27 #include "gmpFemPhysicsCommon.h"
28 
29 
36 class GMP_FEM_PROCESS_API_EXPORT GmpFemPhysicsCoupled : public GmpFemPhysicsCommon
37 {
38 public:
39 
43  GmpFemPhysicsCoupled(GmSimulationData* simulation, QString id, QString description,
44  const GmpFemPhysicsCommonMaterialFactory* matFactory, const GmLogCategory& logger)
45  : GmpFemPhysicsCommon(simulation, id, description, matFactory, logger)
46  {
47  }
48 
49  virtual ~GmpFemPhysicsCoupled();
50 
51  GmpFemPhysicsCommon* addPhysics(QString objTypeName);
52  GmpFemPhysicsCommon* addPhysics(GmpFemPhysicsCommon* phys);
53 
54 protected:
55 
56  virtual bool checkAndLoadPrivateData(LuaTable& table);
57  virtual bool checkAndLoadDofMapping(LuaTable& table);
58  virtual bool checkAndLoadPropertyAccessors(LuaTable& table);
59  virtual bool checkAndLoadAttributeAccessors(LuaTable& nodeTable, LuaTable& gaussTable);
60  virtual bool checkAndLoadBcAccessors();
61  virtual bool checkAndLoadContactBcAccessors();
62 
63  virtual bool beforeElementStiffnessLoop(const GmpFemMatrixSet& elemMatrices, const GmpFemVectorSet& elemVectors);
64 
65 private:
67 };
68 
69 
70 #endif
A class that implements several common functions required by GmpFemPhysics.
Definition: gmpFemPhysicsCommon.h:40
virtual bool checkAndLoadDofMapping(LuaTable &table)
Prepares the list of degrees of freedom evaluated by this physics object based on the "stateVars" ent...
Definition: gmpFemPhysicsCommon.cpp:690
virtual bool checkAndLoadPropertyAccessors(LuaTable &table)
Check and load property accessors for the values described in the "properties" entry of the physics d...
Definition: gmpFemPhysicsCommon.cpp:757
A convenience class that builds a GmVectorSet with the types given by GmpFemVectorTypes and also asso...
Definition: gmpFemVectorSet.h:47
A convenience class that builds a GmMatrixSet with the types given by GmpFemMatrixTypes and also asso...
Definition: gmpFemMatrixSet.h:56
QVector< GmpFemPhysicsCommon * > _physList
The set of auxiliar physics used by this one.
Definition: gmpFemPhysicsCoupled.h:66
A simple factory used to register material type names, their numeric indices and their instance funct...
Definition: gmpFemPhysicsCommonMaterial.h:145
GmpFemPhysicsCoupled(GmSimulationData *simulation, QString id, QString description, const GmpFemPhysicsCommonMaterialFactory *matFactory, const GmLogCategory &logger)
Constructor with same parameters as GmpFemPhysicsCommon. Should be followed by calls to addPhysics() ...
Definition: gmpFemPhysicsCoupled.h:43
Declaration of the GmpFemPhysicsCommon class.
virtual bool checkAndLoadPrivateData(LuaTable &table)
Check and load physics attributes for the values described in the "attributes" entry of the physics d...
Definition: gmpFemPhysicsCommon.cpp:594
virtual bool checkAndLoadBcAccessors()
Check and load boundary condition accessors for the values described in the "bc" entry of the physics...
Definition: gmpFemPhysicsCommon.cpp:1156
virtual bool checkAndLoadContactBcAccessors()
Check and load contact boundary condition accessors for the values described in the "cbc" entry of th...
Definition: gmpFemPhysicsCommon.cpp:1168
A class deriving from GmpFemPhysicsCommon that contains references for other physics objects that are...
Definition: gmpFemPhysicsCoupled.h:36
virtual bool beforeElementStiffnessLoop(const GmpFemMatrixSet &elemMatrices, const GmpFemVectorSet &elemVectors)
Method called by the Fem process to notify the physical object that the assembly process will start.
Definition: gmpFemPhysics.h:235
virtual bool checkAndLoadAttributeAccessors(LuaTable &nodeTable, LuaTable &gaussTable)
Check and load node and gauss attribute accessors for the values described in the "nodeAttributes" an...
Definition: gmpFemPhysicsCommon.cpp:853