arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1207.3658cs.CEastro-ph.IM
收藏

使用Python和FORTRAN的高级设计进行编程:天体物理学研究案例

Programing Using High Level Design With Python and FORTRAN: A Study Case in Astrophysics

Eduardo dos Santos Pereira, Oswaldo D. Miranda

摘要:

在这项工作中,我们提出了一个简短的审查高层次的设计方法(HLDM),这是基于使用的非常高的水平(VHL)的编程语言为主要的,和使用的中间级(IL)的语言只为关键的处理时间。使用的语言是Python(VHL)和FORTRAN(IL)。此外,这种方法,利用面向对象编程(OOP),允许产生一个可读的,可移植的和可重用的代码。还提出了计算框架的概念,它自然地出现在OOP范式中。作为一个例子,我们提出了一个名为PYGRAWC(Python框架的引力波从宇宙起源)的框架。更重要的是,我们表明,使用HLDM与Python和FORTRAN产生了一个强大的工具来解决天体物理问题。

英文摘要:

In this work, we present a short review about the high level design methodology (HLDM), that is based on the use of very high level (VHL) programing language as main, and the use of the intermediate level (IL) language only for the critical processing time. The languages used are Python (VHL) and FORTRAN (IL). Moreover, this methodology, making use of the oriented object programing (OOP), permits to produce a readable, portable and reusable code. Also is presented the concept of computational framework, that naturally appears from the OOP paradigm. As an example, we present the framework called PYGRAWC (Python framework for Gravitational Waves from Cosmological origin). Even more, we show that the use of HLDM with Python and FORTRAN produces a powerful tool for solving astrophysical problems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑