public class Op
extends java.lang.Object
MPI_Op.| Modifier and Type | Field and Description |
|---|---|
int |
opCode |
| Constructor and Description |
|---|
Op(User_function function,
boolean commute)
Bind a user-defined global reduction operation to an
Op object. |
Op(User_function function,
boolean commute,
int opCode_)
Bind a user-defined global reduction operation to an
Op object. |
| Modifier and Type | Method and Description |
|---|---|
void |
finalize() |
void |
free() |
public Op(User_function function, boolean commute) throws MPIException
Op object.function - user-defined function.commute - true if commutative, false otherwise.
Java binding of the MPI operation MPI_OP_CREATE.
MPIException - Points out that an MPI exception has occured.public Op(User_function function, boolean commute, int opCode_) throws MPIException
Op object.function - user-defined function.commute - true if commutative, false otherwise.opCode_ - op code.
Java binding of the MPI operation MPI_OP_CREATE.
MPIException - Points out that an MPI exception has occured.public void free()
throws MPIException
MPIExceptionpublic void finalize()
throws MPIException
finalize in class java.lang.ObjectMPIException