论文部分内容阅读
为了提高电磁散射程序进行数值计算时人机交互性和可操作性,基于MS Visual Studio 2008和Intel Visual Fortran这两种编译环境用Visual C++与Fortran语言混合编程的方法编制电磁散射计算软件。该方法用Visual C++制作界面,用Fortran语言编写主运算程序,用Visual C++调用Fortran生成的动态链接库.并且使耗时较长的Fortran程序变成后台运行。工程实例表明,该软件计算效率较高,可以提高人机交互性和可操作性,同时验证混合编程在数值运算软件设计中的可行性、实用性以及有效性。
In order to improve the human-computer interaction and operability in numerical calculation of electromagnetic scattering program, electromagnetic scattering calculation software was compiled based on MS Visual Studio 2008 and Intel Visual Fortran which mixed programming with Visual C ++ and Fortran language. The method uses Visual C ++ to create the interface, write the main program in Fortran, call Fortran’s dynamic link library with Visual C ++, and make the long time-consuming Fortran program run in the background. The engineering example shows that this software has high computational efficiency, which can improve the human - computer interaction and operability. At the same time, it verifies the feasibility, practicability and effectiveness of hybrid programming in numerical computing software design.