ESyS-Particle  4.0.1
EEdgeInteraction.h
1 
2 // //
3 // Copyright (c) 2003-2011 by The University of Queensland //
4 // Earth Systems Science Computational Centre (ESSCC) //
5 // http://www.uq.edu.au/esscc //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 #ifndef __EEDGEINTERACTION_H
14 #define __EEDGEINTERACTION_H
15 
16 // -- Project includes --
17 #include "Foundation/vec3.h"
18 #include "Geometry/Edge.h"
19 #include "Model/Particle.h"
20 #include "Model/ETriMeshIP.h"
30 {
31  private:
32  CParticle *m_p;
33  Edge *m_edge;
34  double m_k;;
35 
39  bool m_inner_flag;
40 
41  public:
43  EEdgeInteraction(CParticle*,Edge*,ETriMeshIP,bool iflag=true);
44  virtual ~EEdgeInteraction();
45 
46  bool isInner(){return m_inner_flag;};
47  virtual void calcForces();
48 };
49 #endif // __EEDGEINTERACTION_H