File indexing completed on 2025-04-19 09:10:13
0001 #ifndef RECONNECTIONS_Main_Reconnection_Handler_H
0002 #define RECONNECTIONS_Main_Reconnection_Handler_H
0003
0004 #include "RECONNECTIONS/Main/Reconnection_Base.H"
0005
0006 namespace RECONNECTIONS {
0007 typedef std::pair<unsigned int,unsigned int> colpair;
0008
0009 class Reconnection_Handler {
0010 private:
0011 bool m_on;
0012 long unsigned int m_nfails;
0013 Reconnection_Base * p_reconnector;
0014 void AddReconnectionBlob(ATOOLS::Blob_List * blobs);
0015 public:
0016 Reconnection_Handler(const bool & on);
0017 ~Reconnection_Handler();
0018
0019 ATOOLS::Return_Value::code operator()(ATOOLS::Blob_List *const blobs,
0020 ATOOLS::Particle_List *const=NULL);
0021
0022 void Initialize();
0023 void Reset();
0024 };
0025 }
0026
0027 #endif