|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--laser.mpi.util.shuffle.test.UseCase | +--laser.mpi.util.shuffle.test.UseCase5
A simple test involving 2 procs. The data start out as:
The map is:
(0,1)->(1,0) (0,2)->(1,1) (0,3)->(1,2) (0,4)->(1,3) (0,5)->(1,4) (1,0)->(0,2) (1,1)->(0,3) (1,2)->(0,0) (1,3)->(0,5) (1,4)->(1,5) (1,5)->(0,4)
So the result is:
Field Summary |
Fields inherited from class laser.mpi.util.shuffle.test.UseCase |
error, localData, map, myRank, name, newLocalData, nProcs, shuffler |
Constructor Summary | |
UseCase5()
Constructs a new instance of this use case. |
Method Summary | |
static void |
main(java.lang.String[] args)
Performs a test based on this use case. |
Methods inherited from class laser.mpi.util.shuffle.test.UseCase |
test |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UseCase5() throws mpi.MPIException
mpi.MPIException
- if something goes awry with MPI.Method Detail |
public static void main(java.lang.String[] args) throws mpi.MPIException
args
- the command line arguments (ignored)
mpi.MPIException
- if something goes awry with MPI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |