Used with the reduce
method.
See http://www.mpi-forum.org/docs/mpi-1.1/mpi-11-html/node78.html
mpi :: Op :: defaultinit
core :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
mpi :: Op :: defaultinit
core :: Object :: defaultinit
core :: Pointer :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).
# An MPI operation
#
# Used with the `reduce` method.
#
# See <http://www.mpi-forum.org/docs/mpi-1.1/mpi-11-html/node78.html>
extern class Op `{ MPI_Op `}
# Get a MPI null operation.
new op_null `{ return MPI_OP_NULL; `}
# Get a MPI maximum operation.
new max `{ return MPI_MAX; `}
# Get a MPI minimum operation.
new min `{ return MPI_MIN; `}
# Get a MPI sum operation.
new sum `{ return MPI_SUM; `}
# Get a MPI product operation.
new prod `{ return MPI_PROD; `}
# Get a MPI logical and operation.
new land `{ return MPI_LAND; `}
# Get a MPI bit-wise and operation.
new band `{ return MPI_BAND; `}
# Get a MPI logical or operation.
new lor `{ return MPI_LOR; `}
# Get a MPI bit-wise or operation.
new bor `{ return MPI_BOR; `}
# Get a MPI logical xor operation.
new lxor `{ return MPI_LXOR; `}
# Get a MPI bit-wise xor operation.
new bxor `{ return MPI_BXOR; `}
# Get a MPI minloc operation.
#
# Used to compute a global minimum and also an index attached
# to the minimum value.
#
# See <http://www.mpi-forum.org/docs/mpi-1.1/mpi-11-html/node79.html#Node79>
new minloc `{ return MPI_MINLOC; `}
# Get a MPI maxloc operation.
#
# Used to compute a global maximum and also an index attached
# to the maximum value.
#
# See <http://www.mpi-forum.org/docs/mpi-1.1/mpi-11-html/node79.html#Node79>
new maxloc `{ return MPI_MAXLOC; `}
# Get a MPI replace operation.
new replace `{ return MPI_REPLACE; `}
end
lib/mpi/mpi.nit:263,1--320,3