mpi
Class GatherPackerChar
java.lang.Object
mpi.GenericPacker
mpi.GatherPackerChar
- All Implemented Interfaces:
- Packer
public class GatherPackerChar
- extends GenericPacker
Constructor Summary |
GatherPackerChar(int numEls,
int[] displacements,
int extent)
|
Method Summary |
void |
pack(Buffer mpjbuf,
java.lang.Object buf,
int offset)
|
void |
unpack(Buffer mpjbuf,
java.lang.Object buf,
int offset)
|
void |
unpackPartial(Buffer mpjbuf,
int length,
java.lang.Object buf,
int offset)
Precondition for calling `unpackPartial()' is that `length'
is less than `size' (numEls). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
displacements
public int[] displacements
GatherPackerChar
public GatherPackerChar(int numEls,
int[] displacements,
int extent)
pack
public void pack(Buffer mpjbuf,
java.lang.Object buf,
int offset)
throws MPIException
- Throws:
MPIException
unpack
public void unpack(Buffer mpjbuf,
java.lang.Object buf,
int offset)
throws MPIException
- Throws:
MPIException
unpackPartial
public void unpackPartial(Buffer mpjbuf,
int length,
java.lang.Object buf,
int offset)
throws MPIException
- Description copied from interface:
Packer
- Precondition for calling `unpackPartial()' is that `length'
is less than `size' (numEls).
- Throws:
MPIException