[go: up one dir, main page]

Menu

Tree [r39] / c_src /
 History

HTTPS access


File Date Author Commit
 test 2008-03-25 fzotter [r2] autotools and new tests (not in use yet).
 AUTHORS 2008-03-25 fzotter [r2] autotools and new tests (not in use yet).
 COPYING 2008-03-25 fzotter [r2] autotools and new tests (not in use yet).
 ChangeLog 2008-03-25 fzotter [r2] autotools and new tests (not in use yet).
 INSTALL 2008-03-25 fzotter [r2] autotools and new tests (not in use yet).
 LICENSE 2008-03-25 fzotter [r2] autotools and new tests (not in use yet).
 Makefile.am 2008-03-25 fzotter [r2] autotools and new tests (not in use yet).
 NEWS 2008-03-25 fzotter [r2] autotools and new tests (not in use yet).
 README 2008-03-25 fzotter [r2] autotools and new tests (not in use yet).
 chebyshev12.c 2009-01-11 fzotter [r34] forgot to add chebyshev recurrence
 chebyshev12.h 2009-01-11 fzotter [r34] forgot to add chebyshev recurrence
 configure.ac 2008-03-25 fzotter [r2] autotools and new tests (not in use yet).
 legendre_a.c 2009-01-11 fzotter [r33] created recurrences for numerical values instea...
 legendre_a.h 2009-01-11 fzotter [r33] created recurrences for numerical values instea...
 legendre_a_old.c 2009-01-11 fzotter [r33] created recurrences for numerical values instea...
 legendre_a_old.h 2009-01-11 fzotter [r33] created recurrences for numerical values instea...
 sh.c 2009-01-11 fzotter [r33] created recurrences for numerical values instea...
 sh.h 2009-01-11 fzotter [r33] created recurrences for numerical values instea...
 sh_normalization.c 2009-01-11 fzotter [r33] created recurrences for numerical values instea...
 sh_normalization.h 2009-01-11 fzotter [r33] created recurrences for numerical values instea...
 sh_normalization_old.c 2009-01-11 fzotter [r33] created recurrences for numerical values instea...
 sh_normalization_old.h 2009-01-11 fzotter [r33] created recurrences for numerical values instea...
 sh_old.c 2009-01-11 fzotter [r33] created recurrences for numerical values instea...
 sh_old.h 2009-01-11 fzotter [r33] created recurrences for numerical values instea...
 sph_radial.c 2008-03-25 fzotter [r2] autotools and new tests (not in use yet).
 sph_radial.h 2008-03-25 fzotter [r2] autotools and new tests (not in use yet).

Read Me

This directory contains the "sphbase" library C-files implementing the Legendre-polynomials, spherical harmonics, normalization constants, spherical Hankel and Bessel functions. The rotation/translation operations are currently not implemented and will be added soon.

The C-code is published under the Gnu General Public License.

To make the c-sources, use:

<sphbase-path>/c_src$ make 

You will get some test routines (legendre_a, sh_normalization, sh) and the library file (sh.o).

To test the functions, use e.g.
./legendre_a 3
./sh_normalization 3
./sh 3 1 0.5 0.5

The radial functions are currently not part of the Makefile. The near-field approximation for the spherical Bessel function hasn't been added yet.

Franz Zotter, 2008.