首页 | 官方网站   微博 | 高级检索  
     

Fortran与C#混合编程在卫星测高中的应用
引用本文:张凯华,郭金运,胡志博,谭争光. Fortran与C#混合编程在卫星测高中的应用[J]. 计算机技术与发展, 2014, 0(5): 48-52
作者姓名:张凯华  郭金运  胡志博  谭争光
作者单位:[1]山东科技大学测绘学院,山东青岛266590 [2]海岛(礁)测绘技术国家测绘地理信息局重点实验室,山东青岛266590
基金项目:基金项目:国家自然科学基金资助项目(41374009);海岛(礁)测绘技术国家测绘局重点实验室基金(2011A01);山东科技大学研究生创新基金(YCA120406)
摘    要:为了发挥Fortran易于科学计算的优点和C#在界面编写以及批量处理文件的优点,首先通过Fortran控制台程序编写相应算法的动态链接库,然后利用C#编写的界面程序调用在Fortran中生成的DLL文件,从而实现混合编程。详细阐述了两种语言混合编程的实现方法。通过利用卫星测高数据计算南海海域的垂线偏差,验证了该方法的正确性及优越性。通过混合编程,充分发挥两种计算机语言各自的优点,说明了可以利用混合编程的方法大批量自动化地处理卫星测高数据,同时该方法便于算法维护和升级。

关 键 词:C#  卫星测高  垂线偏差  C#

Application of Mixed-language Programming of Fortran and C# in Satellite Altimetry
ZHANG Kai-hua,GUO Jin-yun,HU Zhi-bo,TAN Zheng-guang. Application of Mixed-language Programming of Fortran and C# in Satellite Altimetry[J]. Computer Technology and Development, 2014, 0(5): 48-52
Authors:ZHANG Kai-hua  GUO Jin-yun  HU Zhi-bo  TAN Zheng-guang
Affiliation:1. College of Geodesy and Geomatics, Shandong University of Science and Technology, Qingdao 266590, China; 2. Key Laboratory of Surveying and Mapping Technology on Island and Reef of NASMG, Qingdao 266590, China)
Abstract:In order to play the advantage of scientific computing for Fortran and the writing interface program as well as batch processing files for C#,firstly prepare the dynamic link library of the corresponding algorithm by Fortran console program,and then use the interface program by C# to call DLL files generated by Fortran to fulfill mixed-language programming. Elaborate two mixed-language program-ming method,through the use of satellite altimetry data to compute vertical deflection in South China Sea to verify the correctness and su-periority of this method. Through mixed programming,fully play their respective advantages of the two kinds of computer languages,indi-cating that you can take advantages of mixed-language programming approach to automatically process high-volume satellite altimeter data,at the same time this method is easy to maintain and upgrade.
Keywords:Fortran  DLL  Fortran  satellite altimetry  vertical deflection  DLL
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号