工程计算平台CVF的应用接口资源扩充  被引量:1

How to Extend API in Engineering Computation Platform of CVF

在线阅读下载全文

作  者:颜国红 周振红[2] 

机构地区:[1]长江水利委员会规划计划局,武汉430010 [2]郑州大学水利与环境学院,郑州450002

出  处:《长江科学院院报》2008年第4期106-110,共5页Journal of Changjiang River Scientific Research Institute

摘  要:在CVF平台上进行水利计算工程开发,仅通过调用系统接口资源Win32 API函数还不能完全满足其功能扩展要求,如何从Fortran用户习惯出发,用VC创建由C/C++函数构成的Win32 DLL来扩充CVF的应用接口资源,就成为一个亟待解决的实际问题。对此进行较为系统的探讨,包括VC,CVF的调用约定是如何规定的,如何在二者间进行协调,如何针对Fortran 90的字符串、多维数组、派生类型设置相应的C/C++函数参数等,并通过典型示例加以说明,为VC创建供CVF调用的Win32 DLL提供了操作指南。In developing hydraulic computation applications on Compaq Visual Fortran(CVF), only to call Win32 API functions cannot meet all the needs of its functionality extension, and thus the paper arises a problem to be solved how to create Win32 DLL made up of C/C+ + functions by VC in accordance with Fortran users, in order to extend CVF API. A thorough discussion is carried out, in which how to call conventions of VC and CVF and how to coordinate between them are given, alphabet string, multi-dimension array and derived type in combination with Fortran 90 are correspondingly set up in C/C+ + functions, etc.. And at last, some and typical examples are presented. As a result, a developing guideline is provided for VC creating Win32 DLL suitable for CVF.

关 键 词:数值计算 应用接口 调用约定 混合编译 派生类型/结构体 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象