five

An adaptor for C++ callbacks with C and Fortran libraries

收藏
doi.org2025-03-25 收录
下载链接:
http://doi.org/10.17632/35vyyx9jwy.1
下载链接
链接失效反馈
官方服务:
资源简介:
This program has been imported from the CPC Program Library held at Queen's University Belfast (1969-2018) Abstract Object-oriented programming using C++ is increasingly being adopted in the development of scientific codes. A recurrent issue in this regard is the interaction of newly developed codes with existing legacy libraries written in C or Fortran. Often, one needs to pass raw function pointers to such libraries’ procedures for callback purposes. This is problematic as it conflicts with one of the cornerstones of object-oriented programming: the association of functions and data through objects. Curr... Title of program: Adapt2rfp Catalogue Id: AENU_v1_0 Nature of problem Object-oriented programming using C++ is increasingly being adopted in the development of scientific codes. A recurrent issue in this regard, is the interaction of newly developed codes with existing legacy libraries written in C or Fortran. Often, one needs to pass raw function pointers to such libraries' procedures for callback purposes. This is problematic as it conflicts with one of the cornerstones of object-oriented programming, the association of functions and data through objects. Curren ... Versions of this program held in the CPC repository in Mendeley Data AENU_v1_0; Adapt2rfp; 10.1016/j.cpc.2012.10.016

本程序源于贝尔法斯特女王大学(1969-2018年)所持有的CPC程序库。摘要部分指出,面向对象编程(OOP)利用C++在科学代码开发中的应用日益广泛。在此领域,新开发代码与现有C或Fortran编写的遗留库之间的交互是一个反复出现的问题。通常,为了回调目的,需要向此类库的过程传递原始函数指针。这引发了问题,因为它与面向对象编程的一个基石——通过对象关联函数和数据——相冲突。当前...
提供机构:
doi.org
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作