ESyS-Particle  2.3.2
BMesh2DInteractionCpData.h
Go to the documentation of this file.
1 
2 // //
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