...
首页> 外文期刊>Geoscientific Model Development Discussions >Efficient approximation of the incomplete gamma function for use in cloud model applications
【24h】

Efficient approximation of the incomplete gamma function for use in cloud model applications

机译:用于云模型应用程序的不完全伽马函数的有效近似

获取原文
           

摘要

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 equidistant lookup tables.
机译:本文介绍了通过非线性曲线拟合获得的较低的不完全伽马函数γ l (a,x)的近似值。它包含固定数量的项,并且产生中等精度(在0.9≤a≤45和x≥0的范围内,相应的归一化不完全伽马函数P的绝对逼近误差小于0.02)。保留了原始不完整伽玛函数的单调性和渐近行为。与基于可变数量项的级数或连续分数展开的既定且更准确的方法相比,虽然在标量机上提供了轻微到中等的性能提升(取决于后续功能评估是否保持相同),但是与这些更精确的方法相比,其优点是在矢量CPU上的适用性。在这里,固定数量的术语可以实现正确有效的矢量化。固定数量的项可能在大型并行机上也可能会有所帮助,以避免负载不平衡,这是由串联扩展中可能会存在很大差异的项数达到不同网格点处的收敛所引起的。对于许多云微物理应用程序,所提供的中等准确性应该足够。但是,在标量机器上,并且如果a对于后续函数评估而言是相同的,则评估不完整伽马函数的最有效方法可能是对预先计算的等距查找表进行插值。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号