public abstract class UserFunction
extends java.lang.Object
MPI_USER_FUNCTION.| Constructor and Description |
|---|
UserFunction() |
| Modifier and Type | Method and Description |
|---|---|
void |
call(java.nio.ByteBuffer in,
java.nio.ByteBuffer inOut,
int count,
Datatype datatype)
User-defined function for a new
Op. |
void |
call(java.lang.Object inVec,
java.lang.Object inOutVec,
int count,
Datatype datatype)
User-defined function for a new
Op. |
public void call(java.lang.Object inVec,
java.lang.Object inOutVec,
int count,
Datatype datatype)
throws MPIException
Op.inVec - array of values to combine with inoutvec elementsinOutVec - in-out array of accumulator locationscount - number of items in arraysdatatype - type of each itemMPIException - Signals that an MPI exception of some sort has occurred.public void call(java.nio.ByteBuffer in,
java.nio.ByteBuffer inOut,
int count,
Datatype datatype)
throws MPIException
Op.in - direct byte buffer to combine with inOut bufferinOut - in-out direct byte buffer of accumulator locationscount - number of items in buffersdatatype - type of each itemMPIException - Signals that an MPI exception of some sort has occurred.