Title :
Reverse engineering legacy code for finite element field computation in magnetics
Author :
Arudchelvam, T. ; Wijayakulasooriya, J. ; Hoole, S. Ratnajeevan H
Author_Institution :
Dept. of Eng. & Sci., Rensselaer Polytech. Inst., Hartford, CT, USA
Abstract :
The development of code for finite elements-based field computation has been going on at a pace since the 1970s, yielding code that was not put through the formal software lifecycle. As a result, today we have legacy code running into millions of lines, implemented without planning and not using proper state-of-the-art software design tools. It is necessary to redo this code to exploit object oriented facilities and make corrections or run on the web in Java. Object oriented code´s principal advantage is reusability. It is ideal for describing autonomous agents so that values inside a method are private unless otherwise so provided - that is encapsulation makes programming neat and less error-prone in unexpected situations. Recent advances in software make such reverse engineering/reengineering of this code into object oriented form possible. In this paper we reverse engineer legacy code in FORTRAN written decades ago for the computation of magnetic fields by the finite element method into the modern languages of Java and C++.
Keywords :
C++ language; FORTRAN; Java; electrical engineering computing; finite element analysis; magnetic fields; object-oriented programming; reverse engineering; software maintenance; software reusability; C++ language; FORTRAN; Java language; finite element field computation; finite element method; magnetic fields; object oriented code; reusability; reverse engineering legacy code; reverse reengineering; Autonomous agents; Finite element methods; Java; Magnetic fields; Programming; Reverse engineering; Software design; Software engineering; Software maintenance; Unified modeling language;
Conference_Titel :
Electromagnetic Field Computation (CEFC), 2010 14th Biennial IEEE Conference on
Conference_Location :
Chicago, IL
Print_ISBN :
978-1-4244-7059-4
DOI :
10.1109/CEFC.2010.5481490