: Class Op

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

## mpi
Class Op

    java.lang.Object
      |
      +--mpi.Op

public class Op
extends java.lang.Object

Field Summary
`protected long` | `handle`

Constructor Summary
`protected` | `Op(int Type)`
`` | `Op(User_function function, boolean commute)` Bind a user-defined global reduction operation to an `Op` object.

Method Summary
`void` | `Call(java.lang.Object invec, int inoffset, java.lang.Object outvec, int outoffset, int count, Datatype datatype)`
`void` | `finalize()`
`protected boolean` | `isUser()`

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

Field Detail

### handle

    protected long handle

Constructor Detail

### Op

    protected Op(int Type)

### Op

    public Op(User_function function,
              boolean commute)
       throws MPIException

  Bind a user-defined global reduction operation to an `Op` object.

  `function` | user defined function
  `commute` | `true` if commutative, `false` otherwise

  Java binding of the MPI operation `MPI_OP_CREATE`.

Method Detail

### isUser

    protected boolean isUser()

### Call

    public final void Call(java.lang.Object invec,
                           int inoffset,
                           java.lang.Object outvec,
                           int outoffset,
                           int count,
                           Datatype datatype)

### finalize

    public void finalize()
                  throws MPIException

  Overrides:
    finalize in class java.lang.Object

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