ESyS-Particle  2.3
SoftBWallInteraction.h
Go to the documentation of this file.
1 // //
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 __SOFTBWALLINTERACTION_H
14 #define __SOFTBWALLINTERACTION_H
15 
16 #include "WallInteraction.h"
17 #include "Wall.h"
18 
28 template <class T>
30 {
31 protected:
33 public:
35  CSoftBondedWallInteraction(T*,CWall*,double,double,bool,bool);
37 
38  virtual void calcForces();
39  virtual Vec3 getForce();
40  virtual void setPP(const vector<T*>){};
41  virtual double getStiffness(){return m_normalK;};
42 };
43 
45 
46 #endif //__SOFTBWALLINTERACTION_H
virtual ~CSoftBondedWallInteraction()
Definition: SoftBWallInteraction.h:36
virtual void setPP(const vector< T * >)
Definition: SoftBWallInteraction.h:40
Definition: vec3.h:46
Abstract base for all interactions between a particle and a wall.
Definition: WallInteraction.h:29
virtual double getStiffness()
Definition: SoftBWallInteraction.h:41
base class for all walls
Definition: Wall.h:39
virtual Vec3 getForce()
Definition: SoftBWallInteraction.hpp:77
virtual void calcForces()
Definition: SoftBWallInteraction.hpp:47
double m_shearK
directional spring constants
Definition: SoftBWallInteraction.h:32
double m_normalK
Definition: SoftBWallInteraction.h:32
bonded elastic interaction between a particle and a wall with different spring constants in the norma...
Definition: SoftBWallInteraction.h:29