ESyS-Particle  4.0.1
BWallInteraction.h
00001 
00002 //                                                         //
00003 // Copyright (c) 2003-2011 by The University of Queensland //
00004 // Earth Systems Science Computational Centre (ESSCC)      //
00005 // http://www.uq.edu.au/esscc                              //
00006 //                                                         //
00007 // Primary Business: Brisbane, Queensland, Australia       //
00008 // Licensed under the Open Software License version 3.0    //
00009 // http://www.opensource.org/licenses/osl-3.0.php          //
00010 //                                                         //
00012 
00013 #ifndef __BWALLINTERACTION_H
00014 #define __BWALLINTERACTION_H
00015 
00016 #include "Model/WallInteraction.h"
00017 #include "Model/Wall.h"
00018 
00028 template <class T>
00029 class CBondedWallInteraction : public AWallInteraction<T>
00030 {
00031 protected:
00032   double m_k;
00033 public:
00034   //  CBondedWallInteraction();
00035   CBondedWallInteraction(T*,CWall*,double,bool);
00036   virtual ~CBondedWallInteraction(){};
00037 
00038   virtual void calcForces();
00039   virtual Vec3 getForce();
00040   virtual void setPP(const vector<T*>){};
00041   virtual double getStiffness(){return m_k;};
00042 };
00043 
00044 #include "BWallInteraction.hpp"
00045 
00046 #endif //__BWALLINTERACTION_H