The difficulties encountered while resolving the programming models of object-oriented and procedure-oriented languages are discussed. As a concrete example, the integration of Emerald—an object-oriented, distributed...
详细信息
The difficulties encountered while resolving the programming models of object-oriented and procedure-oriented languages are discussed. As a concrete example, the integration of Emerald—an object-oriented, distributed programminglanguage—into the MLP system for mixed-language programming is described. This integration allows Emerald objects to invoke procedures written in other supported languages, and allows procedures written in the other languages to invoke operations on Emerald objects. Two different aspects of this integration are highlighted. First, the issues involved in bridging the distance between the programming model supported by Emerald and the programming model supported by MLP are discussed; specific problems include reconciling the object-oriented nature of Emerald with the procedure-oriented model of MLP, and accommodating Emerald's concurrency within the previously sequential MLP system. Second, the implementation of this design is described.
The mixed-language programming is using two kinds of programminglanguage or more to develop application. During the process of handling many engineering problems, the complex computation is often needed. So the metho...
详细信息
ISBN:
(纸本)9783037850398
The mixed-language programming is using two kinds of programminglanguage or more to develop application. During the process of handling many engineering problems, the complex computation is often needed. So the method of mixed-language programming is often used in developing project software. MATLAB is high-performance numerical computation software, and VC++ is a considerably mature application development platform. They are often use in mix programming. During the process of VC++ and MATLAB mixed-language programming, when it calls algorithm function written in MATLAB in the VC++ environment, sometimes the parameters could not be easily passed to objective function. In this paper, a method resolving the parameters transfer of objective function is proposed. That is in the declaration of algorithm function canceling the objective function as one of its parameters, and adding the parameters of the objective function to the parameter of the algorithm function. Finally, a case of parallelism error evaluation system is given to illustrate feasibility of proposed method.
Combining graphical user interface in Visual Basic (VB) and numerical computing capability in FORTRAN, the hydro-meteorological model of the plain river network region was developed. This paper discussed some key prob...
详细信息
ISBN:
(纸本)9783037855744
Combining graphical user interface in Visual Basic (VB) and numerical computing capability in FORTRAN, the hydro-meteorological model of the plain river network region was developed. This paper discussed some key problems, such as calling FORTRAN DLL from VB, FORTRAN compiling executable file called by VB, and the visualization platform development with VB and FORTRAN. It solved the problems of data processing, data transmission, and calling hydrological model. mixed-language programming technique is a very effective and useful way of building visualization platform.
This paper describes the concept of an Iconic Kernel System which provides a general software toolbox allowing image processing algorithms to be implemented independently of computer hardware and operating systems. Fo...
详细信息
This paper describes the concept of an Iconic Kernel System which provides a general software toolbox allowing image processing algorithms to be implemented independently of computer hardware and operating systems. Following a strict object-oriented design philosophy, it contains a basic set of data structures and operations from which the application-specific software environments can be built. Special attention has been paid to the incorporation of non-object-oriented software into object-oriented environments and to the integration of communication objects for the integration of distributed system components and user interface systems. The concept has been implemented in a DEC-VAX/VMS environment as a working prototype using several programminglanguages.
The mixed-language programming (MLP) System is a simple system that facilitates construction of sequential programs in which procedures can be written in different programminglanguages to exploit heterogeneity in lan...
详细信息
The mixed-language programming (MLP) System is a simple system that facilitates construction of sequential programs in which procedures can be written in different programminglanguages to exploit heterogeneity in language functionality. In addition, MLP provides a simple remote procedure call (RPC) facility that allows heterogeneity in machine functionality to be exploited. To minimize implementation cost, the system does not solve all of the problems related to mixed-language programming; rather, MLP is designed to handle common situations well. Among the unique aspects of MLP are its advanced facilities, which allow complex situations to be handled with user intervention; for example, these facilities allow arguments of a type not defined by a language to be used by procedures written in that language. This paper overviews the use of MLP and describes its implementation. In addition, two programs that have been written using the MLP system—a small database system and a collection of plot routines—are discussed. The system executes on a collection of Vaxes and Suns running Berkeley UNIX. Currently supported languages are C, Pascal and Icon.
作者:
Jansson, PEMoon, DSRoyal Inst Technol
Div Land & Water Resources Dept Civil & Environm Engn S-10044 Stockholm Sweden IESE
Fraunhofer Inst Expt Software Engn D-67661 Kaiserslautern Germany
The challenge of our software development is to introduce user-friendly document-orientation and graphical features that are typical in Windows software and to retain the possibility of easily extending existing legac...
详细信息
The challenge of our software development is to introduce user-friendly document-orientation and graphical features that are typical in Windows software and to retain the possibility of easily extending existing legacy Fortran code. Keys to this development were the use of five development tools and our special management of shared memory. Numerical development of the code was thus continued in Fortran while the newly introduced multiple-document interface allows the new graphical features that are considered more user friendly (e.g. tool bar, status bar, animation, etc.) can be further refined and adjusted using Visual C++6.0 and the MS Visual Studio. Object orientation makes it possible to include modules with different type of dependencies that restrict the user interface to the specific use of the model. A large number of sub-models are combined and all input/output data have been adapted to an object-oriented standard. Multiple-run features and built-in links to a common database are new important features. (C) 2001 Elsevier Science Ltd. All rights reserved.
The amalgamation of machine learning algorithms (ML) with computational fluid dynamics (CFD) represents a promising frontier for the advancement of fluid dynamics research. However, the practical integration of CFD wi...
详细信息
The amalgamation of machine learning algorithms (ML) with computational fluid dynamics (CFD) represents a promising frontier for the advancement of fluid dynamics research. However, the practical integration of CFD with ML algorithms frequently faces challenges related to data transfer and computational efficiency. While CFD programs are conventionally scripted in Fortran or C/C++, the prevalence of Python in the machine learning domain complicates their seamless integration. To tackle these obstacles, this paper proposes a comprehensive solution. Our devised framework primarily leverages Python modules CFFI and dynamic linking library technology to seamlessly integrate ML algorithms with CFD programs, facilitating efficient data interchange between them. Distinguished by its simplicity, efficiency, flexibility, and scalability, our framework is adaptable across various CFD programs, scalable to multi-node parallelism, and compatible with heterogeneous computing systems. In this paper, we showcase a spectrum of CFD+ML algorithms based on this framework, including stability analysis of ML Reynolds stress models, bidirectional coupling between ML turbulence models and CFD programs, and online dimension reduction optimization techniques tailored for resolving unstable steady flow solutions. In addition, our framework has been successfully tested on supercomputer clusters, demonstrating its compatibility with distributed computing architectures and its ability to leverage heterogeneous computing resources for efficient computational tasks.
Based on the features of non-pole structures, the advance of computer-aided design of the non-pole structures is analyzed and summarized, and compute-aided design system which is applicable to non-pole structures is r...
详细信息
Based on the features of non-pole structures, the advance of computer-aided design of the non-pole structures is analyzed and summarized, and compute-aided design system which is applicable to non-pole structures is researched. The system takes Windows as an operating platform, and uses Visual Basic language to finish the interface design. In the part of structure analysis, the VB programming is developed to call the APDL program in ANSYS to finish the structure computing. In the post-process part, the Visual Lisp language is used to develop AutoCAD, and 2-D and 3-D reinforcement drawing will be obtained. Using the system which is developed in this paper, the operator merely input some simple primary data, through some essential steps of operation, and then the construction drawing is directly produced. The example concludes that this system reduced the period of designing non-pole structures and the result meets the requirements of the effective and civil engineering. The system can improve the quality and the efficiency of design.
暂无评论