Reverse engineering legacy code for finite element field computation in magnetics

T. Arudchelvam, J. Wijayakulasooriya, S. Hoole
{"title":"Reverse engineering legacy code for finite element field computation in magnetics","authors":"T. Arudchelvam, J. Wijayakulasooriya, S. Hoole","doi":"10.1109/CEFC.2010.5481490","DOIUrl":null,"url":null,"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++.","PeriodicalId":148739,"journal":{"name":"Digests of the 2010 14th Biennial IEEE Conference on Electromagnetic Field Computation","volume":"251 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-05-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Digests of the 2010 14th Biennial IEEE Conference on Electromagnetic Field Computation","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CEFC.2010.5481490","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

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++.
逆向工程遗留代码有限元场计算在磁学
自20世纪70年代以来,基于有限元的场计算代码的开发一直在以一定的速度进行,产生的代码没有经过正式的软件生命周期。因此,今天我们的遗留代码运行到数百万行,在没有计划的情况下实现,并且没有使用适当的最先进的软件设计工具。有必要重做这段代码来利用面向对象的功能,并在Java中进行修正或在web上运行。面向对象代码的主要优点是可重用性。它是描述自治代理的理想选择,这样方法中的值是私有的,除非另有规定——也就是说,封装使编程简洁,在意外情况下不易出错。软件的最新进展使得这种逆向工程/再工程代码变成面向对象的形式成为可能。在本文中,我们将几十年前用FORTRAN编写的用于用有限元法计算磁场的遗留代码逆向工程到现代语言Java和c++中。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信