GNU C/C++ and FORTRAN Language Interoperability with Function Usage: Part 2

2012 ◽  
Author(s):  
Wesley Bylsma
2013 ◽  
Vol 419 ◽  
pp. 895-904
Author(s):  
X. Cao ◽  
H. Miyashita ◽  
T. Kako ◽  
Z. Zhang ◽  
B. Song

This paper reports a method of thermal analysis of expressway and the results of analysis of four expressways currently used in Japan. The authors built a mathematical model based on the principle of thermal conduction. For the boundary conditions in this mathematical model the influence of solar radiation, wind and air temperature etc. are taken into consideration. Explicit finite difference method is used in the analysis. The authors made an analysis program in Fortran language. Four main expressways distributing from the northern to the southern in Japan are chosen as the objects of this study. The observed weather data of the hottest days experienced by these expressways during the past 30 years is input into the computer calculation. The basic mechanism of expressway temperature change and effect factors are illuminated. The results are reported and discussed.


2013 ◽  
Vol 805-806 ◽  
pp. 1925-1928
Author(s):  
Yuan Hui Liao

This is the first paper using C++ to develop an interface for the newly-published Multiple-point geostatistics (Snesim) in petroleum industry. The Snesim is programmed in Fortran language and is encapsulated to DLL(dyanamic link library) , and the integration of Fortran DLL and C++ is then programmed. The hybrid programming with C++ and Fortran both utilizes the merits of the friendly interface of C++ and the powerful computation ability of Fortran. The small software by this method is developed and put into use in reservoir geostatistical modeling and got much economical effects.


2014 ◽  
Vol 684 ◽  
pp. 88-93
Author(s):  
Tian Shu Song ◽  
Ahmed Hassan

A theoretical analysis is followed to calculate the dynamic stress intensity factors (DSIFs) in transversely isotropic piezoelectric bi-materials, due to existence of a permeable interfacial crack, near the edge of a circular cavity. The model is subjected to dynamic incident anti-plane shearing (SH-wave) and the formulation based on Green's function method. Conjunction and crack-simulation techniques are applied to obtain DSIFs at the crack’s outer tip. Calculations are prepared based on FORTRAN language program. A comparison is accomplished between the present model and another model with a crack emerging from the cavity edge to calibrate the program. Calculating results showed the influences of the physical parameters, the structural geometry and the wave frequencies on the dimensionless DSIFs and how those affected the efficiency of piezoelectric devices and materials.


Author(s):  
Francesco Caratozzolo ◽  
Alberto Traverso ◽  
Aristide F. Massardo

This work presents the re-engineering of the TRANSAT 1.0 code which was developed to perform off-design and transient condition analysis of Saturators and Direct Contact Heat Exchangers. This model, now available in the 2.0 release, was originally implemented in FORTRAN language, has been updated to C language, fully coded into MATLAB/Simulink® environment and validated using the extensive set of data available from the MOSAT project, carried out by the Thermochemical Power Group of the University of Genoa. The rig consists of a fully instrumented modular vertical saturator, which is controlled and monitored with a LABVIEW® computer interface. The simulation software showed fair stability in computation and in response to step variation of the main parameters driving the thermodynamic evolution of the air and water flows. Considering the actual mass flow rates, a geometric similitude was used to avoid calculation instability due to flows under 100 g/s. Overall the model proved to be reliable and accurate enough for energy system simulations.


2012 ◽  
pp. 819-846 ◽  
Author(s):  
Pruet Boonma ◽  
Junichi Suzuki

Due to stringent constraints in memory footprint, processing efficiency and power consumption, traditional wireless sensor networks (WSNs) face two key issues: (1) a lack of interoperability with access networks and (2) a lack of flexibility to customize non-functional properties such as event filtering, data aggregation and routing. In order to address these issues, this chapter investigates interoperable publish/subscribe middleware for WSNs. The proposed middleware, called TinyDDS, enables the interoperability between WSNs and access networks by providing programming language interoperability and protocol interoperability based on the standard Data Distribution Service (DDS) specification. Moreover, TinyDDS provides a pluggable framework that allows WSN applications to have fine-grained control over application-level and middleware-level non-functional properties. Simulation and empirical evaluation results demonstrate that TinyDDS is lightweight and efficient on the TinyOS and SunSPOT platforms. The results also show that TinyDDS simplifies the development of publish/subscribe WSN applications.


Author(s):  
Hans Fehr ◽  
Fabian Kindermann

Before diving into the art of solving economic problems on a computer, we want to give a short introduction into the syntax and semantics of Fortran 90. As describing all features of the Fortran language would probably fill some hundred pages, we concentrate on the basic features that will be needed to follow the rest of this textbook. Nevertheless, there are various Fortran tutorials on the Internet that can be used as complementary literature. Fortran is pretty old; it is actually considered the first known higher programming language. Going back to a proposal made by John W. Backus, an IBM programmer, in 1953, the term Fortran is derived from The IBM Formula Translation System. Before the release of the first Fortran compiler in April 1957, people used to use assembly languages. The introduction of a higher programming language compiler tremendously reduced the number of code lines needed to write a program. Therefore, the first release of the Fortran programming language grew pretty fast in popularity. From 1957 on, several versions followed the initial Fortran version, namely FORTRAN II and FORTRAN III in 1958, and FORTRAN IV in 1961. In 1966, the American Standards Association (now known as the ANSI) approved a standardized American Standard Fortran. The programming language defined on this standard was called FORTRAN 66. Approving an updated standard in 1977, the ANSI paved the way for a new version of Fortran known as FORTRAN 77. This version became popular in computational economics during the late 80s and early 90s. More than 13 years later, the Fortran 90 standard was released by both the International Organization for Standardization (ISO) and ANSI consecutively. With Fortran 90, the fixed format standard was exchanged by a free format standard and, in addition, many new features like modules, recursive procedures, derived data types, and dynamic memory allocation made the language much more flexible. From Fortran 90 on, there has only been one major revision, in 2003, which introduced object oriented programming features into the Fortran language. However, as object-oriented programming will not be needed and Fortran 90 is by far the more popular language, we will focus on the 1990 version in this book.


Sign in / Sign up

Export Citation Format

Share Document