Package mpi
Class UserFunction
- java.lang.Object
-
- mpi.UserFunction
-
public abstract class UserFunction extends java.lang.ObjectJava equivalent of theMPI_USER_FUNCTION.
-
-
Constructor Summary
Constructors Constructor Description UserFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcall(java.lang.Object inVec, java.lang.Object inOutVec, int count, Datatype datatype)User-defined function for a newOp.voidcall(java.nio.ByteBuffer in, java.nio.ByteBuffer inOut, int count, Datatype datatype)User-defined function for a newOp.
-
-
-
Method Detail
-
call
public void call(java.lang.Object inVec, java.lang.Object inOutVec, int count, Datatype datatype) throws MPIExceptionUser-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
public void call(java.nio.ByteBuffer in, java.nio.ByteBuffer inOut, int count, Datatype datatype) throws MPIExceptionUser-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.
-
-