FemProcess
The GeMA Fem Process Plugin
Loading...
Searching...
No Matches
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
36class GMP_FEM_PROCESS_API_EXPORT GmpFemPhysicsCoupled : public GmpFemPhysicsCommon
37{
38public:
39
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);
53
54protected:
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& cellTable, LuaTable& gaussTable);
60 virtual bool checkAndLoadBcAccessors();
61 virtual bool checkAndLoadContactBcAccessors();
63
64 virtual bool beforeElementStiffnessLoop(const GmpFemMatrixSet& elemMatrices, const GmpFemVectorSet& elemVectors);
65
66private:
68};
69
70
71#endif
A convenience class that builds a GmMatrixSet with the types given by GmpFemMatrixTypes and also asso...
Definition gmpFemMatrixSet.h:59
A class that implements several common functions required by GmpFemPhysics.
Definition gmpFemPhysicsCommon.h:41
virtual bool checkAndLoadContactBcAccessors()
Check and load contact boundary condition accessors for the values described in the "cbc" entry of th...
Definition gmpFemPhysicsCommon.cpp:1261
virtual bool checkAndLoadBcAccessors()
Check and load boundary condition accessors for the values described in the "bc" entry of the physics...
Definition gmpFemPhysicsCommon.cpp:1249
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:760
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:604
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:700
virtual bool checkAndLoadAttributeAccessors(LuaTable &nodeTable, LuaTable &cellTable, LuaTable &gaussTable)
Check and load node, cell and gauss attribute accessors for the values described in the "nodeAttribut...
Definition gmpFemPhysicsCommon.cpp:856
virtual bool checkAndLoadDiscontinuitySetAccessors(LuaTable &table)
Check discontinuity set existance against the dsMode and dsElements attributes. Also loads discontinu...
Definition gmpFemPhysicsCommon.cpp:1401
A simple factory used to register material type names, their numeric indices and their instance funct...
Definition gmpFemPhysicsCommonMaterial.h:157
A class deriving from GmpFemPhysicsCommon that contains references for other physics objects that are...
Definition gmpFemPhysicsCoupled.h:37
QVector< GmpFemPhysicsCommon * > _physList
The set of auxiliar physics used by this one.
Definition gmpFemPhysicsCoupled.h:67
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
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:238
A convenience class that builds a GmVectorSet with the types given by GmpFemVectorTypes and also asso...
Definition gmpFemVectorSet.h:50
Declaration of the GmpFemPhysicsCommon class.