Next: find_mvalues    Up: Size/memory estimation routines    Previous: nummvals


nummmodes

function nummmodes( nlmax, nmvals, mvals)


Purpose:

Computes a total number of l and m modes with l in the range from 0 to nlmax (inclusive) and m values as defined by the elements of the vector mvals. This is the number of l and m modes to be processed by a given processor.
To be called by each proc with its specific input values.

Parameters:

Input:
nlmax- [integer(4b)], maximum included l-mode;
nmvals- [integer(4b)], a number of m modes (the length of the vector mvals);
mvals- [integer(4b)], a vector storing all m values assigned to a given processor.
Output:
returns a number of all l,m modes [integer(4b)].


Next: find_mvalues    Up: Size/memory estimation routines    Previous: nummvals

radek stompor 2007-09-15