ESyS-Particle  2.3.2
ESphereBodyInteraction.h
Go to the documentation of this file.
1 
2 // //
3 // Copyright (c) 2003-2014 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
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 __ESPHEREBODYINTERACTION_H
14 #define __ESPHEREBODYINTERACTION_H
15 
17 #include "Model/SphereBody.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:
38 
39  virtual void calcForces();
40  virtual Vec3 getForce();
41  virtual void setPP(const vector<T*>){};
42  virtual double getStiffness();
43 };
44 
46 
47 #endif //__ESPHEREBODYINTERACTION_H