期刊文献+

基于Fortran95的SIMPLE程序设计 被引量:2

SIMPLE programming based on Fortran95
下载PDF
导出
摘要 提出了基于Fortran95新特性改写SIMPLE算法的主要方法与内容。其中主要包括Fortran95中MODULE模块封装数据的功能的运用;删除了所有功能强大但易破坏程序结构的GOTO语句;一些比较符合结构化编程的新的语句块的运用;Fortran95中增强了的数组功能在待求数组赋初值、设定边界条件等方面的运用等。并通过实例进行了新旧两种编程方法的对比。结果表明基于新语法的程序具有比原有程序更易维护、可读性好的特点。 The process of reprogramming SIMPLE program is described in detail based on new trait of Fortran95, which involves main program, user subroutine and other subroutines. The main contents of reprogramming include encapsulating data by using Module sentence of Fortran95, deleting all GOTO sentences which are powerful but destructive, exerting some new sentence blocks that accord well with structured programming, and using fortified array functions in boundary condition setting and other facets. By comparison between the new program and the old one through an example, it is found that the new source code is faster and more maintainable and readable.
出处 《山东建筑工程学院学报》 2006年第2期159-164,共6页 Journal of Shandong Institute of Architecture and Engineering
关键词 SIMPLE算法 Fortran95/90 程序设计 数值传热学 SIMPLE Fortran95/90 programming numerical heat transfer
  • 相关文献

参考文献2

  • 1Patankar S V.Numerical heat transfer and fluid flow[M].New York:Hemisphere Publishing Corporation,1980.
  • 2谭浩强.Fortran语言[M].北京:清华大学出版社,1990.

共引文献5

同被引文献7

引证文献2

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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