The generalized Fermi-Dirac functions and their derivatives are important in evaluating the thermodynamic quantities of partially degenerate electrons in hot dense stellar plasmas. New recursion relations of the generalized Fermi-Dirac functions have been found. An effective numerical method to evaluate the derivatives of the generalized Fermi-Dirac functions up to third order with respect to both degeneracy and temperature is then proposed, following Aparicio [14]. A Fortran program based on this method, together with a sample test case, is provided. Accuracy and domain of reliability of some other, popularly used analytic approximations of the generalized Fermi-Dirac functions for extreme conditions are investigated and compared with our results.
Nature of physical problemProvide numerical method to evaluate generalized Fermi-Dirac functions and their derivatives with respect to η and β up to third order. The results are important for a highly accurate calculation of thermodynamic quantities of an electron gas with partial degeneracy and relatively high temperatures with very high order of accuracy.
Method of solutionFollowing the scheme proposed by Aparicio [14], the generalized Fermi -Dirac integration is split into four optimized regions. Gauss-Legendre quadrature is used in the first three pieces, and Gauss-Laguerre quadrature in the last part when the e −x term in the integrand dominates. Different break points are individually chosen for each η derivative.
Typical running timeLess than 1 ms for each data point on a DEC Alpha station with a 533 MHz CPU in double precision.