find_scan_ring_rangesubroutine find_scan_ring_range( pixelization, scan, nmmax, myid, numprocs, first_ring, last_ring, outerror)Calculates a distribution of all observed (iso-latitude) rings (as defined in scan) over all processors assigning to each proc an interval of rings defined by first_ring and last_ring (both in a global ring numbering scheme). Each proc should call the routine. N.B.1. Any other division of all rings is also permitted, provided that they do not overlap, cover all the observed rings on either Northern or Southern hemisphere (and may, sometimes have to, include some of the unobserved ones as well), and are assigned to the procs in an ascending manner (the first range to proc 0, etc). Each proc has to have at least one ring assigned. N.B.2. This routine is typically called via the get_local_data_sizes driver, which in a single call determines data sizes in both rings and harmonic domains. Parameters: Input:
|