ESyS-Particle  4.0.1
ETriangleInteraction.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 __ETRIANGLEINTERACTION_H
14 #define __ETRIANGLEINTERACTION_H
15 
16 // -- Project includes --
17 #include "Foundation/vec3.h"
18 #include "Geometry/Triangle.h"
19 #include "Model/Particle.h"
20 #include "Model/ETriMeshIP.h"
21 
31 {
32  private:
33  CParticle *m_p;
34  Triangle *m_t;
35  double m_k;
40  bool m_inner_flag;
41 
42  public:
43  typedef ETriMeshIP ParameterType;
44 
47  virtual ~ETriangleInteraction();
48 
49  bool isInner(){return m_inner_flag;};
50  virtual void calcForces();
51 };
52 #endif //__ETRIANGLEINTERACTION_H