MPI::probe
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 :: Status :: defaultinit
core :: Pointer :: defaultinit
core :: Object :: 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).
# Status of a communication used by `MPI::probe`
extern class Status `{ MPI_Status* `}
# Ignore the resulting status
new ignore `{ return MPI_STATUS_IGNORE; `}
# Allocated a new `Status`, must be freed with `free`
new `{ return malloc(sizeof(MPI_Status)); `}
# Source of this communication
fun source: Rank `{ return self->MPI_SOURCE; `}
# Tag of this communication
fun tag: Tag `{ return self->MPI_TAG; `}
# Success or error on this communication
fun error: SuccessOrError `{ return self->MPI_ERROR; `}
# Count of the given `data_type` in this communication
fun count(data_type: DataType): Int
`{
int count;
MPI_Get_count(self, data_type, &count);
return count;
`}
end
lib/mpi/mpi.nit:237,1--261,3