alm distribution
Hereafter, typically we denote a number of m values per proc as nmvals. A vector of the length nmvals defining all the m values stored in the memory of a given proc is called mvals. These two objects are obviously proc specific. In the Fortran 90 case, the local subset of alm coefficients is a 4 dimensional array of the type double precision complex with the dimensions defined as, corresponding to two different layouts accepted by S2HAT. In C those multidimensional arrays are stored column-wise, i.e., with the last index above changing as the last, as a vector. The type of the vector is s2hat_dcomplex and is defined in the S2HAT library. The standard distribution of the alm coefficients is defined by calling first get_local_data_sizes, which determines nmvals, followed by a call to find_mvalues, which assigns the m values to be stored in a memory of a proc and which are stored in a vector, mvals, of the length nmvals. Those two calls need to be separated by a memory allocation for mvals. Next: Ring Weights distribution   Previous: Map distribution   Up: Data distribution   radek stompor 2009-10-15 |