Efficient approximation of the incomplete gamma function for use in cloud model applications
Author:
Open Access
- 23 July 2010
- journal article
- Published by Copernicus GmbH in Geoscientific Model Development
- Vol. 3 (2) , 329-336
Abstract
This paper describes an approximation to the lower incomplete gamma function γl(a,x) which has been obtained by nonlinear curve fitting. It comprises a fixed number of terms and yields moderate accuracy (the absolute approximation error of the corresponding normalized incomplete gamma function P is smaller than 0.02 in the range 0.9 ≤ a ≤ 45 and x≥0). Monotonicity and asymptotic behaviour of the original incomplete gamma function is preserved. While providing a slight to moderate performance gain on scalar machines (depending on whether a stays the same for subsequent function evaluations or not) compared to established and more accurate methods based on series- or continued fraction expansions with a variable number of terms, a big advantage over these more accurate methods is the applicability on vector CPUs. Here the fixed number of terms enables proper and efficient vectorization. The fixed number of terms might be also beneficial on massively parallel machines to avoid load imbalances, caused by a possibly vastly different number of terms in series expansions to reach convergence at different grid points. For many cloud microphysical applications, the provided moderate accuracy should be enough. However, on scalar machines and if a is the same for subsequent function evaluations, the most efficient method to evaluate incomplete gamma functions is perhaps interpolation of pre-computed regular lookup tables (most simple example: equidistant tables).Keywords
All Related Versions
This publication has 17 references indexed in Scilit:
- On the Parameterization of Evaporation of Raindrops as Simulated by a One-Dimensional Rainshaft ModelJournal of the Atmospheric Sciences, 2008
- The Need to Represent Raindrop Size Spectra as Normalized Gamma Distributions for the Interpretation of Polarization Radar ObservationsJournal of Applied Meteorology and Climatology, 2002
- The Concept of “Normalized” Distribution to Describe Raindrop Spectra: A Tool for Cloud Physics and Cloud Remote SensingJournal of Applied Meteorology and Climatology, 2001
- On the Numerical Simulation of Graupel/Hall Initiation via the Riming of Snow in Bulk Water Microphysical Cloud ModelsJournal of Applied Meteorology and Climatology, 1989
- Simulation of Radar Reflectivity and Surface Measurements of RainfallJournal of Atmospheric and Oceanic Technology, 1987
- Numerical Simulation of the Effects of Varying Ice Crystal Nucleation Rates and Aggregation Processes on Orographic SnowfallJournal of Climate and Applied Meteorology, 1986
- Bulk Parameterization of the Snow Field in a Cloud ModelJournal of Climate and Applied Meteorology, 1983
- Far-Infrared and Submillimeter Wave Attenuation by Clouds and RainJournal of Applied Meteorology, 1975
- Fall speeds and masses of solid precipitation particlesJournal of Geophysical Research, 1974
- A Precision Approximation of the Gamma FunctionJournal of the Society for Industrial and Applied Mathematics Series B Numerical Analysis, 1964