function nummvals( myid, numprocs, 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. 
  
Parameters:
  
Input:
 
- myid- [integer(4b)], an ID of a calling processor;
 
- numprocs- [integer(4b)], total number of processors;
 
- nmmax- [integer(4b)], maximum value of the included m-mode;
 
 
Output:
- returns a number of m modes ([integer(4b)],) to be processed on each proc.
 
 
 |