p2pmpi.mpi
Class OpSum

java.lang.Object
  extended by p2pmpi.mpi.MPI_User_function
      extended by p2pmpi.mpi.OpSum

public class OpSum
extends MPI_User_function

Collective operation for summation


Constructor Summary
OpSum()
           
 
Method Summary
 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

OpSum

public OpSum()
Method Detail

Call

public void Call(java.lang.Object invec,
                 int inOffset,
                 java.lang.Object inoutvec,
                 int inoutOffset,
                 int count,
                 Datatype type)
Description copied from class: MPI_User_function
User-defined algorithm when operation is invoked

Specified by:
Call in class MPI_User_function
Parameters:
invec - Input object
inOffset - Input offset
inoutvec - Input and output object
inoutOffset - Input and output offset
count - Number of elements
type - MPI datatype