Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## no.uib.cipr.matrix.distributed
Class CollectiveCommunications

    java.lang.Object
      no.uib.cipr.matrix.distributed.CollectiveCommunications

    public class CollectiveCommunications

extends java.lang.Object

Collective communications between all the participating threads.

Constructor Summary
`CollectiveCommunications(int size)` Sets up a collective of the given size

Method Summary
`Communicator` | `createCommunicator(int rank)` Creates a communicator for point-to-point data-exchange.
`int` | `size()` Gets the size of the collective

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CollectiveCommunications

    public CollectiveCommunications(int size)

  Sets up a collective of the given size

  Parameters:
    `size` - Number of members of the collective

Method Detail

### size

    public int size()

  Gets the size of the collective

### createCommunicator

    public Communicator createCommunicator(int rank)

  Creates a communicator for point-to-point data-exchange. This method should be called by all the threads in the collective

  Parameters:
    `rank` - Rank of the communicator

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD