Reliable computation of a multiple integral involved in the neutron star theory

https://doi.org/10.1016/j.matcom.2005.11.014Get rights and content

Abstract

The following multiple integral is involved in the neutron star theory:τ(ε,v)=1ω(ε)0π/2dθsin(θ)0dnn20dph(n,p,θ,ε,v)whereh(n,p,θ,ε,v)=ψ(z)ϕ(nεz)+ψ(z)ϕ(nε+z)ψ(z)ϕ(n+εz)ψ(z)ϕ(n+ε+z)andz=p2+(vsin(θ))2,ψ(x)=1expx+1,ϕ(x)=xexpx1.ω(ε) is a normalization function.

The aim is to get a table for τ(ε,v) for some values of (ε,v) in [104,104]×[104,103] and then to interpolate for the others. We present a new strategy, using the Gauss–Legendre quadrature formula, which allows to have one code available whatever the values of v and ε are. We guarantee the accuracy of the final result including both the truncation error and the round-off error using Discrete Stochastic Arithmetic.

Introduction

This paper describes how to dynamically control the computation of a multiple improper integral. This integral, which is involved in the neutron star theory, has been established by Villain and Haensel [23], [24]. First we briefly present in which physical context this integral arises.

For any isolated star, the final stages of life depend mostly on its initial mass. The current idea is that massive stars end up within the collapse of their sterile iron core. This collapse is followed by a final explosion which ejects all the matter, except a central residue. Depending on the details of the scenario, this residue is a neutron star (NS) or a black hole. As the global electric charge of a NS has to be zero, there are as many electrons as protons inside. Due to the high density of a NS, most of these electrons interact with protons to give neutrons. Thus, NS are mainly done of neutrons with a typical proportion of protons smaller than 10%. With time, equilibrium between protons and neutrons, called beta equilibrium, takes place. Time to reach beta equilibrium is obtained by calculating high order integrals involving several variables for any particle appearing in the reactions. These variables are roughly the direction of their motion, their velocity and their energy. Moreover, NS involve a lot of physical phenomena that will make this calculation more complicate. For instance, at such densities, nucleons may be super-fluid. The main effect of super-fluidity in these calculations is that it excludes some values of the possible energy of nucleons, and sometimes only for some directions. There is then a gap in the spectrum of energy and a possible breaking of symmetries; the integrals involved become much more difficult to calculate and numerical calculation is unavoidable. Super-fluidity has been taken into account to establish the integral studied in this paper. It is a three-dimensional improper integral which depends on two parameters: the amplitude of the gap and another variable describing how far the matter is from beta equilibrium.

There are other fields in physics where the computation of an integral is essential. For instance, in 1981, Harrison [9] evaluated by numerical integration an improper integral arising in a study of the total electronic energy of crystals using the tight-binding approximation. The evaluation of this integral was also a problem posed in [15]. More recently, Benkaci and Maugin [1] presented a study of piezo-ceramic materials, where integrals were computed using a Gaussian quadrature method. Verified quadrature methods have been used for integrals involved in some physical problems, such as the determination of Newton’s constant of gravitation [10], [13] or the evaluation of the transport coefficients of polar gases [17].

This paper is dedicated to the computation of the following integral:τ(ε,v)=1ω(ε)0π/2dθsin(θ)0dnn20dph(n,p,θ,ε,v),where(ε,v)[104,104]×[104,103]h(n,p,θ,ε,v)=ψ(z)ϕ(nεz)+ψ(z)ϕ(nε+z)ψ(z)ϕ(n+εz)ψ(z)ϕ(n+ε+z)withz=p2+(vsin(θ))2,ψ(x)=1expx+1,ϕ(x)=xexpx1andω(ε)=17π460ε1+10ε217π2+ε417π4.ω is a normalization function, which has been defined such that τ(ε,0)=1. Our aim is to get a table for τ(ε,v) for some values of (ε,v) and to interpolate for the others, in order to determine the surface τ(ε,v). We present in this paper how to compute a guaranteed value of the integral τ(ε,v).

This paper is organized as follows. In Section 2, we present the expression of the improper integral to compute and the numerical problems which must be taken into account. As this multiple integral can be expressed as several one-dimensional integrals, it can be computed using a quadrature method. In Section 3, we show how the Gauss–Legendre method can be dynamically controlled. In Section 4, we briefly review methods and concepts which enable one to estimate round-off error propagation with a probabilistic approach. In Section 5, we describe a strategy to dynamically control the computation of the integral presented in Section 2. Furthermore, we show that we can determine in the result obtained the significant digits common with the exact value of the integral. The last section presents numerical experiments carried out using the strategy described in Section 5.

Section snippets

Numerical problems

Several numerical problems may occur in the computation of τ(ε,v). They are listed below.

  • As the integral has two infinite bounds, it must be approximated by an integral on a finite domain. Therefore, each infinite bound must be replaced by a finite one, with a sufficiently high value. It may be a problem to choose an optimal value for these bounds.

  • The computation of ϕ(x)=x/(expx1) may generate cancellations if x vanishes to 0. However, a series expansion of ϕ can be used.Indeedϕ(x)11+(x/2)+

Dynamical control of the Gauss–Legendre method

In this section, we present a strategy for the computation of an integral with the Gauss–Legendre method. This strategy is based on the partition of the integration interval into q sub-intervals. The integral on each sub-interval is computed with the usual Gauss–Legendre method. The approximation Iq of the integral is the sum of the q results obtained.

We show that, from the significant digits common to two approximations Iq and Iq+s, we can determine the significant digits common to Iq and the

Continuous and discrete stochastic arithmetics

We briefly recall in this section the basis of the discrete and continuous stochastic arithmetics for a better understanding.

The CESTAC (Contrôle et Estimation Stochastique des Arrondis de Calculs) method, which has been developed by La Porte and Vignes [18], [20], [21], enables one to estimate the number of exact significant digits of any computed result. This method is based on a probabilistic approach of round-off errors using a random rounding mode defined below.

Definition 7

Each number xR, which is

Dynamical control of converging sequences computation

When an approximation method consists in computing a converging sequence, it may be a problem to choose the iterate which minimizes the global error, consisting of both the truncation error and the round-off error. We present here a dynamical strategy for the computation of converging sequences, which allows to determine automatically during the execution the optimal iterate. Furthermore, one can estimate the significant digits of the approximation obtained which are in common with the exact

Numerical results

The integral τ(ε,v) has been approximated using the strategy described in 5.3 for 5752 points (ε,v) defined by:ε=10awitha=4.0,3.9,3.8,,4.0v=10bwithb=4.0,3.9,3.8,,3.0.The improper integrals f(ε,v,θ)=0n2g(ε,v,θ,n)dn and g(ε,v,θ,n)=0h(ε,v,θ,n,p)dp have been computed on intervals [λi,λi+1], the sequence (λi) being defined by:λi=10i(i=0,,20)λi=50i800(i=21,,36)λi=250i8000(i=37,,52)λi=1250i60000(i53).Each integral has been approximated using the Gauss–Legendre method with 12 points

Conclusion and perspectives

The three-dimensional improper integral τ(ε,v) has been approximated by computing several one-dimensional integrals using the Gauss–Legendre method. The numerical problems posed by this approximation have been overcome thanks to the use of several sequences combined with the dynamical control of the computation using DSA. The optimal iterate, i.e. the iterate for which the global error is minimal, has been computed for each sequence involved in the approximation of τ(ε,v). From the theoretical

Acknowledgement

The authors wish to thank Loïc Villain for his helpful advice concerning the physical context of this study.

References (24)

  • W. Harrison

    Total energies in the tight-binding theory

    Phys. Rev.

    (1981)
  • O. Holzmann et al.

    Newton’s constant of gravitation and verified numerical quadrature

    Reliab. Comput.

    (1996)
  • Cited by (10)

    • Auto-tuning for floating-point precision with Discrete Stochastic Arithmetic

      2019, Journal of Computational Science
      Citation Excerpt :

      The CADNA2 software [12,15–17] is a library which implements DSA in any code written in C, C++ or Fortran. It has been successfully used for the numerical validation of academic and industrial simulation codes in various domains such as astrophysics [18], atomic physics [19], chemistry, climate science [20,21], fluid dynamics, geophysics [22]. CADNA allows one to use new numerical types: the stochastic types.

    • A dynamical strategy for approximation methods

      2006, Comptes Rendus - Mecanique
    • Improving CADNA performance on GPUs

      2018, Proceedings - 2018 IEEE 32nd International Parallel and Distributed Processing Symposium Workshops, IPDPSW 2018
    View all citing articles on Scopus
    View full text