ESyS-Particle
4.0.1
|
00001 00002 // // 00003 // Copyright (c) 2003-2011 by The University of Queensland // 00004 // Earth Systems Science Computational Centre (ESSCC) // 00005 // http://www.uq.edu.au/esscc // 00006 // // 00007 // Primary Business: Brisbane, Queensland, Australia // 00008 // Licensed under the Open Software License version 3.0 // 00009 // http://www.opensource.org/licenses/osl-3.0.php // 00010 // // 00012 00013 #ifndef __BTRIMESHINTERACTIONCPDATA_H 00014 #define __BTRIMESHINTERACTIONCPDATA_H 00015 00016 // -- Project includes -- 00017 #include "Foundation/vec3.h" 00018 #include "Parallel/CheckPointable.h" 00019 00020 class BTriangleInteraction; // forward decl. 00021 00025 class BTriMeshInteractionCpData : public esys::lsm::CheckPointable 00026 { 00027 private: 00028 Vec3 m_ap; 00029 int m_tid; 00030 int m_pid; 00031 00032 public: 00033 BTriMeshInteractionCpData(); 00034 virtual ~BTriMeshInteractionCpData(){} 00035 00036 BTriMeshInteractionCpData(const BTriangleInteraction&); 00037 void set(const BTriangleInteraction& ); 00038 virtual void saveSnapShotData(std::ostream&); 00039 virtual void saveCheckPointData(std::ostream&); 00040 virtual void loadCheckPointData(std::istream&); 00041 }; 00042 00043 #endif //__BTRIMESHINTERACTIONCPDATA_H