-Group::Group()
-{
- size_=0; /* size */
- rank_to_index_map_=nullptr; /* rank_to_index_map_ */
- refcount_=1; /* refcount_: start > 0 so that this group never gets freed */
-}
-
-Group::Group(int n) : size_(n)
-{
- rank_to_index_map_ = new int[size_];
- refcount_ = 1;
- for (int i = 0; i < size_; i++)
- rank_to_index_map_[i] = MPI_UNDEFINED;
-}
-
-Group::Group(MPI_Group origin)