Object-oriented programming

Author(s):  
Michael Metcalf ◽  
John Reid ◽  
Malcolm Cohen

The object-oriented approach to programming and design is characterized by its focus on the data structures of a program rather than the procedures. Often, invoking a procedure with a data object as its principal argument is thought of as ‘sending a message’ to the object. Special language support is typically available for collecting these procedures (sometimes known as ‘methods’) together with the definition of the type of the object. This approach is supported in Fortran by type extension, polymorphic variables, type-bound procedures, abstract types, and finalization.

2015 ◽  
Vol 18 (2) ◽  
pp. 310-328 ◽  
Author(s):  
P. Gamazo ◽  
L. J. Slooten ◽  
J. Carrera ◽  
M. W. Saaltink ◽  
S. Bea ◽  
...  

Reactive transport modeling involves solving several nonlinear coupled phenomena, among them, the flow of fluid phases, the transport of chemical species and energy, and chemical reactions. There are different ways to consider this coupling that might be more or less suitable depending on the nature of the problem to be solved. In this paper we acknowledge the importance of flexibility on reactive transport codes and how object-oriented programming can facilitate this feature. We present PROOST, an object-oriented code that allows solving reactive transport problems considering different coupling approaches. The code main classes and their interactions are presented. PROOST performance is illustrated by the resolution of a multiphase reactive transport problem where geochemistry affects hydrodynamic processes.


Author(s):  
S. Akagi ◽  
K. Fujita

Abstract A knowledge-based geometric modeling system for preliminary design was developed using object-oriented approach. Three types of knowledge for design, i.e. the model representing a design product including the geometric model, the procedures manipulating the design product and the knowledge managing the design process were integrated in the system. The model built up with object-oriented programming provides an effective and flexible design environment. Finally, the system was applied to the preliminary design of a ship’s hull arrangement to ascertain its validity and effectiveness.


Author(s):  
Fumin Pan ◽  
Hongtao Zheng ◽  
Qingzhen Liu

In this paper, characteristics in all working conditions of some selected turbine are acquired based on the information of several given operating points and an improved ISO temperature is proposed to calculate expander power of some turbine. An object-oriented approach is used to code the turbine calculation program. Firstly, characteristics in the same rotational speeds with given variable operating points are calculated by Stodola-Flügel equation and PSO based neural networks are used to predict more characteristics. Then, the turbine thermodynamic process is divided into blending of gas and cooling air and gas expansion. The blending process is calculated by improved ISO temperature method which adopts PSO method to calculate the optimal value of recovery coefficient of gas pressure and efficiency coefficient of the cooling air enthalpy. Finally, the above calculation procedure of the turbine is coded by an object-oriented approach and it is approved to be of high accuracy. Such a calculation process proposed in this article meets the requirement of turbine performance calculation with cooling air.


2010 ◽  
Vol 6 (2/3) ◽  
pp. 256
Author(s):  
Juan Garcia ◽  
Diego A. Gomez Aguilar ◽  
Antonio Gonzalez ◽  
Francisco J. Garcia ◽  
Roberto Theron

Author(s):  
Timur Mironov ◽  
Lilia Motaylenko ◽  
Dmitry Andreev ◽  
Igor Antonov ◽  
Mikhail Aristov

This research proposes a way to accelerate backtesting of trading strategies using data-oriented design (DOD). The research discusses the differences between DOD and object-oriented approach (OOP), which is the most popular at the current moment. Then, the paper proposes efficient way to parallelize a backtesting using DOD. Finally, this research provides a performance comparison between DOD and OOP backtester implementations on the example of typical technical indicators. The comparison shows that use of DOD can speed up the process of quantitative features calculation up to 33% and allows for parallelization scheme that better utilizes resources in multiprocessor systems.


IEE Review ◽  
1990 ◽  
Vol 36 (9) ◽  
pp. 338
Author(s):  
Stephen Wilson

Sign in / Sign up

Export Citation Format

Share Document