Package mpi
Class UserFunction
java.lang.Object
mpi.UserFunction
Java equivalent of the
MPI_USER_FUNCTION
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
User-defined function for a newOp
.void
call
(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 withinoutvec
elementsinOutVec
- 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 withinOut
bufferinOut
- 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.
-