ESyS-Particle  4.0.1
ECorner2DInteraction.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 #ifndef __ECORNER2DINTERACTION_H
13 #define __ECORNER2DINTERACTION_H
14 
15 // -- Project includes --
16 #include "Foundation/vec3.h"
17 #include "Geometry/Corner2D.h"
18 #include "Model/Particle.h"
19 #include "Model/ETriMeshIP.h"
20 
30 {
31  private:
32  CParticle *m_p;
33  Corner2D* m_corner;
34  double m_k;;
35 
39  bool m_inner_flag;
40 
41  public:
45 
46  bool isInner(){return m_inner_flag;};
47  virtual void calcForces();
48 };
49 
50 #endif //__ECORNER2DINTERACTION_H