ESyS-Particle  4.0.1
BMesh2DInteractionCpData.h
1 
2 // //
3 // Copyright (c) 2003-2011 by The University of Queensland //
4 // Earth Systems Science Computational Centre (ESSCC) //
5 // http://www.uq.edu.au/esscc //
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 #include "Parallel/CheckPointable.h"
22 
24 
33 {
34  private:
35  int m_pid;
36  int m_tid;
37 
38  public:
40  virtual ~BMesh2DInteractionCpData()
41  {
42  }
43 
45  BMesh2DInteractionCpData(int,int);
46 
47  void set(const BEdge2DInteraction&);
48  void set(int,int);
49  int getPID();
50  int getTID();
51 
52  virtual void saveCheckPointData(ostream&);
53  virtual void loadCheckPointData(istream&);
54 };
55 
56 
57 #endif // __BMESH2DINTERACTIONCPDATA_H