ESyS-Particle  2.3.4
ABCDampingIGP.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 __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
AMPIBuffer::pop_int
virtual int pop_int()=0
ABCDampingIGP.h
extractABCDampingIGP
ABCDampingIGP * extractABCDampingIGP(AMPIBuffer *)
Definition: ABCDampingIGP.cpp:49
ABCDampingIGP::packInto
virtual void packInto(CVarMPIBuffer *) const
Definition: ABCDampingIGP.cpp:36
ABCDampingIGP::getNormal
Vec3 getNormal()
Definition: ABCDampingIGP.h:38
CVarMPIBuffer
MPI send/recv buffer with automagically adjusted size.
Definition: mpivbuf.h:35
AMPIBuffer::pop_double
virtual double pop_double()=0
CDampingIGP::packInto
virtual void packInto(CVarMPIBuffer *) const
Definition: DampingIGP.cpp:49
ABCDampingIGP::setC1
void setC1(double d)
Definition: ABCDampingIGP.h:39
ABCDampingIGP::m_normal
Vec3 m_normal
Definition: ABCDampingIGP.h:26
ABCDampingIGP::ABCDampingIGP
ABCDampingIGP()
Definition: ABCDampingIGP.h:30
CVarMPIBuffer::append
virtual void append(int)
Definition: mpivbuf.cpp:152
CDampingIGP::setMaxIter
void setMaxIter(int mi)
Definition: DampingIGP.h:55
CDampingIGP::setTimeStep
void setTimeStep(double t)
Definition: DampingIGP.h:52
AMPIBuffer
Abstract base class for MPI send/recv buffer.
Definition: mpibuf.h:34
ABCDampingIGP::getC1
double getC1()
Definition: ABCDampingIGP.h:40
AIGParam::setName
void setName(const std::string &name)
Definition: IGParam.cpp:28
CDampingIGP::setVisc
void setVisc(double v)
Definition: DampingIGP.h:50
ABCDampingIGP::m_c1
double m_c1
Definition: ABCDampingIGP.h:27
ABCDampingIGP::setPos
void setPos(const Vec3 &p)
Definition: ABCDampingIGP.h:35
ABCDampingIGP::m_pos
Vec3 m_pos
Definition: ABCDampingIGP.h:26
ABCDampingIGP::getPos
Vec3 getPos()
Definition: ABCDampingIGP.h:36
Vec3
Definition: vec3.h:47
AMPIBuffer::pop_vector
virtual Vec3 pop_vector()
Definition: mpibuf.cpp:26
DampingIGP.h
CDampingIGP::setVRef
void setVRef(const Vec3 V)
Definition: DampingIGP.h:48
vec3.h
extractABCDampingIGP
ABCDampingIGP * extractABCDampingIGP(AMPIBuffer *B)
Definition: ABCDampingIGP.cpp:49
ABCDampingIGP::setNormal
void setNormal(const Vec3 &n)
Definition: ABCDampingIGP.h:37
CDampingIGP::setType
void setType(const string &type)
Definition: DampingIGP.h:47
ABCDampingIGP
Definition: ABCDampingIGP.h:24
CDampingIGP
Interaction group parameters for CDampingGroup.
Definition: DampingIGP.h:28
AMPIBuffer::pop_string
virtual std::string pop_string()=0