Go to the bottom of this page. See the search engine and sub-section links.
Go to next page Go to previous page Go to top of this section Go to top page Go to table of contents

Previous Section Headers

User's Guide to NCAR CCM3.6 Search Page


3. CCM3.6 Internals
    3.3 Data Structures


3.3.3 Spectral Data Structures

Spectral coefficient arrays and Legendre polynomials are kept in memory in common block /comspe/. The spectral coefficients for vorticity, divergence, temperature, moisture, and log surface pressure are maintained as individual one-dimensional arrays (vz, d, t, q, and alps, respectively). 

When the cpp token PVP is set, ordering of the complex coefficients within the arrays is along diagonals of m (zonal wavenumber), and n (total wavenumber) space. Level index "k" (not to be confused with spectral truncation parameter "K") is the slowest varying index of these arrays. Spectral space computations on a vector computer are done most efficiently with this ordering scheme because it results in the longest possible vector lengths. Arrays ncoefi, nm, and nco2 in /comspe/ define lengths and starting addresses within the various spectral arrays. A pictorial representation of the structure of the spectral space arrays is presented in Figure 3.6.

When PVP is not set, spectral data ordering is changed in order to optimize performance on cache-based architectures, and to facilitate message-passing. The storage arrangement in this case is depicted in Figure 3.5  


 Go to the top of this page. See links to previous section headers.
Go to next page Go to previous page Go to top of this section Go to top page Go to table of contents

 Search for keywords in the CCM3.6 Users GuideSearch page

Questions on these pages can be sent to... erik@ucar.edu .


$Name: ccm3_6_6_latest2 $ $Revision: 1.33.2.1 $ $Date: 1999/03/25 21:38:31 $ $Author: erik $