首页 | 本学科首页   官方微博 | 高级检索  
     


Automated computation and consistency checking of physical dimensions and units in scientific programs
Authors:Grant W. Petty
Abstract: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.
Keywords:physical dimensions  units  scientific programming  Fortran 90
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号