FemProcess
The GeMA Fem Process Plugin
gmpFemPhysicsData.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_DATA_H_
25 #define _GEMA_PLUGIN_FEM_PHYSICS_DATA_H_
26 
27 #include "gmpFemProcessConfig.h"
28 #include <assert.h>
29 #include <QList>
30 #include "gmVector.h"
31 
33 class GMP_FEM_PROCESS_API_EXPORT GmpFemPhysicsData
34 {
35 public:
37 
38  virtual ~GmpFemPhysicsData();
39 
41  virtual int numNodes() { return _nodes.size(); };
42 
44  virtual double numElemData() { return _elemData.size(); };
45 
47  virtual void addNode(GmVector& Node);
48 
50  virtual void insertNodeCoordinates(GmVector C, int index);
51 
53  virtual void addElementData(int id, QList<int>& data);
54 
56  virtual QList<int> elementData(int id) const;
57 
59  virtual GmVector nodeCoordinates(int id);
60 
61 private:
62 
65 
66 };
67 
68 #endif
virtual double numElemData()
Returns number of element data.
Definition: gmpFemPhysicsData.h:44
virtual int numNodes()
Returns number of additional nodes.
Definition: gmpFemPhysicsData.h:41
QList< GmVector > _nodes
List with fracture nodes.
Definition: gmpFemPhysicsData.h:63
A simple class to store additional Data required by Fem physics.
Definition: gmpFemPhysicsData.h:33
arma::vec GmVector
QMap< int, QList< int > > _elemData
List with fracture Data.
Definition: gmpFemPhysicsData.h:64
Declaration of usefull configuration definitions for the plugin library.