Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please sonar
[simgrid.git] / src / smpi / smpi_group.hpp
index f016df3..cdc7362 100644 (file)
@@ -4,10 +4,13 @@
 /* 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{
-namespace SMPI{
+namespace smpi{
 
 class Group {
   private:
@@ -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