ESyS-Particle  4.0.1
pi_storage_eb.h
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 __PARALLEL_INTERACTION_STORAGE_EB_H
00014 #define __PARALLEL_INTERACTION_STORAGE_EB_H
00015 
00016 //--- project includes ---
00017 #include "pis/pi_storage_e.h"
00018 
00019 //--- STL includes ---
00020 #include <vector>
00021 
00022 //--- IO includes ---
00023 
00028 template<typename P,typename I>
00029 class ParallelInteractionStorage_EB : public ParallelInteractionStorage_E<P,I>
00030 {
00031  public:
00032   //  typedef I ParallelInteractionStorage_EB::interaction_type;
00033   typedef ParallelInteractionStorage_E<P,I>       Inherited;
00034   typedef typename Inherited::InteractionIterator InteractionIterator;
00035   bool m_unbreakable;
00036 
00037  public:
00038   ParallelInteractionStorage_EB(AParallelParticleArray*,const typename I::ParameterType&);
00039 
00040   virtual bool update();
00041   void setUnbreakable(bool);
00042   virtual void calcHeatTrans();
00043   virtual void saveCheckPointData(std::ostream &oStream);
00044   virtual void loadCheckPointData(std::istream &iStream);
00045   virtual void saveSnapShotData(std::ostream&);
00046 };
00047 
00048 #include "pis/pi_storage_eb.hpp"
00049 
00050 #endif // __PARALLEL_INTERACTION_STORAGE_EB_H