Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mpij.Group
Method Summary | |
static int | compare(Group group1,
Group group2)
MPI.IDENT results if the group members and group order is exactly the same in both groups. |
static Group | difference(Group group1,
Group group2)
Returns a new group consisting of all elements of the first group that are not in the second group, ordered as in the first group. |
Group | excl(int start,
int n,
int[] ranks)
Creates a group of processes newgroup that is obtained by deleting from group those processes with ranks ranks[0] |
Group | incl(int start,
int n,
int[] ranks)
Creates a group newgroup that consists of the n processes in group with ranks rank[0] |
static Group | intersection(Group group1,
Group group2)
Returns a new group consisting of all elements of the first group that are also in the second group, ordered as in first group. |
int | rank()
Returns the calling rank of the calling process in this group or MPI.UNDEFINED if the calling process is not a member. |
int | size()
Returns the number of processes in this group. |
static void | translateRanks(Group group1,
int start1,
int n,
int[] ranks1,
Group group2,
int start2,
int[] ranks2)
This function is important for determining the relative numbering of the same processes in two different groups. |
static Group | union(Group group1,
Group group2)
Returns a new group consisting of all elements of the first group1, followed by all elements of group2 not in first. |
Methods inherited from class java.lang.Object | |
equals, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Method Detail |
public int size()
public int rank()
public static void translateRanks(Group group1, int start1, int n, int[] ranks1, Group group2, int start2, int[] ranks2) throws MPIException
group1
-
start1
- offset into group1 and group2 at which to start
n
- number of ranks in ranks1 and ranks2 arrays to use
ranks1
- array of zero or more valid ranks in group1
start2
- offset into group1 and group2 at which to start
group2
-
ranks2
- array of zero or more valid ranks in group1public static int compare(Group group1, Group group2)
public static Group union(Group group1, Group group2)
public static Group intersection(Group group1, Group group2)
public static Group difference(Group group1, Group group2)
public Group incl(int start, int n, int[] ranks) throws MPIException
public Group excl(int start, int n, int[] ranks) throws MPIException
Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |