Package mpi
Class UserFunction
java.lang.Object
mpi.UserFunction
Java equivalent of the
MPI_USER_FUNCTION.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidUser-defined function for a newOp.voidcall(ByteBuffer in, ByteBuffer inOut, int count, Datatype datatype) User-defined function for a newOp.
-
Constructor Details
-
UserFunction
public UserFunction()
-
-
Method Details
-
call
User-defined function for a newOp.- Parameters:
inVec- array of values to combine withinoutvecelementsinOutVec- in-out array of accumulator locationscount- number of items in arraysdatatype- type of each item- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-
call
User-defined function for a newOp.- Parameters:
in- direct byte buffer to combine withinOutbufferinOut- in-out direct byte buffer of accumulator locationscount- number of items in buffersdatatype- type of each item- Throws:
MPIException- Signals that an MPI exception of some sort has occurred.
-