Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / src / smpi / smpi_group.hpp
index f016df3..466d7c2 100644 (file)
@@ -4,6 +4,9 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
+#ifndef SMPI_GROUP_HPP_INCLUDED
+#define SMPI_GROUP_HPP_INCLUDED
+
 #include "private.h"
 
 namespace simgrid{
@@ -28,7 +31,7 @@ class Group {
     int rank(int index);
     int use();
     int unuse();
-    int getsize();
+    int size();
     int compare(MPI_Group group2);
     int incl(int n, int* ranks, MPI_Group* newgroup);
     int excl(int n, int *ranks, MPI_Group * newgroup);
@@ -40,3 +43,5 @@ class Group {
 };
 }
 }
+
+#endif