|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectp2pmpi.mpi.Comm
public class Comm
Point-to-Point communication class
Constructor Summary | |
---|---|
Comm(Group group)
Create a new communicator by group |
|
Comm(p2pmpi.mpi.internal.MessageHandler msgHandle,
p2pmpi.common.RankTable rankTable,
int rank,
int rankInList,
int numRank,
p2pmpi.common.MapRankTable mapRankTable)
Internal use |
Method Summary | |
---|---|
Group |
Group()
Returns group of this communicator |
Request |
Irecv(java.lang.Object recvBuffer,
int offset,
int count,
Datatype datatype,
int src,
int tag)
Begins a non-blocking receive. |
static void |
Object_Deserialize(java.lang.Object buf,
byte[] byte_buf,
int offset,
int count,
Datatype type)
|
static byte[] |
Object_Serialize(java.lang.Object buf,
int offset,
int count,
Datatype type)
|
int |
Rank()
Returns my rank number in communicator. |
Status |
Recv(java.lang.Object recvBuffer,
int offset,
int count,
Datatype datatype,
int src,
int tag)
Basic (blocking) receive. |
int |
Send(java.lang.Object sendBuffer,
int offset,
int count,
Datatype datatype,
int dest,
int tag)
Basic send operation. |
Status |
Sendrecv(java.lang.Object sendBuffer,
int sendOffset,
int sendCount,
Datatype sendType,
int dest,
int sendTag,
java.lang.Object recvBuffer,
int recvOffset,
int recvCount,
Datatype recvType,
int source,
int recvTag)
|
int |
Size()
Returns the number of processes in communicator. |
int |
SizeTotal()
Internal use. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Comm(p2pmpi.mpi.internal.MessageHandler msgHandle, p2pmpi.common.RankTable rankTable, int rank, int rankInList, int numRank, p2pmpi.common.MapRankTable mapRankTable)
public Comm(Group group)
group
- GroupMethod Detail |
---|
public Group Group()
public int Size()
public int SizeTotal()
public int Rank()
public int Send(java.lang.Object sendBuffer, int offset, int count, Datatype datatype, int dest, int tag)
sendBuffer
- send buffer arrayoffset
- initial offset in send buffercount
- number of items to senddatatype
- datatype of send buffer itemsdest
- rank of destinationtag
- message tagpublic Request Irecv(java.lang.Object recvBuffer, int offset, int count, Datatype datatype, int src, int tag)
recvBuffer
- receive buffer arrayoffset
- initial offset in receive buffercount
- number of items to receivedatatype
- datatype of received itemssrc
- rank of sourcetag
- message tagpublic Status Sendrecv(java.lang.Object sendBuffer, int sendOffset, int sendCount, Datatype sendType, int dest, int sendTag, java.lang.Object recvBuffer, int recvOffset, int recvCount, Datatype recvType, int source, int recvTag)
public Status Recv(java.lang.Object recvBuffer, int offset, int count, Datatype datatype, int src, int tag)
recvBuffer
- receive buffer arrayoffset
- initial offset in receive buffercount
- number of items to receivedatatype
- datatype of received itemssrc
- rank of sourcetag
- message tagpublic static byte[] Object_Serialize(java.lang.Object buf, int offset, int count, Datatype type)
public static void Object_Deserialize(java.lang.Object buf, byte[] byte_buf, int offset, int count, Datatype type)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |