ESyS-Particle  4.0.1
BTriMeshInteractionCpData.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 __BTRIMESHINTERACTIONCPDATA_H
14 #define __BTRIMESHINTERACTIONCPDATA_H
15 
16 // -- Project includes --
17 #include "Foundation/vec3.h"
18 #include "Parallel/CheckPointable.h"
19 
20 class BTriangleInteraction; // forward decl.
21 
26 {
27  private:
28  Vec3 m_ap;
29  int m_tid;
30  int m_pid;
31 
32  public:
34  virtual ~BTriMeshInteractionCpData(){}
35 
37  void set(const BTriangleInteraction& );
38  virtual void saveSnapShotData(std::ostream&);
39  virtual void saveCheckPointData(std::ostream&);
40  virtual void loadCheckPointData(std::istream&);
41 };
42 
43 #endif //__BTRIMESHINTERACTIONCPDATA_H