程序包 mpi
类 Op
java.lang.Object
mpi.Op
- 所有已实现的接口:
Freeable
This class represents
MPI_Op
.-
字段概要
字段 -
构造器概要
构造器限定符构造器说明protected
Op
(int type) Op
(UserFunction function, boolean commute) Bind a user-defined global reduction operation to anOp
object. -
方法概要
-
字段详细资料
-
uf
-
handle
protected long handle
-
-
构造器详细资料
-
Op
protected Op(int type) -
Op
Bind a user-defined global reduction operation to anOp
object.Java binding of the MPI operation
MPI_OP_CREATE
.- 参数:
function
- user defined functioncommute
-true
if commutative,false
otherwise
-
-
方法详细资料
-
setDatatype
-
call
- 抛出:
MPIException
-
isCommutative
public boolean isCommutative()Test if the operation is commutative.Java binding of the MPI operation
MPI_OP_COMMUTATIVE
.- 返回:
true
if commutative,false
otherwise
-
free
Java binding of the MPI operationMPI_OP_FREE
.- 指定者:
free
在接口中Freeable
- 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
isNull
public boolean isNull()Test if operation object is null.- 返回:
- true if the operation object is null, false otherwise
-