X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/519c15dce45cd4b71ff97abe918e8aa1541ab391..c8a8ad6adbbd82cb0a9c145b0ac9f563ad62775d:/src/smpi/smpi_group.hpp diff --git a/src/smpi/smpi_group.hpp b/src/smpi/smpi_group.hpp index f016df30c8..466d7c2f47 100644 --- a/src/smpi/smpi_group.hpp +++ b/src/smpi/smpi_group.hpp @@ -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