ESyS-Particle
4.0.1
|
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 #ifndef __EEDGE2DINTERACTION_H 00013 #define __EEDGE2DINTERACTION_H 00014 00015 // -- Project includes -- 00016 #include "Foundation/vec3.h" 00017 #include "Geometry/Edge2D.h" 00018 #include "Model/Particle.h" 00019 #include "Model/ETriMeshIP.h" 00020 00029 class EEdge2DInteraction 00030 { 00031 private: 00032 CParticle *m_p; 00033 Edge2D *m_edge; 00034 double m_k; 00035 00039 bool m_inner_flag; 00040 00041 public: 00042 EEdge2DInteraction(); 00043 EEdge2DInteraction(CParticle*,Edge2D*,ETriMeshIP,bool iflag=true); 00044 virtual ~EEdge2DInteraction(); 00045 00046 bool isInner(){return m_inner_flag;}; 00047 virtual void calcForces(); 00048 }; 00049 #endif // __EEDGE2DINTERACTION_H