Adding support for emigrant objects at reduction manager.
[charm.git] / src / ck-core / ckreduction.h
index 53c1d122e8cb02cf2336efa022e5109985289cff..f8c91416bb2a9d07741bc38c6dfab62154b30144 100644 (file)
@@ -551,12 +551,20 @@ public:
        void decNumImmigrantRecObjs(){
                numImmigrantRecObjs--;
        }
+       void incNumEmigrantRecObjs(){
+               numEmigrantRecObjs++;
+       }
+       void decNumEmigrantRecObjs(){
+               numEmigrantRecObjs--;
+       }
+
 #endif
 
 private:
 
 #if defined(_FAULT_CAUSAL_)
        int numImmigrantRecObjs;
+       int numEmigrantRecObjs;
 #endif
 
 //Data members