ESyS-Particle  4.0.1
EWallInteraction.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 __EWALLINTERACTION_H
14 #define __EWALLINTERACTION_H
15 
16 #include "Model/WallInteraction.h"
17 #include "Model/Wall.h"
18 #include "Model/Particle.h"
19 #include "Model/RotParticle.h"
20 
29 template <class T>
31 {
32 protected:
33  double m_k;
34 public:
36  CElasticWallInteraction(T*,CWall*,double,bool);
37  virtual ~CElasticWallInteraction(){};
38 
39  virtual void calcForces();
40  virtual Vec3 getForce();
41  virtual void setPP(const vector<T*>){};
42  virtual double getStiffness();
43 };
44 
45 #include "EWallInteraction.hpp"
46 
47 #endif //__EWALLINTERACTION_H