摘要
本文通过与FORTRAN 77语言的比较,说明利用C语言开发有限元程序的可行性。结果表明,C语言不但完全可以实现FORTRAN 77的语法功能,拥有更强大的实用编程环境,同时由于提供指针变量、动态内存分配函数和结构变量,使其编写的软件在维护性、可读性和内存利用效率方面具有明显的优势。文章最后还将C语言与最近出现的FORTRAN 90作了简单比较。
Comparing with FORTRAN 77, this paper reviews the suitability using C language in finite element software development.The result indicates that C language not only completely achieves the all functions of FORTRAN 77, but also can provide more powerful practical programming environment, and using pointers,dynamic memory allocation functions and structured data types,the FE program of C is far superior to that of FORTRAN in maintainability,readability and memory availability.Last, the comparison between C and FORTRAN 90 is simply discussed.
出处
《计算机应用与软件》
CSCD
2000年第5期20-25,共6页
Computer Applications and Software