An adaptive contour code for the numerical evaluation of the oscillatory cuspoid canonical integrals and their derivatives

N. P. Kirk, J. N.L. Connor, Catherine Hobbs

Research output: Contribution to journalArticlepeer-review

23 Citations (Scopus)

Abstract

We present a code to compute the oscillatory cuspoid canonical integrals and their first order partial derivatives. The algorithm is based on the method of Connor and Curtis [J. Phys. A 15 (1982) 1179–1190], in which the integration path along the real axis is replaced by a more convenient contour in the complex plane, rendering the oscillatory integrand more amenable to numerical quadrature. Our code is a modern implementation of this method, presented in a modular fashion as a Fortran 90 module containing the relevant subroutines. The code is robust, with the novel feature that the algorithm implements an adaptive contour procedure, choosing contours that avoid the violent oscillatory and exponential natures of the integrand and modifying its choice as necessary. In many cases, the subroutines are efficient and provide results of high accuracy. Plots and results for the Pearcey and swallowtail cuspoid integrals given in previous articles are reproduced and verified. Our subroutines significantly extend the range of application of this earlier work.
Original languageEnglish
Pages (from-to)142-165
Number of pages24
JournalComputer Physics Communications
Volume132
Issue number1-2
Early online date1 Sept 2000
DOIs
Publication statusPublished - 15 Oct 2000
Externally publishedYes

Fingerprint

Dive into the research topics of 'An adaptive contour code for the numerical evaluation of the oscillatory cuspoid canonical integrals and their derivatives'. Together they form a unique fingerprint.

Cite this