基于Java的粒子模拟程序及其改进  

Using Java for Particle Simulation and Its Optimization

在线阅读下载全文

作  者:陆全明[1] 蒋友毅[1] 王曙 周艳[1] 王水[1] 

机构地区:[1]中国科学技术大学地球与空间科学学院,安徽合肥230026 [2]中国网络通信有限公司珠海分公司,广东珠海519020

出  处:《计算机工程与科学》2004年第12期67-70,共4页Computer Engineering & Science

基  金:国家自然科学基金资助项目 ( 40 0 840 0 1;40 1740 41;40 2 44 0 0 6 ) ;中国科学院知识创新工程重要方向资助项目 (KZCX2 SW 1)

摘  要:本文介绍了如何用Java实现粒子模拟的面向对象的并行程序设计方法 ,并在由 1 6个Pen tiumIII 1 .6GCPU组成的微机机群上测试了其性能。同时 ,为了提高它的计算性能 ,我们还介绍了利用JNI实现Java和Fortran混合编程的方法 ,即把程序中计算量较大的部分用Fortran语言代替 ,以提高其计算性能。结果表明 。The success of Java in network computing is encouraging people to introduce it into scientific computing. In this paper we present our approach to developing an object-oriented particle simulation code in Java, and benchmark its performance on a Linux cluster consisting of 16 Pentium III 1.6G CPUs. To improve its performance, we replace the parts of the code that consume the large part of time with Fortran through JNI (Java Native Interface), and the result shows that it is an effective way for scientific computing.

关 键 词:混合编程 计算性能 JNI 并行程序设计方法 机群 CPU 科学计算 粒子模拟 计算量 测试 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论] TP393[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象