ESyS-Particle  2.3
ABCDampingIGP.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 __ABCDAMPING_IGP_H
14 #define __ABCDAMPING_IGP_H
15 
16 // -- project includes --
17 #include "Model/DampingIGP.h"
18 #include "Foundation/vec3.h"
19 
23 class ABCDampingIGP : public CDampingIGP
24 {
25  protected:
27  double m_c1;
28 
29  public:
31  ABCDampingIGP(const string&,const string&,double,double,int,const Vec3&,const Vec3&,const Vec3&,double);
32 
33  virtual void packInto(CVarMPIBuffer*) const;
34 
35  void setPos(const Vec3& p){m_pos=p;};
36  Vec3 getPos(){return m_pos;};
37  void setNormal(const Vec3& n){m_normal=n;};
38  Vec3 getNormal(){return m_normal;};
39  void setC1(double d){m_c1=d;};
40  double getC1(){return m_c1;};
41 };
42 
44 
45 #endif // __ABCDAMPING_IGP_H
void setNormal(const Vec3 &n)
Definition: ABCDampingIGP.h:37
Definition: vec3.h:46
void setC1(double d)
Definition: ABCDampingIGP.h:39
ABCDampingIGP()
Definition: ABCDampingIGP.h:30
virtual void packInto(CVarMPIBuffer *) const
Definition: ABCDampingIGP.cpp:36
double getC1()
Definition: ABCDampingIGP.h:40
Definition: ABCDampingIGP.h:23
Vec3 getNormal()
Definition: ABCDampingIGP.h:38
void setPos(const Vec3 &p)
Definition: ABCDampingIGP.h:35
Abstract base class for MPI send/recv buffer.
Definition: mpibuf.h:33
Vec3 getPos()
Definition: ABCDampingIGP.h:36
Interaction group parameters for CDampingGroup.
Definition: DampingIGP.h:27
MPI send/recv buffer with automagically adjusted size.
Definition: mpivbuf.h:34
Vec3 m_normal
Definition: ABCDampingIGP.h:26
double m_c1
Definition: ABCDampingIGP.h:27
Vec3 m_pos
Definition: ABCDampingIGP.h:26
ABCDampingIGP * extractABCDampingIGP(AMPIBuffer *)
Definition: ABCDampingIGP.cpp:49