Salome HOME
OverlapDEC: further imp of the load balancing algo to try to keep
[modules/med.git] / src / ParaMEDMEM / OverlapDEC.hxx
index a1f29cf22cddb5e5caf5949aafd15e3992861f08..2d63789b7da6e059f42ff458a905b02fb0abb50c 100644 (file)
@@ -25,6 +25,7 @@
 #include "InterpolationOptions.hxx"
 
 #include <mpi.h>
+#include <string>
 
 namespace ParaMEDMEM
 {
@@ -50,9 +51,12 @@ namespace ParaMEDMEM
     bool isInGroup() const;
 
     void setDefaultValue(double val) {_default_field_value = val;}
+    //! 0 means initial algo from Antho, 1 or 2 means Adrien's algo (2 should be better). Make your choice :-))
     void setWorkSharingAlgo(int method)  { _load_balancing_algo = method; }
+
+    void debugPrintWorkSharing(std::ostream & ostr) const;
   private:
-    int _load_balancing_algo;  // 0 means initial algo from Antho, 1 means Adrien's algo. Make your choice :-))
+    int _load_balancing_algo;
 
     bool _own_group;
     OverlapInterpolationMatrix* _interpolation_matrix;