The Chandrasekhar function revisited
详细信息    查看全文
文摘
The need for an accurate (better than 10 significant digits) and fast algorithm for calculating the Chandrasekhar function, H(μ,ω), has stimulated the present analysis of different solutions of the relevant integral equation. It has been found that a very accurate analytical solution can be derived that is conveniently used in the range of small arguments, μ and ω. In a limited range of arguments, the H function can be expressed in terms of a rapidly converging series of Bernoulli constants. For example, the H function for μ=1 and ω=1 was readily calculated with an accuracy of 31 digits. A new algorithm, derived from an integral representation, is proposed for efficient calculations. Together with an algorithm published by Stibbs and Weir (1959), this algorithm was used in calculations of extensive tables of the H function with an accuracy of 21 significant digits. Based on the above analysis, a mixed algorithm optimized with respect to the execution time was designed.

Program summary

Program title: CHANDRAS_MIX

Catalogue identifier: AEWW_v1_0

Program summary URL:maries/AEWW_v1_0.html">http://cpc.cs.qub.ac.uk/summaries/AEWW_v1_0.html

Program obtainable from: CPC Program Library, Queen’s University, Belfast, N. Ireland

Licensing provisions: Standard CPC licence, http://cpc.cs.qub.ac.uk/licence/licence.html

No. of lines in distributed program, including test data, etc.: 1505

No. of bytes in distributed program, including test data, etc.: 14655

Distribution format: tar.gz

Programming language: FORTRAN 90.

Computer: Any.

Operating system: Windows XP, Windows 7, Windows 8, Linux.

RAM: 1.0 Mb

Classification: 2.4, 7.2.

Nature of problem:   Algorithms derived from an integral representation of the H function generally exhibit a slow convergence which may considerably delay calculations involving integration of functions containing the H function. Furthermore, a set of reference values of the H function of a very high accuracy is useful in analysis of performance of different algorithms, and thus a relevant computational procedure is needed for that purpose.

Solution method: Problem of slow convergence is circumvented by the derivation and use of an analytical solution sufficiently accurate in the range of small arguments. In the range of arguments exceeding 0.05, a new integral representation is derived that is rapidly converging and can be easily adjusted to calculations with accuracy of 21 significant digits. A mixed algorithm is constructed that is optimized with respect to the execution time.

Restrictions:   The arguments for the Chandrasekhar function, x and omega (notation used in the code), are restricted to the range: 0<=x<=1 and 0<=omega<=1.

Unusual features:   The Gauss–Legendre quadrature is used in calculations of the H function from different integral representations. The optimum number of abscissas, N, was found to be equal to 20. To control accuracy, the bipartition approach is used, i.e., calculations are repeated after halving the integration interval until the desired accuracy is reached.

Running time:   On average, about View the MathML source for both arguments of the Chandrasekhar function exceeding 0.05.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700