The Generate_Even_Distribution procedure sets a short vector (on the order of NPEs) to the most even distribution of items possible, on every PE. It can be used to generate an even distribution for the Length_Vector to initialize a Base_Structure object.
|call Generate_Even_Distribution (Vector, NItems)|
|NItems||The number of items to be distributed.|
|Vector||The vector with an even distribution of items.|
The Generate_Even_Distribution code listing contains additional documentation.
Michael L. Hall