10.8.7 Gather_and_Collect_CA_from_DV Procedure

The Gather_and_Collect_CA_from_DV procedure does the communication necessary to set a Collected Array from a Distributed Vector, according to the Many_of_One_Index which is inside the Collected Array. No communication is done if the Collected Array is already up-to-date with the Distributed Vector.

Calling syntax:

CA = DV ,
call Gather (CA, DV) or
call Gather_and_Collect (CA, DV)  

Input variable:

 DV  The Distributed_Vector object to be gathered.

Output variable:

 CA  The Collected_Array object, updated to correspond with the input Distributed_Vector object.

The Gather_and_Collect_CA_from_DV code listing contains additional documentation.

Michael L. Hall