ESyS-Particle  2.3.4
SoftBWallInteraction.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 __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
CWall
base class for all walls
Definition: Wall.h:40
CSoftBondedWallInteraction::getStiffness
virtual double getStiffness()
Definition: SoftBWallInteraction.h:41
CSoftBondedWallInteraction
bonded elastic interaction between a particle and a wall with different spring constants in the norma...
Definition: SoftBWallInteraction.h:30
CSoftBondedWallInteraction::~CSoftBondedWallInteraction
virtual ~CSoftBondedWallInteraction()
Definition: SoftBWallInteraction.h:36
CSoftBondedWallInteraction::CSoftBondedWallInteraction
CSoftBondedWallInteraction()
AWallInteraction
Abstract base for all interactions between a particle and a wall.
Definition: WallInteraction.h:30
Wall.h
SoftBWallInteraction.h
WallInteraction.h
CSoftBondedWallInteraction::m_shearK
double m_shearK
directional spring constants
Definition: SoftBWallInteraction.h:32
Vec3
Definition: vec3.h:47
CSoftBondedWallInteraction::calcForces
virtual void calcForces()
Definition: SoftBWallInteraction.hpp:47
CSoftBondedWallInteraction::getForce
virtual Vec3 getForce()
Definition: SoftBWallInteraction.hpp:77
CSoftBondedWallInteraction::m_normalK
double m_normalK
Definition: SoftBWallInteraction.h:32
CSoftBondedWallInteraction::setPP
virtual void setPP(const vector< T * >)
Definition: SoftBWallInteraction.h:40
SoftBWallInteraction.hpp