z-logo
Premium
Automated computation and consistency checking of physical dimensions and units in scientific programs
Author(s) -
Petty Grant W.
Publication year - 2001
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/spe.401
Subject(s) - computer science , fortran , programming language , compiler , consistency (knowledge bases) , dimension (graph theory) , computation , software , operator (biology) , mathematics , artificial intelligence , repressor , biochemistry , chemistry , transcription factor , pure mathematics , gene
Physical dimensions and units form an essential part of the specification of constants and variables occurring in scientific programs, yet no standard compilable programming language implements direct support for automated dimensional consistency checking and unit conversion. This paper describes a conceptual basis and prototype implementation for such support within the framework of the standard Fortran 90 language. This is accomplished via an external module supplying appropriate user data types and operator interfaces. Legacy Fortran 77 scientific software can be easily modified to compile and run as ‘dimension‐aware’ programs utilizing the proposed enhancements. Copyright © 2001 John Wiley & Sons, Ltd.

This content is not available in your region!

Continue researching here.

Having issues? You can contact us here