ESyS-Particle  2.3.4
EWallInteraction.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 __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);
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
CWall
base class for all walls
Definition: Wall.h:40
CElasticWallInteraction
unbonded elastic interaction between a particle and a wall
Definition: EWallInteraction.h:31
RotParticle.h
EWallInteraction.h
AWallInteraction
Abstract base for all interactions between a particle and a wall.
Definition: WallInteraction.h:30
Wall.h
CElasticWallInteraction::m_k
double m_k
spring constant
Definition: EWallInteraction.h:33
EWallInteraction.hpp
WallInteraction.h
CElasticWallInteraction::CElasticWallInteraction
CElasticWallInteraction()
Vec3
Definition: vec3.h:47
CElasticWallInteraction::getForce
virtual Vec3 getForce()
Definition: EWallInteraction.hpp:84
CElasticWallInteraction::calcForces
virtual void calcForces()
Definition: EWallInteraction.hpp:42
CElasticWallInteraction::~CElasticWallInteraction
virtual ~CElasticWallInteraction()
Definition: EWallInteraction.h:37
CElasticWallInteraction::getStiffness
virtual double getStiffness()
Definition: EWallInteraction.hpp:100
CElasticWallInteraction::setPP
virtual void setPP(const vector< T * >)
Definition: EWallInteraction.h:41
Particle.h