|
Jumpi v1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.jumpi.impl.connector.mpi11.MpiGroupMembershipInfo
A Group of communicating Processors in MPI. A Group is invariable since no Processor can enter or leave the Group once it is formed.
| Constructor Summary | |
MpiGroupMembershipInfo(Destination group,
Destination wildcard,
Destination[] members,
int rank)
Creates a new MpiGroupMembershipInfo object. |
|
| Method Summary | |
Destination |
getGroup()
Return the Destination representing the Group itself. |
Destination |
getMember(int rank)
Return the Member which has a specific rank in the Group. |
Destination[] |
getMembers()
Return the list of Group members. |
int |
getRank()
Return the rank of this Processor in the Group. |
int |
getSize()
Return the number of members in the Group. |
Destination |
getWildcard()
Return the wildcard Destination representing any member of the Group. |
java.lang.String |
toString()
A String representation of the Group. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MpiGroupMembershipInfo(Destination group,
Destination wildcard,
Destination[] members,
int rank)
group - a Destination representing the Group itself.wildcard - a Destination representing any Processor in the Group.members - an ordered list of individual Group members.rank - the rank, index in members, of this member in the Group.
java.lang.IllegalArgumentException - if any Destinations are null, or rank
< 0.| Method Detail |
public Destination getGroup()
public Destination getWildcard()
public Destination[] getMembers()
public Destination getMember(int rank)
rank - the rank of this Processor in the Group.
java.lang.IllegalArgumentException - if the rank is < 0 or > length-1.public int getRank()
public int getSize()
public java.lang.String toString()
toString in class java.lang.Object
|
Jumpi v1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||