ESyS-Particle  2.3.4
ESphereBodyInteraction.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-2017 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.apache.org/licenses/LICENSE-2.0 //
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
CElasticSphereBodyInteraction::getForce
virtual Vec3 getForce()
Definition: ESphereBodyInteraction.hpp:61
SphereBodyInteraction.h
RotParticle.h
CElasticSphereBodyInteraction
unbonded elastic interaction between a particle and a wall
Definition: ESphereBodyInteraction.h:31
ESphereBodyInteraction.h
CElasticSphereBodyInteraction::m_k
double m_k
spring constant
Definition: ESphereBodyInteraction.h:33
CElasticSphereBodyInteraction::getStiffness
virtual double getStiffness()
Definition: ESphereBodyInteraction.hpp:80
CSphereBody
base class for spherical non-inertial bodies (similar to simple walls)
Definition: SphereBody.h:40
ASphereBodyInteraction
Abstract base for all interactions between a particle and a sphere body.
Definition: SphereBodyInteraction.h:30
CElasticSphereBodyInteraction::CElasticSphereBodyInteraction
CElasticSphereBodyInteraction()
Vec3
Definition: vec3.h:47
CElasticSphereBodyInteraction::~CElasticSphereBodyInteraction
virtual ~CElasticSphereBodyInteraction()
Definition: ESphereBodyInteraction.h:37
CElasticSphereBodyInteraction::calcForces
virtual void calcForces()
Definition: ESphereBodyInteraction.hpp:41
ESphereBodyInteraction.hpp
CElasticSphereBodyInteraction::setPP
virtual void setPP(const vector< T * >)
Definition: ESphereBodyInteraction.h:41
SphereBody.h
Particle.h