摘要
从FORTRAN、C#语言和OpenGL图形库各自的特点出发,提出了将三种技术通过动态链接库DLL(Dynamic Link Library)技术混合在一起,实现对传统土木工程计算程序的交互式界面化改造。并通过改造现有的GSAP(中南大学郭向荣教授开发的桥梁结构分析专用程序)计算程序FORTRAN源代码的实例阐述了这种开发方法的过程。实例证明,利用这种混合编程的技术可以充分发挥各种语言或标准的优势,使得现有的经典FORTRAN计算程序源码可以焕发出新的活力,既可以减轻土木工程计算程序的开发的工作量,又能够大大提高土木工程专业软件开发的效率。
Considering the characteristics of FORTRAN, C# language and OpenGL graphic library individually, this paper brings forward the concepts and methods of how to combining FORTRAN,C# and OpenGL together in reconstructing program when developing the interactive software of calculating of civil engineering. And this method is based on the technology of DLL ( Dynamic Link Library). Through an example, in which the source code of FOR- TRAN was slightly transformed, this paper illustrates the process of the exploitation of the method. Examples prove this hybrid technology can greatly exert the advantages of all languages, and also make the classical source code of FORTRAN in existence refresh. In this way, not only the workload of the developing of the calculating program about civil engineering can be cut down, but also the efficiency of the Constructing the Software of civil engineering can be improved.
出处
《河北理工大学学报(自然科学版)》
CAS
2009年第3期124-129,共6页
Journal of Hebei Polytechnic University:Social Science Edition