cluster.comm

Syntax

a = cluster.comm(i)
cluster.comm(i) = a

Get/Sets a parameter value from/to another process. If the set (assignment) version is used, then the process number i can be 0 which indicates that the value is passed to all other processes. Note that on send the target process(es) must execute a call to the get/receive version or data communication will be corrupted and the cluster exeuction will fail.

Returns:

a - the the parameter sent from process i.

Accepts:

a - a parameter sent to process i, or if i is 0 to all other processes.

Arguments:

i - the target prcoess to send/receive a parameter value.