A Normalization Method of Mixed-programming with FORTRAN and C++

Chen Le
2014-01-01
Abstract:Nowadays in scientific computing,a mixed-programming technology with FORTRAN and C++ program language is adopted in many programs.While lots of mixed programs have the problems of bad readability and maintainability,so it have a bad influence on the reusability of software.According to the situation,author sum up experiences and come up with a solution how to improve the mix-programming by three step.Firstly,use a macro definition method to realize the type-map between FORTRAN and C++.Secondly,to the base-type parameter passing,propose an idea about normalization.At last,propose a solution that use a C++ use-defined type for the special type in FORTRAN.By validating the results of before the normalization and after it,mixed-programming with normalization did improve the maintainability and robustness of the code.
What problem does this paper attempt to address?