Template Function in Fortran 90

碩士 === 國立臺灣科技大學 === 電子工程學系 === 84 === This thesis studies the enhancement of some object-oriented characteristics of Fortran 90. Fortran 90 does not support object-oriented features. We utilize some features of Fortran 90 , such as modules, pointer, and i...

Full description

Bibliographic Details
Main Authors: Su Chien Hsieng, 蘇建興
Other Authors: T. T. Chow
Format: Others
Language:en_US
Published: 1996
Online Access:http://ndltd.ncl.edu.tw/handle/72973870791271746476
Description
Summary:碩士 === 國立臺灣科技大學 === 電子工程學系 === 84 === This thesis studies the enhancement of some object-oriented characteristics of Fortran 90. Fortran 90 does not support object-oriented features. We utilize some features of Fortran 90 , such as modules, pointer, and interface, to implement some object-oriented characteristics. The new version of Fortran 90 is called O-O (Object-Oriented) Fortran 90. The major enhancement of O-O Fortran 90 includes classification, encapsulation, inheritance, and template function. Using O-O Fortran 90, we can insure the security of the data structure, improve the reusability of the code, and provide programmers the compactness of the macro solutions. There are two major parts of work in this research. First, we need to define the syntax of the O-O Fortran 90 program by adopting features from object-oriented programming. Second, an O-O Fortran 90 translator is then developed that converts O-O Fortran 90 code into standard Fortran 90 code.