nummvalsfunction int nummvals( int myid, int numprocs, int nmmax)Purpose: Computes a number of m modes to be assigned to a given proc in a load balanced work mode. Needs to be called by each proc. The output is processor specific. The computed number determines a length of a vector used to store the specific m values processed by a given processor. The latter can be computed for example by a subsequent call to the routine find_mvals. Parameters: Input:
|