mpi4py.MPI.Group

Package mpi4py :: Module MPI :: Class Group |
[hide private]
[frames] | no frames]

# type Group

Group

Instance Methods | [hide private]
Compare(type cls, Group group1, Group group2) Compare two groups |
Difference(type cls, Group group1, Group group2) Produce a group from the difference of two existing groups |
Dup(self) Duplicate a group |
Excl(self, ranks) Produce a group by reordering an existing group and taking only unlisted members |
Free(self) Free a group |
Get_rank(self) Return the rank of this process in a group |
Get_size(self) Return the size of a group |
Incl(self, ranks) Produce a group by reordering an existing group and taking only listed members |
Intersect(type cls, Group group1, Group group2) Produce a group as the intersection of two existing groups |
Intersection(type cls, Group group1, Group group2) Produce a group as the intersection of two existing groups |
Range_excl(self, ranks) Create a new group by excluding ranges of processes from an existing group |
Range_incl(self, ranks) Create a new group from ranges of of ranks in an existing group |
Translate_ranks(type cls, Group group1, ranks1, Group group2=None) Translate the ranks of processes in one group to those in another group |
Union(type cls, Group group1, Group group2) Produce a group by combining two existing groups |
__eq__(y) x==y |
__ge__(y) x>=y |
__gt__(y) x>y |
__le__(y) x<=y |
__lt__(y) x<y |
__ne__(y) x!=y |
a new object with type S, a subtype of T |
__new__(S, ...) |
__nonzero__() x != 0 |
f2py(type cls, arg) |
py2f(self) |

Properties | [hide private]
| rank rank of this process in group
| size number of processes in group

Method Details | [hide private]

### __new__(S, ...) |
Returns: a new object with type S, a subtype of T Overrides: object.__new__