期刊文献+

Fortran 90模拟C++主要面向对象特性 被引量:4

Fortran 90 emulating key object-oriented features of C++
下载PDF
导出
摘要 针对科学与工程计算广为使用的Fortran 90不支持面向对象编程,新推出的Fortran 2003虽支持但相应的编译器还没有开发出来的现实情况,提出利用Fortran 90的现代语言特征,来模拟C++主要面向对象特性:封装、继承和多态性,以间接实现面向对象编程.与C++的对照开发实例表明,这种模拟是成功的,从而为提高大型For-tran计算程序的重用性和可维护性提供了一种有效方法,并为应对Fortran 2003面向对象编程积累了经验. In view of the existing situation that object-oriented programming is not supported in Fortran 90, extensively used in scientific and engineering computing; and no supporting compiler of Fortran 2003 is available, it is put forward that the most important object-oriented features (encapsulation, inheritance and run-time polymorphism) of C++ can be emulated with new tools of Fortran 90, indirectly accomplishing object-oriented programming. Development of Fortran C++ examples has proved that the above emulation is workable so as to provide an effective method for improving reuse and maintenance of large-scale Fortran application and experience for future object-oriented programming in Fortran 2003.
出处 《武汉大学学报(工学版)》 CAS CSCD 北大核心 2006年第2期42-46,共5页 Engineering Journal of Wuhan University
基金 国家自然科学基金和黄河研究联合基金(50379048)资助
关键词 FORTRAN 90 C++ 科学与工程计算 面向对象编程 Fortran 90 C++ scientifie and engineering computing object-oriented programming
  • 相关文献

参考文献6

  • 1Dupee B J.Object oriented methods using Fortran 90[J].ACM Fortran Forum,1994,13(1):21-30.
  • 2Machiels L,Deville M O.Fortran 90:an entry to object oriented programming for the solution of partial differential equations[J].ACM Transactions on Mathematical Software,1997,23(1):32-49.
  • 3Decyk V K,Norton C D,Szymanski B K.How to express C++ concepts in Fortran90[J].Scientific Programming,1997(6):363-390.
  • 4Decyk V K,Norton C D,Szymanski B K.Expressing object-oriented concepts in Fortran 90[J].ACM Fortran Forum,1997,16(1):13-18.
  • 5Cary J R,Shasharina S G,Cummings J C,et al.Comparison of C++ and Fortran 90 for object-oriented scientific programming[J].Computer Physics Communications,1997,105:20-36.
  • 6Gray M G,Roberts R M.Object-based programming in Fortran 90[J].Computers in Physics,1997,11(4):355.

同被引文献22

引证文献4

二级引证文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部