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

Class Group


Group of processes
Instance Methods [hide private]
int
Compare(cls, group1: Group, group2: Group)
Compare two groups
Group
Difference(cls, group1: Group, group2: Group)
Produce a group from the difference of two existing groups
Group
Dup(self)
Duplicate a group
Group
Excl(self, ranks: Sequenceint=...)
Produce a group by reordering an existing group and taking only unlisted members
None
Free(self)
Free a group
int
Get_rank(self)
Return the rank of this process in a group
int
Get_size(self)
Return the size of a group
Group
Incl(self, ranks: Sequenceint=...)
Produce a group by reordering an existing group and taking only listed members
Group
Intersect(cls, group1: Group, group2: Group)
Produce a group as the intersection of two existing groups
Group
Intersection(cls, group1: Group, group2: Group)
Produce a group as the intersection of two existing groups
Group
Range_excl(self, ranks: SequenceTupleint=..., int=..., int=...)
Create a new group by excluding ranges of processes from an existing group
Group
Range_incl(self, ranks: SequenceTupleint=..., int=..., int=...)
Create a new group from ranges of of ranks in an existing group
List[int]
Translate_ranks(cls, group1: Group, ranks1: Sequenceint=..., group2: OptionalGroup=... = None)
Translate the ranks of processes in one group to those in another group
Group
Union(cls, group1: Group, group2: Group)
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
Group
f2py(cls, arg: int)
int
py2f(self)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  rank
Group.rank: int rank of this process in group
  size
Group.size: int number of processes in group

Inherited from object: __class__

Method Details [hide private]

__new__(S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__