comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » spherical harmonics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: spherical harmonics [message #76537 is a reply to message #21988] Thu, 16 June 2011 10:58 Go to previous messageGo to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<15555635-f0d5-41cc-9550-65c5ca2600b3@n11g2000yqf.googlegroups.com>,
parama mukherjee <parama2all@gmail.com> wrote:

> Hi,
> I downloaded the Spherepack application but meanwhile also chanced
> upon the following code (I am posting only parts of it) in IDL that
> claims to do spherical harmonic transforms. I did not want to use a
> fortran/C code as I need to do transforms at every time step of my
> calculation and thought going to and fro between IDL and Fortran may
> not be very efficient.

Note the comment in the code snippet you provided: "Currently all
work is done in idl, but future version may want to call C or Fortran
routines for efficiency reasons."

SH transforms (like the FFTs they include) are complex. You have to
weight the benefits of having a well-tested and highly-efficient
implementation in Fortran against the difficulty of linking an
external library.

You might want to start with Ronn Kling's book on calling C and
C++ from IDL.

> The problem with the code right now is I cannot follow what
> it means by collocation points.

Collocation points are the points at which the functions are
evaluated.

See, for example

http://en.wikipedia.org/wiki/Collocation_method

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem in creating Postscript of "Transparent Histograms"
Next Topic: Re: Converting distance to degrees

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 00:01:30 PDT 2025

Total time taken to generate the page: 1.28021 seconds