ESyS-Particle  2.3.4
BWallInteraction.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 __BWALLINTERACTION_H
14 #define __BWALLINTERACTION_H
15 
16 #include "Model/WallInteraction.h"
17 #include "Model/Wall.h"
18 
28 template <class T>
30 {
31 protected:
32  double m_k;
33 public:
34  // CBondedWallInteraction();
35  CBondedWallInteraction(T*,CWall*,double,bool);
37 
38  virtual void calcForces();
39  virtual Vec3 getForce();
40  virtual void setPP(const vector<T*>){};
41  virtual double getStiffness(){return m_k;};
42 };
43 
44 #include "BWallInteraction.hpp"
45 
46 #endif //__BWALLINTERACTION_H
CWall
base class for all walls
Definition: Wall.h:40
CBondedWallInteraction
bonded elastic interaction between a particle and a wall
Definition: BWallInteraction.h:30
CBondedWallInteraction::getForce
virtual Vec3 getForce()
Definition: BWallInteraction.hpp:54
AWallInteraction
Abstract base for all interactions between a particle and a wall.
Definition: WallInteraction.h:30
CBondedWallInteraction::~CBondedWallInteraction
virtual ~CBondedWallInteraction()
Definition: BWallInteraction.h:36
Wall.h
CBondedWallInteraction::m_k
double m_k
spring constant
Definition: BWallInteraction.h:32
BWallInteraction.hpp
WallInteraction.h
CBondedWallInteraction::setPP
virtual void setPP(const vector< T * >)
Definition: BWallInteraction.h:40
CBondedWallInteraction::getStiffness
virtual double getStiffness()
Definition: BWallInteraction.h:41
Vec3
Definition: vec3.h:47
CBondedWallInteraction::CBondedWallInteraction
CBondedWallInteraction(T *, CWall *, double, bool)
Definition: BWallInteraction.hpp:17
CBondedWallInteraction::calcForces
virtual void calcForces()
Definition: BWallInteraction.hpp:38
BWallInteraction.h