Contents | Package | Class | Tree | Deprecated | Index | Help | |||
PREV | NEXT | SHOW LISTS | HIDE LISTS |
java.lang.Object | +----mpi.Group
Field Summary | |
static int | EMPTY
|
long | handle
|
Constructor Summary | |
Group()
|
|
Group(int Type)
|
|
Group(long _handle)
|
Method Summary | |
static int | Compare(Group group1,
Group group2)
|
static Group | Difference(Group group1,
Group group2)
|
Group | Excl(int[] ranks)
|
void | finalize()
|
void | GetGroup(int Type)
|
Group | Incl(int[] ranks)
|
static Group | Intersection(Group group1,
Group group2)
|
Group | Range_excl(int[][] ranges)
|
Group | Range_incl(int[][] ranges)
|
int | Rank()
|
int | Size()
|
static int[] | Translate_ranks(Group group1,
int[] ranks1,
Group group2)
|
static Group | Union(Group group1,
Group group2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int EMPTY
protected long handle
Constructor Detail |
public Group()
public Group(int Type)
public Group(long _handle)
Method Detail |
protected void GetGroup(int Type)
public int Size()
returns: | number of processors in the group |
Java binding of the MPI operation MPI_GROUP_SIZE.
public int Rank()
returns: | rank of the calling process in the group |
Java binding of the MPI operation MPI_GROUP_RANK. Result value is MPI.UNDEFINED if this process is not a member of the group.
public void finalize()
Java binding of the MPI operation MPI_GROUP_FREE.
public static int[] Translate_ranks(Group group1, int[] ranks1, Group group2)
group1 | a group |
ranks1 | array of valid ranks in group1 |
group2 | another group |
returns: | array of corresponding ranks in group2 |
Java binding of the MPI operation MPI_GROUP_TRANSLATE_RANKS.
Result elements are MPI.UNDEFINED where no correspondence exists.
public static int Compare(Group group1, Group group2)
group1 | first group |
group2 | second group |
returns: | result |
Java binding of the MPI operation MPI_GROUP_COMPARE.
MPI.IDENT results if the group members and group order are exactly the same in both groups. MPI.SIMILAR results if the group members are the same but the order is different. MPI.UNEQUAL results otherwise.
public static Group Union(Group group1, Group group2)
group1 | first group |
group2 | second group |
returns: | union group |
Java binding of the MPI operation MPI_GROUP_UNION.
public static Group Intersection(Group group1, Group group2)
group1 | first group |
group2 | second group |
returns: | intersection group |
Java binding of the MPI operation MPI_GROUP_INTERSECTION.
public static Group Difference(Group group1, Group group2)
group1 | first group |
group2 | second group |
returns: | difference group |
Java binding of the MPI operation MPI_GROUP_DIFFERENCE.
public Group Incl(int[] ranks)
ranks | ranks from this group to appear in new group |
returns: | new group |
Java binding of the MPI operation MPI_GROUP_INCL.
public Group Excl(int[] ranks)
ranks | ranks from this group not to appear in new group |
returns: | new group |
Java binding of the MPI operation MPI_GROUP_EXCL.
public Group Range_incl(int[][] ranges)
ranges | array of integer triplets |
returns: | new group |
Java binding of the MPI operation MPI_GROUP_RANGE_INCL.
The triplets are of the form (first rank, last rank, stride) indicating ranks in this group to be included in the new group. The size of the first dimension of ranges is the number of triplets. The size of the second dimension is 3.
public Group Range_excl(int[][] ranges)
ranges | array of integer triplets |
returns: | new group |
Java binding of the MPI operation MPI_GROUP_RANGE_EXCL.
Triplet array is defined as for {\tt Range_incl}, the ranges indicating ranks in this group to be excluded from the new group.
Contents | Package | Class | Tree | Deprecated | Index | Help | |||
PREV | NEXT | SHOW LISTS | HIDE LISTS |