首页 | 本学科首页   官方微博 | 高级检索  
     检索      

混合语言编程在船舶水动力计算中的应用
引用本文:方瑞祥,熊文海.混合语言编程在船舶水动力计算中的应用[J].中国航海,2011,34(3).
作者姓名:方瑞祥  熊文海
作者单位:青岛远洋船员职业学院,山东青岛,266071
摘    要:针对VC++具有面向对象特征和开发图形界面方面的强大功能以及FORTRAN语言在数值计算方面的优势,着重介绍了VC++和FORTRAN二种语言混合编程需要的技术要点和实现方法.对混合编程规则中的调用约定、命名约定、数据的交换与传递、多维数组的传递、DLL的调用方式以及DLL的调试进行了详细的阐述,并通过两者的混合编程实现了对船舶水动力的计算.该计算精确而便捷,对船舶操纵预报、安全评估等方面的研究有很大的应用价值.

关 键 词:船舶、舰船工程  混合编程  动态链接库  水动力  计算

Application of VC ++ and FORTRAN Mixed-Language Programming in Ship Hydrodynamics Calculation
Fang Ruixiang,Xiong Wenhai.Application of VC ++ and FORTRAN Mixed-Language Programming in Ship Hydrodynamics Calculation[J].Navigation of China,2011,34(3).
Authors:Fang Ruixiang  Xiong Wenhai
Institution:Fang Ruixiang,Xiong Wenhai(Qingdao Ocean Shipping Mariners College,Qingdao 266071,China)
Abstract:VC++ has object-oriented characteristics and powerful functions in the respect of developing graphical interfaces.On the other hand,FORTRAN Language is superior in numerical calculations.This paper focuses on the key technical points and implementation method of VC++ and FORTRAN mixed programming.The calling conventions,naming convention,data exchange and transmission,transmission of multi-dimensional array,the way of DLL and the DLL debugging etc.in the programming rules are described in detail.The mixed p...
Keywords:ship  naval engineering  mixed-language programming  Dynamic Link Library(DLL)  hydrodynamic  calculation  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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