ESyS-Particle  2.3
BMesh2DInteractionCpData.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 __BMESH2DINTERACTIONCPDATA_H
14 #define __BMESH2DINTERACTIONCPDATA_H
15 
16 // --- STL includes ---
17 #include <iostream>
18 using std::istream;
19 using std::ostream;
20 
21 // --- project includes ---
23 #include "Foundation/vec3.h"
24 
26 
33 {
34  private:
36  int m_pid;
37  int m_tid;
38 
39  public:
42  {
43  }
44 
46  BMesh2DInteractionCpData(int,int);
47 
48  void set(const BEdge2DInteraction&);
49  void set(int,int);
50  int getPID();
51  int getTID();
52 
53  virtual void saveSnapShotData(ostream&);
54  virtual void saveCheckPointData(ostream&);
55  virtual void loadCheckPointData(istream&);
56 };
57 
58 
59 #endif // __BMESH2DINTERACTIONCPDATA_H
int getPID()
Definition: BMesh2DInteractionCpData.cpp:46
Definition: vec3.h:46
bonded elastic interaction between an edge in a 2d mesh and a particle
Definition: BEdge2DInteraction.h:31
virtual ~BMesh2DInteractionCpData()
Definition: BMesh2DInteractionCpData.h:41
int m_pid
Definition: BMesh2DInteractionCpData.h:36
int getTID()
Definition: BMesh2DInteractionCpData.cpp:51
virtual void saveSnapShotData(ostream &)
Definition: BMesh2DInteractionCpData.cpp:56
int m_tid
Definition: BMesh2DInteractionCpData.h:37
Vec3 m_ap
Definition: BMesh2DInteractionCpData.h:35
void set(const BEdge2DInteraction &)
Definition: BMesh2DInteractionCpData.cpp:32
BMesh2DInteractionCpData()
Definition: BMesh2DInteractionCpData.cpp:16
Definition: BMesh2DInteractionCpData.h:32
Definition: CheckPointable.h:26
virtual void loadCheckPointData(istream &)
Definition: BMesh2DInteractionCpData.cpp:68
virtual void saveCheckPointData(ostream &)
Definition: BMesh2DInteractionCpData.cpp:62