skip to main content
research-article

Algorithm 888: Spherical Harmonic Transform Algorithms

Published: 01 October 2008 Publication History

Abstract

A collection of MATLAB classes for computing and using spherical harmonic transforms is presented. Methods of these classes compute differential operators on the sphere and are used to solve simple partial differential equations in a spherical geometry. The spectral synthesis and analysis algorithms using fast Fourier transforms and Legendre transforms with the associated Legendre functions are presented in detail. A set of methods associated with a spectral_field class provides spectral approximation to the differential operators ∇ ⋯, ∇ ×, ∇, and ∇2 in spherical geometry. Laplace inversion and Helmholtz equation solvers are also methods for this class. The use of the class and methods in MATLAB is demonstrated by the solution of the barotropic vorticity equation on the sphere. A survey of alternative algorithms is given and implementations for parallel high performance computers are discussed in the context of global climate and weather models.

Supplementary Material

Zip (888.zip)
Software for Spherical Harmonic Transform Algorithms

References

[1]
Adams, J. and Swarztrauber, P. N. 1999. Spherepack3.0: A model development facility. Mon. Wea. Rev. 127, 1872--1878.
[2]
Anderson, E., Bai, Z., Bischof, C., Blackford, S., Demmel, J., Dongarra, J., Du Croz, J., Greenbaum, A., Hammarling, S., McKenney, A., and Sorensen, D. 1999. LAPACK Users’ Guide, Third ed. Society for Industrial and Applied Mathematics, Philadelphia, PA.
[3]
Boyd, J. 1992. Multipole expansions and pseudospectral cardinal functions: a new generalization of the fast Fourier transform. J. Comp. Phys. 103, 1, 184--186.
[4]
Canuto, C., Hussaini, M., Quarteroni, A., and Zang, T. 1991. Spectral Methods in Fluid Dynamics, 3rd ed. Springer-Verlag, New York.
[5]
Collins, N., Theurich, G., DeLuca, C., Suarez, M., Trayanov, A., Balaji, V., Li, P., Yang, W., Hill, C., and da Silva, A. 2005. Design and implementation of components in the Earth System Modeling Framework. Int. J. High Perf. Comput. Appl. 19, 3, 341--350.
[6]
D’Azevedo, E. 2004. Performance of the spherical harmonic transform on modern architectures. In Proceedings of the SIAM Conference on Parallel Processing for Scientific Computing. SIAM, Philadelphia, PA.
[7]
Dongarra, J. 2007. Performance of various computers using standard linear equations software. Tech. Rep. CS - 89, University of Tennessee, Knoxville, TN.
[8]
Drake, J., Jones, P., and Carr, G. 2005. Overview of the software design and parallel algorithms of the CCSM. Int. J. High Perf. Comput. Appl. 19, 3, 177--186.
[9]
Driscoll, J. and Healy, Jr., D. 1989. Computing Fourier transforms and convolutions on the 2-sphere. In Proceedings of the 30th IEEE Symposium on Foundations of Computer Science. IEEE, Los Alamitos, CA, 344--349.
[10]
Foster, I. and Worley, P. 1997. Parallel algorithms for the spectral transform method. SIAM J. Sci. Stat. Comput. 18, 3, 806--837.
[11]
Healy, Jr., D., Rockmore, D., Kostelec, P., and Moore, S. 2003. An FFT for the 2-sphere: improvements and variations. J. Fourier Anal. Appl. 9, 4, 341--385.
[12]
Holmes, J., Wang, Z., Drake, J., Lyon, B., and Chen, W.-T. 1996. A fast multipole transformation for global climate calculations. Tech. Rep. ORNL TM-13135, Oak Ridge National Laboratory.
[13]
Inda, M., Bisseling, R., and Maslen, D. 2001. On the efficient parallel computation of Legendre transforms. SIAM J. Sci. Comput. 23, 1, 271--303.
[14]
Kelbert, A. 2007. Shtools - spherical harmonics toolbox. Download from Matlab Central File Exchange. available at http://www.mathworks.com/matlabcentral/fileexchange.
[15]
Layton, A. T. and Spotz, W. F. 2002. A semi-Lagrangian double Fourier method for the shallow water equations on the sphere. J. Comp. Phys. 189, 1, 180--196.
[16]
Mohlenkamp, M. 1999. A fast transform for spherical harmonics. J. Fourier Anal. Appl. 5(2/3), 159--184.
[17]
Rokhlin, V. and Tygert, M. 2006. Fast algorithms for spherical harmonic expansions. SIAM J. Sci. Stat. Comput. 27, 6, 1903--1928.
[18]
Shingu, S., Takahara, H., Fuchigami, H., Yamada, M., Tsuda, Y., Ohfuchi, W., Sasaki, Y., Kobayashi, K., Hagiwara, T., Habata, S., Yokokawa, M., Itoh, H., and Otsuka, K. 2002. A 26.58 terflop global atmospheric simulation with the spectral transform method on the Earth Simulator. In Proceedings of the 2002 ACM/IEEE Supercomputing Conference. ACM/IEEE, Baltimore, Maryland, 1--19.
[19]
Simons, F. J., Dahlen, F., and Wieczorek, M. 2006. Spatiospectral localization on a sphere. SIAM Rev. 48, 2, 504--536.
[20]
Spotz, W. F. and Swarztrauber, P. 2001. A performance comparison of associated Legendre projections. J. Comp. Phys. 168, 339--355.
[21]
Spotz, W. F., Taylor, M. A., and Swarztrauber, P. 1998. Fast shallow-water equation solvers in latitude-longitude coordinates. J. Comp. Phys. 145, 432--444.
[22]
Suda, R. and Takami, M. 2002. A fast spherical harmonic transform algorithm. Math. Comp. 7, 703--715.
[23]
Swarztrauber, P. N. and Spotz, W. F. 2000. Generalized discrete spherical harmonic transforms. J. Comp. Phys. 145, 213--230.
[24]
Temperton, C. 1983. Fast mixed-radix real Fourier transform. J. Comp. Phys. 52, 340--350.
[25]
Trefethen, L. N. 2000. Spectral Methods in MATLAB. SIAM Books, Philadelphia, PA.
[26]
Wieczorek, M. 2007. Shtools: Tools for working with spherical harmonics. http://www.ipgp.jussieu.fr/~wieczor/SHTOOLS. available at http://www.ipgp.jussieu.fr/~wieczor/SHTOOLS.
[27]
Worley, P. H. and Drake, J. 2005. Software design for performance portability in the Community Atmosphere Model. Int. J. High Perf. Comput. Appl. 19, 3, 187--201.
[28]
Yarvin, N. and Rokhlin, V. 1998. A generalized one-dimensional fast multipole method with applications to filtering of spherical harmonics. J. Comp. Phys. 159, 2, 594--609.

Cited By

View all
  • (2022)Gaussian Process for Radiance Functions on the SphereComputer Graphics Forum10.1111/cgf.1450141:6(67-81)Online publication date: 5-Apr-2022
  • (2022)A direct sampling method for simultaneously recovering electromagnetic inhomogeneous inclusions of different natureJournal of Computational Physics10.1016/j.jcp.2022.111584(111584)Online publication date: Sep-2022
  • (2021)Analysis of Gegenbauer kernel filtration on the hypersphereInternational Journal of ADVANCED AND APPLIED SCIENCES10.21833/ijaas.2021.11.0018:11(1-9)Online publication date: Nov-2021
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Mathematical Software
ACM Transactions on Mathematical Software  Volume 35, Issue 3
October 2008
164 pages
ISSN:0098-3500
EISSN:1557-7295
DOI:10.1145/1391989
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 October 2008
Accepted: 01 April 2008
Revised: 01 December 2007
Received: 01 October 2006
Published in TOMS Volume 35, Issue 3

Permissions

Request permissions for this article.

Check for updates

Badges

Author Tags

  1. Spectral transform methods
  2. fluid dynamics
  3. geophysical flow
  4. high performance computing
  5. spherical

Qualifiers

  • Research-article
  • Research
  • Refereed

Funding Sources

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)14
  • Downloads (Last 6 weeks)0
Reflects downloads up to 05 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2022)Gaussian Process for Radiance Functions on the SphereComputer Graphics Forum10.1111/cgf.1450141:6(67-81)Online publication date: 5-Apr-2022
  • (2022)A direct sampling method for simultaneously recovering electromagnetic inhomogeneous inclusions of different natureJournal of Computational Physics10.1016/j.jcp.2022.111584(111584)Online publication date: Sep-2022
  • (2021)Analysis of Gegenbauer kernel filtration on the hypersphereInternational Journal of ADVANCED AND APPLIED SCIENCES10.21833/ijaas.2021.11.0018:11(1-9)Online publication date: Nov-2021
  • (2021)Algorithm 1018: FaVeST—Fast Vector Spherical Harmonic TransformsACM Transactions on Mathematical Software10.1145/345847047:4(1-24)Online publication date: 28-Sep-2021
  • (2018)Stability of barotropic vortex strip on a rotating sphereProceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences10.1098/rspa.2017.0883474:2210(20170883)Online publication date: 28-Feb-2018
  • (2015)Computational Software: Simple FMM Libraries for Electrostatics, Slow Viscous Flow, and Frequency-Domain Wave PropagationCommunications in Computational Physics10.4208/cicp.150215.260615sw18:2(516-528)Online publication date: 30-Jul-2015
  • (2014)A free and open source finite-difference simulation tool for solar modules2014 IEEE 40th Photovoltaic Specialist Conference (PVSC)10.1109/PVSC.2014.6925173(1370-1375)Online publication date: Jun-2014
  • (2014)A 3-D Fast Transform-based preconditioner for large-scale power grid analysis on massively parallel architecturesFifteenth International Symposium on Quality Electronic Design10.1109/ISQED.2014.6783398(723-730)Online publication date: Mar-2014
  • (2014)Novel insights into the impact of graph structure on SLAM2014 IEEE/RSJ International Conference on Intelligent Robots and Systems10.1109/IROS.2014.6942932(2707-2714)Online publication date: Sep-2014
  • (2014)Integrating Bayesian Classifier into Random Walk optimizer for interactive image segmentation on mobile phones2014 IEEE International Conference on Multimedia and Expo Workshops (ICMEW)10.1109/ICMEW.2014.6890530(1-6)Online publication date: Jul-2014
  • Show More Cited By

View Options

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media