Automated computation and consistency checking of physical dimensions and units in scientific programs

Authors
Citation
Gw. Petty, Automated computation and consistency checking of physical dimensions and units in scientific programs, SOFTW PR EX, 31(11), 2001, pp. 1067-1076
Citations number
2
Categorie Soggetti
Computer Science & Engineering
Journal title
SOFTWARE-PRACTICE & EXPERIENCE
ISSN journal
00380644 → ACNP
Volume
31
Issue
11
Year of publication
2001
Pages
1067 - 1076
Database
ISI
SICI code
0038-0644(200109)31:11<1067:ACACCO>2.0.ZU;2-N
Abstract
Physical dimensions and units form an essential part of the specification o f constants and variables occurring in scientific programs, yet no standard compilable programming language implements direct support for automated di mensional consistency checking and unit conversion. This paper describes a conceptual basis and prototype implementation for such support within the f ramework of the standard Fortran 90 language. This is accomplished via an e xternal module supplying appropriate user data types and operator interface s. Legacy Fortran 77 scientific software can be easily modified to compile and run as `dimension-aware' programs utilizing the proposed enhancements. Copyright (C) 2001 John Wiley & Sons, Ltd.