首页> 外文期刊>Concurrency and Computation >High-performance Java codes for computational fluid dynamics
【24h】

High-performance Java codes for computational fluid dynamics

机译:用于计算流体动力学的高性能Java代码

获取原文
获取原文并翻译 | 示例

摘要

The computational science community is reluctant to write large-scale computationally-intensive applications in Java due to concerns over Java's poor performance, despite the claimed software engineering advantages of its object-oriented features. Naive Java implementations of numerical algorithms can perform poorly compared to corresponding Fortran or C implementations. To achieve high performance, Java applications must be designed with good performance as a primary goal. This paper presents the object-oriented design and implementation of two real-world applications from the field of computational fluid dynamics (CFD): a finite-volume fluid flow solver (LAURA, from NASA Langley Research Center) and an unstructured mesh adaptation algorithm (2D_TAG, from NASA Ames Research Center). This work builds on our previous experience with the design of high-performance numerical libraries in Java. We examine the performance of the applications using the currently available Java infrastructure and show that the Java version of the flow solver LAURA performs almost within a factor of 2 of the original procedural version. Our Java version of the mesh adaptation algorithm 2D_TAG performs within a factor of 1.5 of its original procedural version on certain platforms. Our results demonstrate that object-oriented software design principles are not necessarily inimical to high performance.
机译:尽管担心Java的性能不佳,但由于其面向对象功能的软件工程优势,计算科学界仍然不愿意用Java编写大规模的计算密集型应用程序。与相应的Fortran或C实现相比,数字算法的朴素Java实现可能性能较差。为了实现高性能,必须将具有良好性能的Java应用程序设计为主要目标。本文介绍了来自计算流体动力学(CFD)领域的两个实际应用的面向对象设计和实现:有限体积流体流动求解器(来自NASA Langley研究中心的LAURA)和非结构化网格自适应算法( 2D_TAG,来自NASA艾姆斯研究中心)。这项工作建立在我们先前在Java中设计高性能数值库的经验的基础上。我们使用当前可用的Java基础结构检查了应用程序的性能,并显示流求解器LAURA的Java版本执行的性能几乎是原始过程版本的2倍。我们的Java版本的网格自适应算法2D_TAG在某些平台上的性能是其原始过程版本的1.5倍。我们的结果表明,面向对象的软件设计原则不一定会损害高性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号