mpi
Class Status

java.lang.Object
  extended by mpi.Status

public class Status
extends java.lang.Object


Field Summary
 int index
           
 int numObj
           
 int source
           
 int tag
           
 
Method Summary
 int Get_count(Datatype datatype)
          Gets the number of "top level" elements.
 int Get_elements(Datatype datatype)
          Retrieve number of basic elements from status.
 boolean Test_cancelled()
          Test if communication was cancelled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

public int source

tag

public int tag

index

public int index

numObj

public int numObj
Method Detail

Get_count

public int Get_count(Datatype datatype)
              throws MPIException
Gets the number of "top level" elements.

datatype datatype of each item in receive buffer
returns: number of received entries (integer)

Java binding of the MPI operation MPI_GET_COUNT.

Throws:
MPIException

Get_elements

public int Get_elements(Datatype datatype)
                 throws MPIException
Retrieve number of basic elements from status.

datatype datatype used by receive operation
returns: number of received basic elements (integer)

Java binding of the MPI operation MPI_GET_ELEMENTS.

Throws:
MPIException

Test_cancelled

public boolean Test_cancelled()
                       throws MPIException
Test if communication was cancelled.

returns: true if the operation was succesfully cancelled, false otherwise

Java binding of the MPI operation MPI_TEST_CANCELLED.

Throws:
MPIException