ESyS-Particle  4.0.1
pi_storage_eb.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 __PARALLEL_INTERACTION_STORAGE_EB_H
14 #define __PARALLEL_INTERACTION_STORAGE_EB_H
15 
16 //--- project includes ---
17 #include "pis/pi_storage_e.h"
18 
19 //--- STL includes ---
20 #include <vector>
21 
22 //--- IO includes ---
23 
28 template<typename P,typename I>
30 {
31  public:
32  // typedef I ParallelInteractionStorage_EB::interaction_type;
35  bool m_unbreakable;
36 
37  public:
38  ParallelInteractionStorage_EB(AParallelParticleArray*,const typename I::ParameterType&);
39 
40  virtual bool update();
41  void setUnbreakable(bool);
42  virtual void calcHeatTrans();
43  virtual void saveCheckPointData(std::ostream &oStream);
44  virtual void loadCheckPointData(std::istream &iStream);
45  virtual void saveSnapShotData(std::ostream&);
46 };
47 
48 #include "pis/pi_storage_eb.hpp"
49 
50 #endif // __PARALLEL_INTERACTION_STORAGE_EB_H