4.7 Article

Evaluation of toroidal harmonics

Journal

COMPUTER PHYSICS COMMUNICATIONS
Volume 124, Issue 1, Pages 104-122

Publisher

ELSEVIER SCIENCE BV
DOI: 10.1016/S0010-4655(99)00428-2

Keywords

toroidal harmonics; Legendre functions; Laplace's equation; toroidal coordinates

Ask authors/readers for more resources

Three algorithms to evaluate toroidal harmonics, i.e., Legendre functions of integral order and half-odd degree of the first and second kinds for real arguments larger than one, are presented. The first algorithm (DTORH1) allows the evaluation of the set {P-n-1/2(m)(x), Q(n-1/2)(m)(x)} for fixed (integer and positive) values of m and n = 0, 1,..., N. The algorithms DTORH2 and DTORH3 extend the method used in DTORH1 to obtain the set {P-n-1/2(m)(x), Q(n-1/2)(m)(x)} for m = 0,..., M and n = 0, 1,..., N. The output of DTORH2 is equivalent to the result of the application of DTORH1 M times (m = 0, 1,..., M). However, due to the organization of the algorithm, DTORH2 is faster than DTORH1 when several orders and degrees are calculated. DTORH2 is better suited than DTORH3 when high orders and degrees are needed. On the other hand DTORH3, though more restrictive on the maximum evaluable degrees N, is even faster than DTORH2. Our tests of accuracy, show that the three codes achieve a precision of one pall in 10(12). We discuss the performance of our codes, their speed and their range of validity. The application of the algorithms to solve Laplace's and Poisson's equations in toroidal coordinates is discussed and an explicit numerical example is shown. (C) 2000 Elsevier Science B.V. All rights reserved.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.7
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available