p2pmpi.mpi
Class MPI_User_function

java.lang.Object
  extended by p2pmpi.mpi.MPI_User_function
Direct Known Subclasses:
OpBAND, OpMax, OpMAXLOC, OpMin, OpMINLOC, OpNull, OpProd, OpSum

public abstract class MPI_User_function
extends java.lang.Object

Abstract Class to implement a user-defined operation


Constructor Summary
MPI_User_function()
           
 
Method Summary
abstract  void Call(java.lang.Object invec, int inoffset, java.lang.Object inoutvec, int inoutoffset, int count, Datatype type)
          User-defined algorithm when operation is invoked
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MPI_User_function

public MPI_User_function()
Method Detail

Call

public abstract void Call(java.lang.Object invec,
                          int inoffset,
                          java.lang.Object inoutvec,
                          int inoutoffset,
                          int count,
                          Datatype type)
User-defined algorithm when operation is invoked

Parameters:
invec - Input object
inoffset - Input offset
inoutvec - Input and output object
inoutoffset - Input and output offset
count - Number of elements
type - MPI datatype